DOC Removed duplicate 'classes_' attribute in Naive Bayes classifiers
@@ -157,9 +157,6 @@ class GaussianNB(_BaseNB):
epsilon_ : float
absolute additive value to variances
- classes_ : array-like, shape (n_classes,)
- Unique class labels.
-
Examples
--------
>>> import numpy as np
@@ -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
@@ -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
@@ -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 \
