ContextAsync {bbotk} | R Documentation |
Asynchronous Optimization Context
Description
A CallbackAsync accesses and modifies data during the optimization via the ContextAsync
.
See the section on active bindings for a list of modifiable objects.
See callback_async()
for a list of stages which access ContextAsync
.
Details
Changes to $instance
and $optimizer
in the stages executed on the workers are not reflected in the main process.
Super class
mlr3misc::Context
-> ContextAsync
Public fields
instance
optimizer
(Optimizer).
Active bindings
result
(data.table::data.table)
The result of the optimization.
Methods
Public methods
Inherited methods
Method new()
Creates a new instance of this R6 class.
Usage
ContextAsync$new(inst, optimizer)
Arguments
inst
optimizer
(Optimizer).
Method clone()
The objects of this class are cloneable with this method.
Usage
ContextAsync$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.
[Package bbotk version 1.0.1 Index]