This routine performs bootstrap learning for all scenarios except multiclass classification.
bsSVM(x, y, ..., solver, ws.number = 5, ws.size = 500, do.select = TRUE)
either a formula or the features
either the data or the labels corresponding to the features x
.
It can be a character
in which case the data is loaded using liquidData
.
If it is of type liquidData
then after train
ing and select
ion
the model is test
ed using the testing data (y$test
).
configuration parameters, see Configuration. Can be threads=2, display=1, gpus=1,
etc.
the solver to use. Can be any of KERNEL_RULE
, SVM_LS_2D
,
SVM_HINGE_2D
, SVM_QUANTILE
, SVM_EXPECTILE_2D
number of working sets to build and train
how many samples to draw from the training set for each working set
if TRUE
also does the whole selection for this model
an object of type svm
. Depending on the usage this object
has also $train_errors
, $select_errors
, and $last_result
properties.