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

3 visualizzazioni (ultimi 30 giorni)
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

Risposte (1)

Madhav Thakker
Madhav Thakker il 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.

Categorie

Scopri di più su Statistics and Machine Learning Toolbox in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by