Naive Bayes Classifier

版本 1.0 (5.1 KB) 作者: Mo Chen
Naive Bayes Classifier working for both continue and discrete data
1.3K 次下载
更新时间 2016/3/8

查看许可证

This package contains Naive Bayes classifiers. NB assumes that dimensions of data are independent, any base distribution can be used as long as the whole model satisfy the NB assumption.
The standard NB uses Bernoulli as the base distribution. It works for binary data. This package also provides NB classifier with Gaussian base which works for real value data.

I tried my best to make the code succinct, so that it is easy to follow. Please try the demo script in the package.

This package is now a part of the PRML toolbox (http://www.mathworks.com/matlabcentral/fileexchange/55826-pattern-recognition-and-machine-learning-toolbox).

引用格式

Mo Chen (2024). Naive Bayes Classifier (https://www.mathworks.com/matlabcentral/fileexchange/55864-naive-bayes-classifier), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2016a
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0