MLlib only supports the multinomial-variant of Naive Bayes. The Bernoulli version of Naive Bayes is more useful for situations where the features are binary values.
SPARK-5328 Update PySpark MLlib NaiveBayes API to take model type parameter for Bernoulli fit
- relates to
SPARK-5272 Refactor NaiveBayes to support discrete and continuous labels,features
- links to