gpLogLikeGradients: Compute the gradients for the parameters and X.

Description Usage Arguments Value See Also Examples

Description

computes the gradients of the Gaussian process log likelihood with respect to the model parameters (and optionally, as above with respect to inducing variables and input data) given the target data, input data and inducing variable locations.

Usage

1
2
gpLogLikeGradients( model, X=model$X, M, X_u, gX_u.return=FALSE,
                    gX.return=FALSE, g_beta.return=FALSE )

Arguments

model

the model structure for which gradients are computed.

X

the input data locations for which gradients are computed.

M

the scaled and bias removed target data for which the gradients are computed.

X_u

the inducing variable locations for which gradients are computed.

gX_u.return

(logical) return the gradient of the log likelihood with respect to the inducing variables. If inducing variables aren't being used this returns zero.

gX.return

(logical) return the gradient of the log likelihood with respect to the input data locations.

g_beta.return

(logical) to return the gradient of the log likelihood with respect to beta.

Value

gParam

contains the gradient of the log likelihood with respect to the model parameters (including any gradients with respect to beta).

See Also

gpLogLikelihood.

Examples

1
## missing


Search within the gptk package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.