English
Languages
English
Bengali
French
Hindi
Japanese
Korean
Russian
Spanish
Tamil
Turkish



OneHotObjectiveFunction.objective

OneHotObjectiveFunction.objective(weights)[source]

Computes the value of this objective function given weights.

Parameters:

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

Returns:

Value of the function.

Return type:

float