View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Naive Bayes Classifier

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

4.5 | 2 ratings Rate this file 76 Downloads (last 30 days) File Size: 352 KB File ID: #37737 Version: 1.0

Naive Bayes Classifier



Script for Naive Bayes Classifier in Matlab 2008a

| Watch this File

File Information

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 <>


Introduction To Classification inspired this file.

Required Products Statistics and Machine Learning Toolbox
MATLAB release MATLAB 7.6 (R2008a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (5)
12 Jun 2016 Rounak Dhaneriya


can you tell me what does it mean please.

Comment only
06 Apr 2016 chirag

chirag (view profile)

working well.. Thankx

Comment only
13 Apr 2015 preeti mishra

I am running this code. But its showing error in Matlab 2014b
Undefined function 'cvpartition' for input arguments of type 'double'.

please help



Comment only
29 Mar 2014 River

River (view profile)

30 Oct 2012 Oleg

Oleg (view profile)

A working implementation but it's too much oriented onto author's task.

Contact us