Take the 2-minute tour ×

I wish to implement multi-class SVM using one-vs-one method on fisheriris data in MATLAB.

How can I do so ?

share|improve this question
(-1) it's only courtesy to upvote for those that spend some of their time to help you ... –  user677656 Apr 7 '12 at 13:49
Downvoting to make others upvote too is bad ... was'nt available to upvote.. –  user671805 Apr 14 '12 at 6:09

1 Answer 1

up vote 4 down vote accepted

You can use the libsvm library for SVMs.

You can train an svm with:

model = svmtrain(features, labels);

and make predictions:

predictions = svmpredict(features);

By default, if there are multiple values in 'labels', libsvm does 1vs1 classification.

share|improve this answer

Your Answer


