Github user HyukjinKwon commented on a diff in the pull request:
https://github.com/apache/spark/pull/20928#discussion_r179038867
--- Diff: docs/mllib-naive-bayes.md ---
@@ -19,7 +19,7 @@ These models are typically used for [document
classification](http://nlp.stanfor
Within that context, each observation is a document and each
feature represents a term whose value is the frequency of the term (in
multinomial naive Bayes) or
a zero or one indicating whether the term was found in the document (in
Bernoulli naive Bayes).
-Feature values must be nonnegative. The model type is selected with an
optional parameter
+Feature values must be non-negative. The model type is selected with an
optional parameter
--- End diff --
seems the previous one also correct.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]