Skip to contents

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

Examples

as.data.table(mlr_tuners)
#> Key: <key>
#>              key                                           label
#>           <char>                                          <char>
#> 1:         cmaes Covariance Matrix Adaptation Evolution Strategy
#> 2: design_points                                   Design Points
#> 3:         gensa                 Generalized Simulated Annealing
#> 4:   grid_search                                     Grid Search
#> 5:         irace                                 Iterated Racing
#> 6:        nloptr                         Non-linear Optimization
#> 7: random_search                                   Random Search
#>                                   param_classes
#>                                          <list>
#> 1:                                     ParamDbl
#> 2: ParamLgl,ParamInt,ParamDbl,ParamFct,ParamUty
#> 3:                                     ParamDbl
#> 4:          ParamLgl,ParamInt,ParamDbl,ParamFct
#> 5:          ParamDbl,ParamInt,ParamFct,ParamLgl
#> 6:                                     ParamDbl
#> 7:          ParamLgl,ParamInt,ParamDbl,ParamFct
#>                             properties                packages
#>                                 <list>                  <list>
#> 1:                         single-crit mlr3tuning,bbotk,adagio
#> 2: dependencies,single-crit,multi-crit        mlr3tuning,bbotk
#> 3:                         single-crit  mlr3tuning,bbotk,GenSA
#> 4: dependencies,single-crit,multi-crit              mlr3tuning
#> 5:            dependencies,single-crit  mlr3tuning,bbotk,irace
#> 6:                         single-crit mlr3tuning,bbotk,nloptr
#> 7: dependencies,single-crit,multi-crit        mlr3tuning,bbotk
mlr_tuners$get("random_search")
#> <TunerRandomSearch>: Random Search
#> * Parameters: batch_size=1
#> * Parameter classes: ParamLgl, ParamInt, ParamDbl, ParamFct
#> * Properties: dependencies, single-crit, multi-crit
#> * Packages: mlr3tuning, bbotk
tnr("random_search")
#> <TunerRandomSearch>: Random Search
#> * Parameters: batch_size=1
#> * Parameter classes: ParamLgl, ParamInt, ParamDbl, ParamFct
#> * Properties: dependencies, single-crit, multi-crit
#> * Packages: mlr3tuning, bbotk