Skip to contents

This function complements mlr_tuning_spaces with functions in the spirit of mlr3::mlr_sugar.

Usage

lts(x)

# S3 method for character
lts(x)

# S3 method for Learner
lts(x)

ltss(x)

Arguments

x

(character() | mlr3::Learner)
If character, key passed the dictionary to retrieve the tuning space. If mlr3::Learner, default tuning space is added to the learner.

Value

Examples

lts("classif.ranger.default")
#> <TuningSpace:classif.ranger.default>: Default Ranger Classification
#>                 id lower upper      levels logscale
#> 1:      mtry.ratio   0.0     1                FALSE
#> 2:         replace    NA    NA  TRUE,FALSE    FALSE
#> 3: sample.fraction   0.1     1                FALSE
#> 4:       num.trees   1.0  2000                FALSE