rfeControl(functions = NULL,
rerank = FALSE,
method = "boot",
saveDetails = FALSE,
number = ifelse(method %in% c("cv", "repeatedcv"), 10, 25),
repeats = ifelse(method %in% c("cv", "repeatedcv"), 1, number),
verbose = TRUE,
returnResamp = "all",
p = .75,
index = NULL,
workers = 1,
computeFunction = lapply,
computeArgs = NULL)
boot
, cv
,
LOOCV
or LGOCV
(for repeated training/test splitslapply
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 rfe
.nbFuncs
y
x
x
y
metric
maximize
size
The fit
function builds the model based on the current data set. The arguments for the function must be:
x
y
first
last
first
, but TRUE
when the last model is fit with the final subset size and
predictors.}
...
rfe
}rfe
, lmFuncs
, rfFuncs
, treebagFuncs
, nbFuncs
, pickSizeBest
, pickSizeTolerance