File Exchange

image thumbnail

Naive Bayes Classifier

version 1.0 (352 KB) by

Script for Naive Bayes Classifier in Matlab 2008a

4.66667
3 Ratings

22 Downloads

Updated

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 <http://www.mathworks.com/matlabcentral/fileexchange/28770-introduction-to-classification>

Comments and Ratings (7)

can you please explain what are this coding for?
[pv0,id]=max(P,[],2);
for i=1:length(id)
pv(i,1)=yu(id(i));

I have a question. Can you help me? Thanks.

P(j,:)=fy.*prod(fu,2)';

can you tell me what does it mean please.

chirag

chirag (view profile)

working well.. Thankx

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

thanks

Preeti

River

River (view profile)

Oleg

Oleg (view profile)

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

MATLAB Release
MATLAB 7.6 (R2008a)
Acknowledgements

Inspired by: Introduction to Classification

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

» Watch video