sbfControl(functions = NULL,
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 = 0.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 sbf
.nbSBF
score
x
y
x
y
The fit
function builds the model based on the current data set. The arguments for the function must be:
x
y
...
sbf
}sbf
, caretSBF
, lmSBF
, rfSBF
, treebagSBF
, ldaSBF
and nbSBF