8000 added description for classes_ in the logistic documentation by reshamas · Pull Request #12795 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

added description for classes_ in the logistic documentation #12795

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Dec 17, 2018
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
0