modelGradientCheck: Check gradients of given model.

Description Usage Arguments See Also

Description

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.

Usage

1

Arguments

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).

See Also

modelObjective, modelGradient.


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