参考资料:
2.Naive Bayes Classification With Sklearn
Multinomial Naive Bayes
手写贝叶斯(很好的练习)
-
sklearn中的NB分类器种类
-
高斯NB分类器
下图可以看到有时高斯假设并不符合数据的分布,可以对数据做一些变换,使其符合高斯分布,但Perform well even if the Naive Assumption is not perfectly met. In many cases, the approximation is enough to build a good classifier.
-
优缺点
-
Multinomial Naive Bayes使用注意事项