Description Usage Format Usage Methods Arguments Examples
Trains a support vector machine (svm) model. It is based on the magnificently fast speed liquidSVM R package. It provides a more unified interface over the package retaining all its functionality.
The model is intelligently trained with a default set of hyper parameters. Also, there are inbuilt grid setups which can be easily initialised. It has capability to support batch processing of data to avoid memory errors. It supports binary classification, multi classification, regression models
1 |
R6Class
object.
For usage details see Methods, Arguments and Examples sections.
1 2 3 4 5 6 |
$new()
Initialises an instance of svm model
$fit()
fits model to an input train data and trains the model.
$predict()
returns predictions by fitting the trained model on test data.
for detailed explanation on parameters, refer to original documentation https://cran.r-project.org/web/packages/e1071/e1071.pdf
type of model to train, possible values: "bc" = binary classification, "mc" = multiclassification, "ls" = least square regression, "qt" = quantile regression
normalises the feature between 0 and 1, default = TRUE
bandwidth of the kernel, default value is chosen from a list of gamma values generated internally
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.