OneHotObjectiveFunction.objective¶ OneHotObjectiveFunction.objective(weights)[sorgente]¶ Computes the value of this objective function given weights. Parametri: weights (ndarray) – an array of weights to be used in the objective function. Tipo di ritorno: float Ritorna: Value of the function.