powered by
This function allows to construct an AcqOptimizer in the spirit of mlr_sugar from mlr3.
mlr_sugar
acqo(optimizer, terminator, acq_function = NULL, callbacks = NULL, ...)
AcqOptimizer
(bbotk::OptimizerBatch) bbotk::OptimizerBatch that is to be used.
(bbotk::Terminator) bbotk::Terminator that is to be used.
(NULL | AcqFunction) AcqFunction that is to be used. Can also be NULL.
NULL
(NULL | list of mlr3misc::Callback) Callbacks used during acquisition function optimization.
(named list()) Named arguments passed to the constructor, to be set as parameters in the paradox::ParamSet.
list()
library(bbotk) acqo(opt("random_search"), trm("evals"), catch_errors = FALSE)
Run the code above in your browser using DataLab