Description Usage Arguments Value See Also
modeGradient
gives the gradient of the objective function for a
model. By default the objective function (modelObjective
) is
a negative log likelihood (modelLogLikelihood
).
1 2 3 | modelObjective(params, model, ...)
modelLogLikelihood(model)
modelGradient(params, model, ...)
|
params |
parameter vector to evaluate at. |
model |
model structure. |
... |
optional additional arguments. |
g |
the gradient of the error function to be minimised. |
v |
the objective function value (lower is better). |
ll |
the log-likelihood value. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.