Last chance! 50% off unlimited learning
Sale ends in
trainControl(
method = "boot",
number = ifelse(method == "cv", 10, 25),
verboseIter = TRUE,
returnData = TRUE,
returnResamp = "final",
p = 0.75,
summaryFunction = defaultSummary,
selectionFunction = "best",
index = NULL,
workers = 1,
computeFunction = lapply,
computeArgs = NULL)
boot
, cv
,
LOOCV
, LGOCV
(for repeated training/test splits), or
oob
(only for random forest, bagged trees, bagged earth, bagged flexible discriminant analysis,defaultSummary
.best
for details and other options.lapply
or emulates lapply
. It must have arguments X
, FUN
and ...
. computeFunction
can be used to build models in parall...
slore in computeFunction
. See the examples in link{train}
.