Skip to contents

A simple mlr3misc::Dictionary storing objects of class TuningSpace. Each tuning space has an associated help page, see mlr_tuning_spaces_[id].

Format

R6::R6Class object inheriting from mlr3misc::Dictionary.

Methods

See mlr3misc::Dictionary.

S3 methods

Examples

as.data.table(mlr_tuning_spaces)
#> Key: <key>
#>                         key                                 label
#>                      <char>                                <char>
#>  1:  classif.glmnet.default       Classification GLM with Default
#>  2:     classif.glmnet.rbv1     Classification GLM with RandomBot
#>  3:     classif.glmnet.rbv2     Classification GLM with RandomBot
#>  4:  classif.ranger.default    Classification Ranger with Default
#>  5:     classif.ranger.rbv1  Classification Ranger with RandomBot
#>  6:     classif.ranger.rbv2  Classification Ranger with RandomBot
#>  7:   classif.rpart.default     Classification Rpart with Default
#>  8:      classif.rpart.rbv1   Classification Rpart with RandomBot
#>  9:      classif.rpart.rbv2   Classification Rpart with RandomBot
#> 10:     classif.svm.default       Classification SVM with Default
#> 11:        classif.svm.rbv1     Classification SVM with RandomBot
#> 12:        classif.svm.rbv2     Classification SVM with RandomBot
#> 13: classif.xgboost.default   Classification XGBoost with Default
#> 14:    classif.xgboost.rbv1 Classification XGBoost with RandomBot
#> 15:    classif.xgboost.rbv2 Classification XGBoost with RandomBot
#> 16:     regr.glmnet.default           Regression GLM with Default
#> 17:        regr.glmnet.rbv1         Regression GLM with RandomBot
#> 18:        regr.glmnet.rbv2         Regression GLM with RandomBot
#> 19:     regr.ranger.default        Regression Ranger with Default
#> 20:        regr.ranger.rbv1      Regression Ranger with RandomBot
#> 21:        regr.ranger.rbv2      Regression Ranger with RandomBot
#> 22:      regr.rpart.default         Regression Rpart with Default
#> 23:         regr.rpart.rbv1       Regression Rpart with RandomBot
#> 24:         regr.rpart.rbv2       Regression Rpart with RandomBot
#> 25:        regr.svm.default           Regression SVM with Default
#> 26:           regr.svm.rbv1         Regression SVM with RandomBot
#> 27:           regr.svm.rbv2         Regression SVM with RandomBot
#> 28:    regr.xgboost.default       Regression XGBoost with Default
#> 29:       regr.xgboost.rbv1     Regression XGBoost with RandomBot
#> 30:       regr.xgboost.rbv2     Regression XGBoost with RandomBot
#>                         key                                 label
#>             learner n_values
#>              <char>    <int>
#>  1:  classif.glmnet        2
#>  2:  classif.glmnet        2
#>  3:  classif.glmnet        2
#>  4:  classif.ranger        4
#>  5:  classif.ranger        6
#>  6:  classif.ranger        8
#>  7:   classif.rpart        3
#>  8:   classif.rpart        4
#>  9:   classif.rpart        4
#> 10:     classif.svm        4
#> 11:     classif.svm        4
#> 12:     classif.svm        5
#> 13: classif.xgboost        8
#> 14: classif.xgboost       10
#> 15: classif.xgboost       13
#> 16:     regr.glmnet        2
#> 17:     regr.glmnet        2
#> 18:     regr.glmnet        2
#> 19:     regr.ranger        4
#> 20:     regr.ranger        6
#> 21:     regr.ranger        7
#> 22:      regr.rpart        3
#> 23:      regr.rpart        4
#> 24:      regr.rpart        4
#> 25:        regr.svm        4
#> 26:        regr.svm        4
#> 27:        regr.svm        5
#> 28:    regr.xgboost        8
#> 29:    regr.xgboost       10
#> 30:    regr.xgboost       13
#>             learner n_values
mlr_tuning_spaces$get("classif.ranger.default")
#> 
#> ── <TuningSpace> (classif.ranger.default): Classification Ranger with Default ──
#>                 id lower upper levels logscale
#>             <char> <num> <num> <list>   <lgcl>
#> 1:      mtry.ratio   0.0     1 [NULL]    FALSE
#> 2:         replace    NA    NA [NULL]    FALSE
#> 3: sample.fraction   0.1     1 [NULL]    FALSE
#> 4:       num.trees   1.0  2000 [NULL]    FALSE
lts("classif.ranger.default")
#> 
#> ── <TuningSpace> (classif.ranger.default): Classification Ranger with Default ──
#>                 id lower upper levels logscale
#>             <char> <num> <num> <list>   <lgcl>
#> 1:      mtry.ratio   0.0     1 [NULL]    FALSE
#> 2:         replace    NA    NA [NULL]    FALSE
#> 3: sample.fraction   0.1     1 [NULL]    FALSE
#> 4:       num.trees   1.0  2000 [NULL]    FALSE