Tuner | R Documentation |
The Tuner
implements the optimization algorithm.
Tuner
is an abstract base class that implements the base functionality each tuner must provide.
There are several sections about hyperparameter optimization in the mlr3book.
The gallery features a collection of case studies and demos about optimization.
Use the Hyperband optimizer with different budget parameters.
Additional tuners are provided by the following packages.
mlr3hyperband adds the Hyperband and Successive Halving algorithm.
mlr3mbo adds Bayesian optimization methods.
id
(character(1)
)
Identifier of the object.
Used in tables, plot and text output.
param_set
(paradox::ParamSet)
Set of control parameters.
param_classes
(character()
)
Supported parameter classes for learner hyperparameters that the tuner can optimize, as given in the paradox::ParamSet $class
field.
properties
(character()
)
Set of properties of the tuner.
Must be a subset of mlr_reflections$tuner_properties
.
packages
(character()
)
Set of required packages.
Note that these packages will be loaded via requireNamespace()
, and are not attached.
label
(character(1)
)
Label for this object.
Can be used in tables, plot and text output instead of the ID.
man
(character(1)
)
String in the format [pkg]::[topic]
pointing to a manual page for this object.
The referenced help package can be opened via method $help()
.
new()
Creates a new instance of this R6 class.
Tuner$new( id = "tuner", param_set, param_classes, properties, packages = character(), label = NA_character_, man = NA_character_ )
id
(character(1)
)
Identifier for the new instance.
param_set
(paradox::ParamSet)
Set of control parameters.
param_classes
(character()
)
Supported parameter classes for learner hyperparameters that the tuner can optimize, as given in the paradox::ParamSet $class
field.
properties
(character()
)
Set of properties of the tuner.
Must be a subset of mlr_reflections$tuner_properties
.
packages
(character()
)
Set of required packages.
Note that these packages will be loaded via requireNamespace()
, and are not attached.
label
(character(1)
)
Label for this object.
Can be used in tables, plot and text output instead of the ID.
man
(character(1)
)
String in the format [pkg]::[topic]
pointing to a manual page for this object.
The referenced help package can be opened via method $help()
.
format()
Helper for print outputs.
Tuner$format(...)
...
(ignored).
(character()
).
print()
Print method.
Tuner$print()
(character()
).
help()
Opens the corresponding help page referenced by field $man
.
Tuner$help()
clone()
The objects of this class are cloneable with this method.
Tuner$clone(deep = FALSE)
deep
Whether to make a deep clone.
Other Tuner:
mlr_tuners
,
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.