Effacer les filtres
Effacer les filtres

how to find accuracy from confusion matrix having 4 x4 dimensions

1 vue (au cours des 30 derniers jours)
Siyab Khan
Siyab Khan le 13 Mar 2019
Commenté : Rik le 21 Mar 2019
I have used the following function for finding confusion matrix c=confusionmat(x,y)
it gives me output like that ,
C =
0 4 0 0
0 0 0 0
0 0 0 0
0 0 4 0
now i want to find accuracy and f_measure from this confusion matrix
  2 commentaires
Yasasvi Harish Kumar
Yasasvi Harish Kumar le 14 Mar 2019
Hi,
Whats the function? Please include it.
Rik
Rik le 21 Mar 2019
The F-statistic is a different matter (a Google search should help you find a way to calculate that), but since there are no values on the diagonal, you can immediately see that the accuracy is 0.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by