diff --git a/sklearn/linear_model/logistic.py b/sklearn/linear_model/logistic.py index 7dbafbc437e7f..b96382de25e55 100644 --- a/sklearn/linear_model/logistic.py +++ b/sklearn/linear_model/logistic.py @@ -1178,6 +1178,9 @@ class LogisticRegression(BaseEstimator, LinearClassifierMixin, Attributes ---------- + classes_ : array, shape (n_classes, ) + A list of class labels known to the classifier. + coef_ : array, shape (1, n_features) or (n_classes, n_features) Coefficient of the features in the decision function. @@ -1643,6 +1646,9 @@ class LogisticRegressionCV(LogisticRegression, BaseEstimator, Attributes ---------- + classes_ : array, shape (n_classes, ) + A list of class labels known to the classifier. + coef_ : array, shape (1, n_features) or (n_classes, n_features) Coefficient of the features in the decision function.