Wrapper for predict.spotBOModel
.
# S3 method for spotBOModel
predict(object, newdata, ...)
fit of the model, an object of class "spotBOModel"
, produced by buildBO
.
matrix of new data.
not used
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"
.