Skip to contents

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

(SearchInstance).

optimizer

(bbotk::Optimizer | NULL).

Details

Similar to bbotk's ContextBatch, but for SearchInstance instead of bbotk::OptimInstanceBatch.

Fields

instance

(SearchInstance).

optimizer

(bbotk::Optimizer | NULL).

xdt

(data.table::data.table)
The points of the latest batch in instance$eval_batch().