gpGradient: Gradient wrapper for a GP model.

Description Usage Arguments Value See Also Examples

View source: R/gpGradient.R

Description

wraps the log likelihood gradient function to return the gradient of the negative of the log likelihood. This can then be used in, for example, NETLAB, minimisation tools.

Usage

1
gpGradient(params, model)

Arguments

params

the parameters of the model.

model

the model for which gradients will be computed.

Value

g

the returned gradient of the negative log likelihood for the given parameters.

See Also

gpCreate, gpGradient, gpLogLikeGradients, gpOptimise.

Examples

1
## missing

alkalait/gptk documentation built on March 7, 2020, 6:30 a.m.