Public methods
Method new()
Creates a new instance of this R6 class.
Usage
Tuner$new(param_set, param_classes, properties, packages = character())
Arguments
param_set
(paradox::ParamSet)
Set of control parameters for tuner.
param_classes
(character()
)
Supported parameter classes for learner hyperparameters that the tuner
can optimize, subclasses of paradox::Param.
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.
Method format()
Helper for print outputs.
Usage
Tuner$format()
Method print()
Print method.
Usage
Tuner$print()
Returns
(character()
).
Method optimize()
Performs the tuning on a TuningInstanceSingleCrit or
TuningInstanceMultiCrit until termination.
The single evaluations will be written into the ArchiveTuning that resides in the
TuningInstanceSingleCrit/TuningInstanceMultiCrit.
The result will be written into the instance object.
Usage
Tuner$optimize(inst)
Arguments
inst
(TuningInstanceSingleCrit | TuningInstanceMultiCrit).
Returns
data.table::data.table
Method clone()
The objects of this class are cloneable with this method.
Usage
Tuner$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.