buildModel: Model building

Description Usage Arguments Value See Also

View source: R/optimCEGO.R

Description

Model building support function for optimCEGO. Should not be called directly.

Usage

1
buildModel(res, distanceFunction, control)

Arguments

distanceFunction

a suitable distance function of type f(x1,x2), returning a scalar distance value, preferably between 0 and 1. Maximum distances larger 1 are no problem, but may yield scaling bias when different measures are compared. Should be non-negative and symmetric. In case Kriging is chosen, it can also be a list of several distance functions. In this case, MLE is used to determine the most suited distance measure (see the last reference).

control

list with options:

model

Model to be used as a surrogate of the target function. Default is "K" (Kriging). Also available are: "LM" (linear, distance-based model), "RBFN" Radial Basis Function Network.

modelSettings

List of settings for model building, passed on as the control argument to the model training functions modelKriging, modelLinear, modelRBFN.

infill

This parameter specifies a function to be used for the infill criterion (e.g., the default is expected improvement infillExpectedImprovement). To use no specific infill criterion this has to be set to NA. Infill criteria are only used with models that may provide some error estimate with predictions.

x

list of samples in input space

y

matrix, column vector of observations for each sample

Value

a list:

fit

model-fit

fpred

prediction function

See Also

optimCEGO


CEGO documentation built on May 14, 2021, 1:08 a.m.