OneHotObjectiveFunction.gradient¶ OneHotObjectiveFunction.gradient(weights)[source]¶ Computes gradients of this objective function given weights. প্যারামিটার: weights (ndarray) -- an array of weights to be used in the objective function. রিটার্নস: Gradients of the function. রিটার্ন টাইপ: ndarray