Description Details Dictionary Super classes Methods References See Also Examples
L2-Regularized L2-Loss support vector classification learner.
Calls LiblineaR::LiblineaR()
(type = 1
or type = 2
) from package
LiblineaR.
If number of records > number of features, type = 2
is faster than type = 1
(Hsu et al. 2003).
The default for epsilon
is set to match type = "2"
. If you change to
type = "1"
remember to eventually adjust the value for epsilon
(default
= 0.1).
This Learner can be instantiated via the dictionary mlr_learners or with the associated sugar function lrn()
:
1 2 | mlr_learners$get("classif.liblinearl2l2svc")
lrn("classif.liblinearl2l2svc")
|
mlr3::Learner
-> mlr3::LearnerClassif
-> LearnerClassifLiblineaRL2L2SVC
new()
Creates a new instance of this R6 class.
LearnerClassifLiblineaRL2L2SVC$new()
clone()
The objects of this class are cloneable with this method.
LearnerClassifLiblineaRL2L2SVC$clone(deep = FALSE)
deep
Whether to make a deep clone.
mlr3learners.liblinearhsu_2003
Dictionary of Learners: mlr3::mlr_learners
1 2 3 4 5 | learner = mlr3::lrn("classif.liblinearl2l2svc")
print(learner)
# available parameters:
learner$param_set$ids()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.