Learn R Programming

mlr3mbo (version 0.2.9)

acqo: Syntactic Sugar Acquisition Function Optimizer Construction

Description

This function allows to construct an AcqOptimizer in the spirit of mlr_sugar from mlr3.

Usage

acqo(optimizer, terminator, acq_function = NULL, callbacks = NULL, ...)

Value

AcqOptimizer

Arguments

optimizer

(bbotk::OptimizerBatch)
bbotk::OptimizerBatch that is to be used.

terminator

(bbotk::Terminator)
bbotk::Terminator that is to be used.

acq_function

(NULL | AcqFunction)
AcqFunction that is to be used. Can also be NULL.

callbacks

(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.

Examples

Run this code
library(bbotk)
acqo(opt("random_search"), trm("evals"), catch_errors = FALSE)

Run the code above in your browser using DataLab