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

3 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by