How can i create a SVM in the case of multiclass classification?
20 views (last 30 days)
Show older comments
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
0 Comments
Answers (1)
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
You can also have a look at Multiclass model for support vector machines (SVMs) and other classifiers.
Hope this helps.
0 Comments
See Also
Categories
Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!