A simple mlr3misc::Dictionary storing objects of class Tuner.
Each tuner has an associated help page, see mlr_tuners_[id]
.
This dictionary can get populated with additional tuners by add-on packages.
For a more convenient way to retrieve and construct tuner, see tnr()
/tnrs()
.
Format
R6::R6Class object inheriting from mlr3misc::Dictionary.
Methods
See mlr3misc::Dictionary.
S3 methods
as.data.table(dict, ..., objects = FALSE)
mlr3misc::Dictionary ->data.table::data.table()
Returns adata.table::data.table()
with fields "key", "label", "param_classes", "properties" and "packages" as columns. Ifobjects
is set toTRUE
, the constructed objects are returned in the list column namedobject
.
See also
Sugar functions: tnr()
, tnrs()
Other Tuner:
Tuner
,
mlr_tuners_cmaes
,
mlr_tuners_design_points
,
mlr_tuners_gensa
,
mlr_tuners_grid_search
,
mlr_tuners_internal
,
mlr_tuners_irace
,
mlr_tuners_nloptr
,
mlr_tuners_random_search
Examples
as.data.table(mlr_tuners)
#> Key: <key>
#> key label
#> <char> <char>
#> 1: async_design_points Asynchronous Design Points
#> 2: async_grid_search Asynchronous Grid Search
#> 3: async_random_search Asynchronous Random Search
#> 4: cmaes Covariance Matrix Adaptation Evolution Strategy
#> 5: design_points Design Points
#> 6: gensa Generalized Simulated Annealing
#> 7: grid_search Grid Search
#> 8: internal Internal Optimizer
#> 9: irace Iterated Racing
#> 10: nloptr Non-linear Optimization
#> 11: random_search Random Search
#> param_classes
#> <list>
#> 1: ParamLgl,ParamInt,ParamDbl,ParamFct,ParamUty
#> 2: ParamLgl,ParamInt,ParamDbl,ParamFct
#> 3: ParamLgl,ParamInt,ParamDbl,ParamFct
#> 4: ParamDbl
#> 5: ParamLgl,ParamInt,ParamDbl,ParamFct,ParamUty
#> 6: ParamDbl
#> 7: ParamLgl,ParamInt,ParamDbl,ParamFct
#> 8: ParamLgl,ParamInt,ParamDbl,ParamFct
#> 9: ParamDbl,ParamInt,ParamFct,ParamLgl
#> 10: ParamDbl
#> 11: ParamLgl,ParamInt,ParamDbl,ParamFct
#> properties packages
#> <list> <list>
#> 1: dependencies,single-crit,multi-crit,async mlr3tuning,bbotk,rush
#> 2: dependencies,single-crit,multi-crit,async mlr3tuning,bbotk,rush
#> 3: dependencies,single-crit,multi-crit,async mlr3tuning,bbotk,rush
#> 4: single-crit mlr3tuning,bbotk,adagio
#> 5: dependencies,single-crit,multi-crit mlr3tuning,bbotk
#> 6: single-crit mlr3tuning,bbotk,GenSA
#> 7: dependencies,single-crit,multi-crit mlr3tuning,bbotk
#> 8: dependencies,single-crit mlr3tuning
#> 9: dependencies,single-crit mlr3tuning,bbotk,irace
#> 10: single-crit mlr3tuning,bbotk,nloptr
#> 11: dependencies,single-crit,multi-crit mlr3tuning,bbotk
mlr_tuners$get("random_search")
#> <TunerBatchRandomSearch>: Random Search
#> * Parameters: batch_size=1
#> * Parameter classes: ParamLgl, ParamInt, ParamDbl, ParamFct
#> * Properties: dependencies, single-crit, multi-crit
#> * Packages: mlr3tuning, bbotk
tnr("random_search")
#> <TunerBatchRandomSearch>: Random Search
#> * Parameters: batch_size=1
#> * Parameter classes: ParamLgl, ParamInt, ParamDbl, ParamFct
#> * Properties: dependencies, single-crit, multi-crit
#> * Packages: mlr3tuning, bbotk