MATLAB Answers

Classifiers. How can i draw 3-D plot ?

2 views (last 30 days)
Pramod Bhat
Pramod Bhat on 2 Apr 2012
Hai friends, I am trying to use SVM and Naive Bayes classifiers given in MATLAB for 3-class classification. Can they be used used as multi-class classifiers ?
If yes, in case of SVM classifier how can i modify the functions 'svmclassify' and 'svmtrain' given in matlab to show 3-d plots ?
Thanks in advance-)

Answers (2)

Richard Willey
Richard Willey on 2 Apr 2012
The SVM implementation in Bioinformatics Toolbox is limited to binary classification.
The Naive Bayes classifier in Statistics Toolbox is able to perform multiclass classification. (As can boosted and bagged decision trees, linear discriminant analysis, ...)
  1 Comment
Pramod Bhat
Pramod Bhat on 3 Apr 2012
Thanks for the help.
Could you please elaborate second part of your answer ? And can you please give me SVM code for multi-class ?

Sign in to comment.


Richard Willey
Richard Willey on 3 Apr 2012
I have a webinar entitled An Introduction to Classification with MATLAB.
The code is available for download from the file exchange. http://www.mathworks.com/matlabcentral/fileexchange/28770-introduction-to-classification

Community Treasure Hunt

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

Start Hunting!