ObjectiveFunction.objective¶ abstract ObjectiveFunction.objective(weights)[source]¶ Computes the value of this objective function given weights. প্যারামিটার weights (ndarray) -- an array of weights to be used in the objective function. রিটার্ন টাইপ float রিটার্নস Value of the function.