modelGradientCheck: Check gradients of given model.

Description Usage Arguments See Also

View source: R/modelGradientCheck.R

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.


alkalait/gptk documentation built on March 7, 2020, 6:30 a.m.