imsl.regression.LogisticRegression.gradient

LogisticRegression.gradient

Return the Gradient of the log-likelihood.

Returns:Array containing the estimated gradient at the estimated coefficients.
Return type:*((n_classes-1)*n_coeffs,) ndarray*