Naive Bayes Classifier

Script for Naive Bayes Classifier in Matlab 2008a


Updated 6 Aug 2012

View License

I use Matlab 2008a which does not support Naive Bayes Classifier. Script supports normal and kernel distributions. Statistics toolbox for 2008a version is used in the script. Also includes function for confusionmat
Sample data provided is from Mathworks Webinar: Computational Statistics: Getting Started with Classification Using MATLAB <>

Cite As

Indraneel Biswas (2023). Naive Bayes Classifier (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired by: Introduction to Classification

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes