ContextAsyncTuning {mlr3tuning} | R Documentation |
Asynchronous Tuning Context
Description
A CallbackAsyncTuning accesses and modifies data during the optimization via the ContextAsyncTuning
.
See the section on active bindings for a list of modifiable objects.
See callback_async_tuning()
for a list of stages that access ContextAsyncTuning
.
Details
Changes to $instance
and $optimizer
in the stages executed on the workers are not reflected in the main process.
Super classes
mlr3misc::Context
-> bbotk::ContextAsync
-> ContextAsyncTuning
Active bindings
xs
(list())
The hyperparameter configuration currently evaluated. Contains the values on the learner scale i.e. transformations are applied.resample_result
(mlr3::BenchmarkResult)
The resample result of the hyperparameter configuration currently evaluated.aggregated_performance
(
list()
)
Aggregated performance scores and training time of the evaluated hyperparameter configuration. This list is passed to the archive. A callback can add additional elements which are also written to the archive.
Methods
Public methods
Inherited methods
Method clone()
The objects of this class are cloneable with this method.
Usage
ContextAsyncTuning$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.