How can i create a SVM in the case of multiclass classification?
18 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Madhav Thakker
2021-2-14
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!