selectSVMs: Selects the best hyper-parameters of all the trained SVMs.

Description Usage Arguments Details Value Documentation for command-line parameters of svm-select See Also

View source: R/liquidSVM.R

Description

Should only be used by experts! This selects for every task and cell the best hyper-parameter based on the validation errors in the folds. This is saved and will afterwards be used in the evaluation of the decision functions.

Usage

1
2
selectSVMs(model, command.args = NULL, ..., d = NULL,
  warn.suboptimal = getOption("liquidSVM.warn.suboptimal", TRUE))

Arguments

model

the svm-model

command.args

further arguments aranged in a list, corresponding to the arguments of the command line interface to svm-select, e.g. list(d=2,R=0) is equivalent to svm-select -d 2 -R 0. See command-args for details.

...

parameters passed to selection phase e.g. retrain_method="select_on_entire_train_set"

d

level of display information

warn.suboptimal

if TRUE this will issue a warning if the boundary of the hyper-parameter grid was hit too many times. The default can be changed by setting options(liquidSVM.warn.suboptimal=FALSE).

Details

Some learning scenarios have to perform several selection runs: for instance in quantile regression for every quantile. This is done by specifying weight_number ranging from 1 to the number of quantiles.

See command-args for details.

Value

a table giving training and validation errors and more internal statistic for all the SVMs that were selected. This is also recorded in model$select_errors.

Documentation for command-line parameters of svm-select

The following parameters can be used as well:



See Also

command-args, svm, init.liquidSVM, selectSVMs, predict.liquidSVM, test.liquidSVM and clean.liquidSVM


liquidSVM documentation built on Sept. 15, 2019, 1:02 a.m.