liquidSVM (version 1.2.2)

bsSVM: Bootstrap

Description

This routine performs bootstrap learning for all scenarios except multiclass classification.

Usage

bsSVM(x, y, ..., solver, ws.number = 5, ws.size = 500, do.select = TRUE)

Arguments

x

either a formula or the features

y

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 training and selection the model is tested using the testing data (y$test).

...

configuration parameters, see Configuration. Can be threads=2, display=1, gpus=1, etc.

solver

the solver to use. Can be any of KERNEL_RULE, SVM_LS_2D, SVM_HINGE_2D, SVM_QUANTILE, SVM_EXPECTILE_2D

ws.number

number of working sets to build and train

ws.size

how many samples to draw from the training set for each working set

do.select

if TRUE also does the whole selection for this model

Value

an object of type svm. Depending on the usage this object has also $train_errors, $select_errors, and $last_result properties.