Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions sklearn/linear_model/logistic.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -1643,6 +1646,9 @@ class LogisticRegressionCV(LogisticRegression, BaseEstimator,

Attributes
----------
classes_ : array, shape (n_classes, )
A list of class labels known to the classifier.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a blank line after it


coef_ : array, shape (1, n_features) or (n_classes, n_features)
Coefficient of the features in the decision function.

Expand Down