Skip to content

Commit a18344e

Browse files
Merge pull request scikit-learn#7213 from zhengruifeng/doc_fix
Fix scikit-learn#7212 Sync Document for GaussianNB
2 parents a55fd92 + 70642c0 commit a18344e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/modules/naive_bayes.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,8 @@ for which the full training set might not fit in memory. To handle this case,
187187
:class:`MultinomialNB`, :class:`BernoulliNB`, and :class:`GaussianNB`
188188
expose a ``partial_fit`` method that can be used
189189
incrementally as done with other classifiers as demonstrated in
190-
:ref:`sphx_glr_auto_examples_applications_plot_out_of_core_classification.py`. Both discrete
191-
classifiers support sample weighting; :class:`GaussianNB` does not.
190+
:ref:`sphx_glr_auto_examples_applications_plot_out_of_core_classification.py`. All naive Bayes
191+
classifiers support sample weighting.
192192

193193
Contrary to the ``fit`` method, the first call to ``partial_fit`` needs to be
194194
passed the list of all the expected class labels.

0 commit comments

Comments
 (0)