ObjectiveFunction.gradient¶
- abstract ObjectiveFunction.gradient(weights)[sorgente]¶
Computes gradients of this objective function given weights.
- Parametri
weights (
ndarray
) – an array of weights to be used in the objective function.- Tipo di ritorno
ndarray
- Ritorna
Gradients of the function.