8000 Removed duplicate docstring for 'classes_' attribute in Naive Bayes by kp1302 · Pull Request #15811 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

Removed duplicate docstring for 'classes_' attribute in Naive Bayes #15811

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
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
12 changes: 0 additions & 12 deletions sklearn/naive_bayes.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,6 @@ class labels known to the classifier
epsilon_ : float
absolute additive value to variances

classes_ : array-like, shape (n_classes,)
Unique class labels.

Examples
--------
>>> import numpy as np
Expand Down Expand Up @@ -718,9 +715,6 @@ class MultinomialNB(_BaseDiscreteNB):
n_features_ : int
Number of features of each sample.

classes_ : array-like, shape (n_classes,)
Unique class labels.

Examples
--------
>>> import numpy as np
Expand Down Expand Up @@ -828,9 +822,6 @@ class ComplementNB(_BaseDiscreteNB):
Number of samples encountered for each feature during fitting. This
value is weighted by the sample weight when provided.

classes_ : array of shape (n_classes,)
The classes labels.

Examples
--------
>>> import numpy as np
Expand Down Expand Up @@ -939,9 +930,6 @@ class BernoulliNB(_BaseDiscreteNB):
n_features_ : int
Number of features of each sample.

classes_ : array of shape (n_classes,)
The classes labels.

See Also
----------
MultinomialNB: The multinomial Naive Bayes classifier is \
Expand Down
0