OneHotObjectiveFunction.objective¶ OneHotObjectiveFunction.objective(weights)[source]¶ Computes the value of this objective function given weights. Paramètres: weights (ndarray) – an array of weights to be used in the objective function. Renvoie: Value of the function. Type renvoyé: float