Calls kernlab::ksvm from package kernlab.

Dictionary

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

mlr_learners$get("regr.ksvm")
lrn("regr.ksvm")

Traits

  • Packages: kernlab

  • Predict Types: response

  • Feature Types: logical, integer, numeric, character, factor, ordered

  • Properties: weights

See also

Author

mboecker

Super classes

mlr3::Learner -> mlr3::LearnerRegr -> LearnerRegrKSVM

Methods

Public methods

Inherited methods

Method new()

Creates a new instance of this R6 class.

Usage

LearnerRegrKSVM$new()


Method clone()

The objects of this class are cloneable with this method.

Usage

LearnerRegrKSVM$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

# stop example failing with warning if package not installed learner = suppressWarnings(mlr3::lrn("regr.ksvm")) print(learner)
#> <LearnerRegrKSVM:regr.ksvm> #> * Model: - #> * Parameters: list() #> * Packages: kernlab #> * Predict Type: response #> * Feature types: logical, integer, numeric, character, factor, ordered #> * Properties: weights
# available parameters: learner$param_set$ids()
#> [1] "scaled" "type" "kernel" "C" "nu" "epsilon" #> [7] "cache" "tol" "shrinking" "sigma" "degree" "scale" #> [13] "order" "offset"