rfeControl(functions = NULL,
metric = NULL,
rerank = FALSE,
method = "boot",
saveDetails = FALSE,
number = ifelse(method == "cv", 10, 25),
verbose = TRUE,
returnResamp = "all",
p = .75,
index = NULL)
boot
, cv
,
LOOCV
or LGOCV
(for repeated training/test splitsnbFuncs
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