Calls LiblineaR::LiblineaR from package LiblineaR.

Details

Calls LiblineaR::LiblineaR() with type = 11 or type = 12.

Dictionary

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

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

Traits

  • Packages: LiblineaR

  • Predict Types: response

  • Feature Types: integer, numeric

  • Properties:

Custom mlr3 defaults

  • svr_eps:

    • Actual default: NULL

    • Adjusted default: 0.001

    • Reason for change: svr_eps is type dependent and the "type" is handled by the mlr3learner. The default value is set to th default of the respective "type".

  • epsilon:

    • Actual default: 0.01

    • Adjusted default: Removed

    • Reason for change: For regr SVR learners paramter svr_eps overwrites param epsilon.

See also

Author

be-marc

Super classes

mlr3::Learner -> mlr3::LearnerRegr -> LearnerRegrLiblineaRL2L2SVR

Methods

Public methods

Inherited methods

Method new()

Creates a new instance of this R6 class.

Usage

LearnerRegrLiblineaRL2L2SVR$new()


Method clone()

The objects of this class are cloneable with this method.

Usage

LearnerRegrLiblineaRL2L2SVR$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.liblinearl2l2svr")) print(learner)
#> <LearnerRegrLiblineaRL2L2SVR:regr.liblinearl2l2svr> #> * Model: - #> * Parameters: svr_eps=0.001 #> * Packages: LiblineaR #> * Predict Type: response #> * Feature types: integer, numeric #> * Properties: -
# available parameters: learner$param_set$ids()
#> [1] "cost" "bias" "type" "svr_eps" "cross" "verbose" "findC" #> [8] "useInitC"