Based on a surrogate model, the acquisition function encodes the preference to evaluate a new point for evaluation.

See also

Super classes

bbotk::Objective -> bbotk::ObjectiveRFunDt -> AcqFunction

Public fields

surrogate

Surrogate.

direction

(character(1))
Must be "same", "minimize", or "maximize".

surrogate_max_to_min

(numeric(1)). Optimization direction of the objective function: 1 for minimization, -1 for maximization.

Methods

Public methods

Inherited methods

Method new()

Creates a new instance of this R6 class.

Usage

AcqFunction$new(id, constants = ParamSet$new(), surrogate, direction, fun)

Arguments

id

(character(1)).

constants

(paradox::ParamSet).

surrogate

Surrogate.

direction

(character(1)).

fun

(function(xdt)). Must be "same", "minimize", or "maximize".


Method setup()

Sets up the acquisition function.

Usage

AcqFunction$setup(archive)

Arguments

archive

bbotk::Archive.


Method update()

Update the acquisition function given an bbotk::Archive.

Usage

AcqFunction$update(archive)

Arguments

archive

bbotk::Archive.


Method clone()

The objects of this class are cloneable with this method.

Usage

AcqFunction$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.