8000 DOC what's new: GaussianNB.partial_fit + typo in comment · scikit-learn/scikit-learn@3146a1f · GitHub
[go: up one dir, main page]

Skip to content

Commit 3146a1f

Browse files
committed
DOC what's new: GaussianNB.partial_fit + typo in comment
1 parent e7e49a6 commit 3146a1f

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

doc/whats_new.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,9 @@ Changelog
227227
- Shuffle option for :class:`cross_validation.StratifiedKFold`.
228228
By `Jeffrey Blackburne`_.
229229

230+
- Incremental learning (``partial_fit``) for Gaussian Naive Bayes by
231+
Imran Haque.
232+
230233

231234
API changes summary
232235
-------------------

sklearn/tests/test_naive_bayes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ def check_sample_weight_multiclass(cls):
285285
clf = cls().fit(X, y, sample_weight=sample_weight)
286286
assert_array_equal(clf.predict(X), [0, 1, 1, 2])
287287

288-
# Check wample weight using the partial_fit method
4E1C
288+
# Check sample weight using the partial_fit method
289289
clf = cls()
290290
clf.partial_fit(X[:2], y[:2], classes=[0, 1, 2],
291291
sample_weight=sample_weight[:2])

0 commit comments

Comments
 (0)
0