How can i create a SVM in the case of multiclass classification?

37 views (last 30 days)
Hi,
I wrote a code for the identification of digits, now i need to create a svm classifier, but in my case i have more than two classes, in fact i have 10. I have to use the one vs one approach, and if i understood the method correctly i need to train N(N-1)/2 (in my case 45) classifiers to discriminate each pair and then tale the classifier which got more votes. How can i do that? Thanks

Answers (1)

Madhav Thakker
Madhav Thakker on 14 Feb 2021
Hi Fabrizio,
This question should give you a basic idea how to do multiclass classiifcation using one-vs-one SVMs. https://in.mathworks.com/matlabcentral/answers/259582-one-vs-one-svm-multiclass-classification-matlab-code
Hope this helps.

Tags

Community Treasure Hunt

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

Start Hunting!