Learn R Programming

SPOT (version 2.11.10)

predict.spotBOModel: Prediction method for bayesian optimization model

Description

Wrapper for predict.spotBOModel.

Usage

# S3 method for spotBOModel
predict(object, newdata, ...)

Arguments

object

fit of the model, an object of class "spotBOModel", produced by buildBO.

newdata

matrix of new data.

...

not used

Value

list with predicted mean y, uncertainty / standard deviation s (optional) and expected improvement ei (optional). Whether s and ei are returned is specified by the vector of strings object$target, which then contains "s" and "ei".