gpMeanFunctionGradient: Compute the log likelihood gradient wrt the scales.

Description Usage Arguments Value See Also Examples

Description

computes the gradient of the log likelihood with respect to the scales. In the future the gradients with respect to the biases may also be included.

Usage

1

Arguments

model

the model for which the gradients are to be computed.

Value

g

the gradients of the likelihood with respect to the mean function's parameters.

See Also

gpCreate, gpScaleBiasGradient, gpLogLikeGradients, gpLogLikelihood.

Examples

1
## missing

Example output

Loading required package: Matrix
Loading required package: fields
Loading required package: spam
Loading required package: dotCall64
Loading required package: grid
Spam version 2.1-1 (2017-07-02) is loaded.
Type 'help( Spam)' or 'demo( spam)' for a short introduction 
and overview of this package.
Help for individual functions is also obtained by adding the
suffix '.spam' to the function name, e.g. 'help( chol.spam)'.

Attaching package: 'spam'

The following objects are masked from 'package:base':

    backsolve, forwardsolve

Loading required package: maps

gptk documentation built on May 2, 2019, 3:27 p.m.