The ContextOptimization allows mlr3misc::Callbacks to access and modify data while optimization.
See section on active bindings for a list of modifiable objects.
See callback_optimization()
for a list of stages which access ContextOptimization.
mlr3misc::Context
-> ContextOptimization
instance
(OptimInstance).
optimizer
(Optimizer).
xdt
(data.table::data.table)
The points of the latest batch.
Contains the values in the search space i.e. transformations are not yet applied.
result
(data.table::data.table)
The result of the optimization.
Inherited methods
new()
Creates a new instance of this R6 class.
ContextOptimization$new(instance, optimizer)
instance
(OptimInstance).
optimizer
(Optimizer).
clone()
The objects of this class are cloneable with this method.
ContextOptimization$clone(deep = FALSE)
deep
Whether to make a deep clone.