returns the negative log likelihood of a Gaussian process model given the model structure and a vector of parameters. This allows the use of NETLAB minimisation functions to find the model parameters.
Usage
f <- gpObjective(params, model)
Arguments
params
the parameters of the model for which the objective will be evaluated.
model
the model structure for which the objective will be evaluated.