フィルターのクリア

Support vector machine output parameters for one-vs-one classification?

2 ビュー (過去 30 日間)
Imran Riaz
Imran Riaz 2022 年 9 月 30 日
回答済み: Kartikay Sapra 2022 年 10 月 3 日
I have done training and testing stage. I used SVM for my 90 different classes and performed one-vs-one and one-vs-all classification. I got the results of pecision, recal and F1 score for both OvO and OvA(also confusion matrix). Now how I have to put these results in my paper? Which is the best way? Either i need curves or plot some graphs.

採用された回答

Kartikay Sapra
Kartikay Sapra 2022 年 10 月 3 日
You can use the following in-built functions to compute and plot Confusion Matrix:
%Assuming y is the true label vector, and pred_y is the predicted label vector
>> confusion_mat = confusionmat(y, pred_y)
>> confusionchart(confusion_mat) %to plot the confusion matrix
Refer to:
For other useful plots:

その他の回答 (0 件)

カテゴリ

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

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by