perf.glm: cross-validation function for glm

Description Usage Arguments

View source: R/supportFunc_glm.R

Description

Estimate test error of glm biomarker

Usage

1
2
perf.glm(object, validation = c("Mfold", "loo"), M = 5, iter = 10,
  threads = 4, progressBar = TRUE)

Arguments

object

= glmPanel object

validation

- Mfold or LOOCV

M

= # of folds

iter

= number of times to repeat cross-valiation

threads

- number of cpus (each cross-valiation scheme performed on a separate node)

progressBar

- show progressbar (TRUE/FALE)


singha53/amritr documentation built on July 21, 2019, 3:46 p.m.