Optimizer for AcqFunctions. Wraps an bbotk::Optimizer and bbotk::Terminator.
optimizer
terminator
acq_function
(AcqFunction).
param_set
(paradox::ParamSet)
Set of hyperparameters.
new()
Creates a new instance of this R6 class.
AcqOptimizer$new(optimizer, terminator, acq_function = NULL)
optimizer
terminator
acq_function
(NULL
| AcqFunction).
optimize()
Optimize the acquisition function.
If the fix_distance
parameter is set to TRUE
, proposed points are
replaced by randomly sampled ones if their Gower distance with respect
to other proposed points or previously evaluated points falls below the
dist_threshold
parameter. Note that these checks are only performed a
single time (and not after a potential replacement of points), i.e., the
returned data.table::data.table()
of optima must not necessarily pass
the checks but most likely will.
data.table::data.table()
with 1 row per optimum and x as columns.