A learner for a classification support vector machine implemented in e1071::svm().

Dictionary

This Learner can be instantiated via the dictionary mlr_learners or with the associated sugar function lrn():

mlr_learners$get("classif.svm")
lrn("classif.svm")

References

Cortes C, Vapnik V (1995). “Support-vector networks.” Machine Learning, 20(3), 273--297. doi: 10.1007/BF00994018 .

See also

Super classes

mlr3::Learner -> mlr3::LearnerClassif -> LearnerClassifSVM

Methods

Public methods

Inherited methods

Method new()

Creates a new instance of this R6 class.

Usage

LearnerClassifSVM$new()


Method clone()

The objects of this class are cloneable with this method.

Usage

LearnerClassifSVM$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

if (requireNamespace("e1071")) { learner = mlr3::lrn("classif.svm") print(learner) # available parameters: learner$param_set$ids() }
#> <LearnerClassifSVM:classif.svm> #> * Model: - #> * Parameters: list() #> * Packages: e1071 #> * Predict Type: response #> * Feature types: logical, integer, numeric #> * Properties: multiclass, twoclass
#> [1] "type" "cost" "nu" "kernel" #> [5] "degree" "coef0" "gamma" "cachesize" #> [9] "tolerance" "shrinking" "cross" "fitted" #> [13] "scale" "class.weights"