Learn R Programming

CEGO (version 2.0.0)

buildModel: Model building

Description

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

Usage

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 symme
control
list of 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 o
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