English
Languages
English
Bengali
French
Hindi
Italian
Japanese
Korean
Malayalam
Russian
Spanish
Tamil
Turkish
Vietnamese
Shortcuts



ObjectiveFunction.gradient

abstract ObjectiveFunction.gradient(weights)[source]

Computes gradients of this objective function given weights.

Parameters:

weights (ndarray) – an array of weights to be used in the objective function.

Return type:

ndarray

Returns:

Gradients of the function.