8000 DOC Added description for classes_ in LogisticRegression/LogisticRegr… · adrinjalali/scikit-learn@54252ce · GitHub
[go: up one dir, main page]

Skip to content

Commit 54252ce

Browse files
Reshama Shaikhadrinjalali
authored andcommitted
DOC Added description for classes_ in LogisticRegression/LogisticRegressionCV documentation (scikit-learn#12795)
1 parent b4b9c97 commit 54252ce

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

sklearn/linear_model/logistic.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1178,6 +1178,9 @@ class LogisticRegression(BaseEstimator, LinearClassifierMixin,
11781178
Attributes
11791179
----------
11801180
1181+
classes_ : array, shape (n_classes, )
1182+
A list of class labels known to the classifier.
1183+
11811184
coef_ : array, shape (1, n_features) or (n_classes, n_features)
11821185
Coefficient of the features in the decision function.
11831186
@@ -1643,6 +1646,9 @@ class LogisticRegressionCV(LogisticRegression, BaseEstimator,
16431646
16441647
Attributes
16451648
----------
1649+
classes_ : array, shape (n_classes, )
1650+
A list of class labels known to the classifier.
1651+
16461652
coef_ : array, shape (1, n_features) or (n_classes, n_features)
16471653
Coefficient of the features in the decision function.
16481654

0 commit comments

Comments
 (0)
0