Context object that allows callbacks to access and modify data during search operations on a SearchInstance.
Creates a new instance of this R6 class.
Arguments
- inst
- optimizer
(bbotk::Optimizer |
NULL).
Details
Similar to bbotk's ContextBatch, but for SearchInstance instead of
bbotk::OptimInstanceBatch.
Fields
instanceoptimizer(bbotk::Optimizer |
NULL).xdt(data.table::data.table)
The points of the latest batch ininstance$eval_batch().