Description Usage Arguments See Also
checks the supplied gradient function and the supplied objective function to ensure that the numerical gradients (as computed with the objective function) match the analytically computed gradients.
1 | modelGradientCheck(model, ...)
|
model |
the model for which gradients are to be checked. |
... |
additional arguments that are passed to the objective and gradient functions (after the parameter vector which is always assumed to be the first argument passed). |
modelObjective, modelGradient
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.