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

24 ビュー (過去 30 日間)
Fabrizio Lepori
Fabrizio Lepori 2021 年 2 月 11 日
回答済み: Madhav Thakker 2021 年 2 月 14 日
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

回答 (1 件)

Madhav Thakker
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
Hope this helps.

カテゴリ

Help Center および File ExchangeClassification についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by