acqo: Syntactic Sugar Acquisition Function Optimizer Construction

View source: R/sugar.R

acqoR Documentation

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, ...)

Arguments

optimizer

(bbotk::Optimizer)
bbotk::Optimizer 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.

Value

AcqOptimizer

Examples

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

mlr3mbo documentation built on Oct. 17, 2024, 1:06 a.m.