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



OneHotObjectiveFunction.gradient

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