Description Usage Arguments Value See Also Examples
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.
1 | gpGradient(params, model)
|
params |
the parameters of the model. |
model |
the model for which gradients will be computed. |
g |
the returned gradient of the negative log likelihood for the given parameters. |
gpCreate, gpGradient, gpLogLikeGradients, gpOptimise
.
1 | ## missing
|
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.