Surrogate Model

Public fields

model

Surrogate Model

Methods

Public methods


Method new()

Creates a new instance of this R6 class.

Usage

Surrogate$new(model)

Arguments

model

Model


Method update()

Train model with new points.

Usage

Surrogate$update(xydt, y_cols)

Arguments

xydt

data.table::data.table
Desing of new points.

y_cols

(character())
Names of response columns.

Returns

NULL


Method setup()

Possible setup routine of the surrogate

Usage

Surrogate$setup(xydt, y_cols)

Arguments

xydt

data.table::data.table
Initial design.

y_cols

(character())
Names of response columns.

Returns

NULL


Method predict()

Returns mean response and standard error

Usage

Surrogate$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

Surrogate$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.