Surrogate model based on regression mlr3::Learner objects.

Super classes

mlr3mbo::Surrogate -> mlr3mbo::SurrogateSingleCrit -> SurrogateSingleCritLearner

Methods

Public methods

Inherited methods

Method new()

Creates a new instance of this R6 class.

Usage

SurrogateSingleCritLearner$new(learner)

Arguments


Method update()

Train model with new points.

Usage

SurrogateSingleCritLearner$update(xydt, y_cols)

Arguments

xydt

data.table::data.table.

y_cols

(character(1))
Name of response column.


Method predict()

Returns mean response and standard error.

Usage

SurrogateSingleCritLearner$predict(xdt)

Arguments

xdt

data.table::data.table
New data.

Returns

data.table::data.table with the columns mean and se.


Method clone()

The objects of this class are cloneable with this method.

Usage

SurrogateSingleCritLearner$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.