Effacer les filtres
Effacer les filtres

can't view confusion matrix in matlab

4 vues (au cours des 30 derniers jours)
sherok mohamed
sherok mohamed le 21 Juil 2017
Modifié(e) : YT le 14 Déc 2017
Could you help me , I want to show my confusion matrix in readable view, as I have 18 classes so I got non readable confusion matrix when I click confusion button on neural network tool box like that image
Please help me to view it like this
I tried plotconfusion function but I got the all confusion matrix but I need the training and testing matrix
  1 commentaire
sherok mohamed
sherok mohamed le 22 Juil 2017
Any body can help me pleaaaaaase :(

Connectez-vous pour commenter.

Réponses (2)

Greg Heath
Greg Heath le 23 Juil 2017
Use the training record tr from [ net tr ] = train(net,x,t) to find the separate sets of tr/val/tst indices. From these you can use plot confusion to get the 3 separate confusion matrices.
You may want to take a good look at those matrices to see which classes never get confused with each other. Then you may be able to use plotconfusion to obtain several submatrices that simplify the understanding of the misclassifications.
Hope this helps.
Thank you for formally accepting my answer
Greg

YT
YT le 14 Déc 2017
Modifié(e) : YT le 14 Déc 2017
You could try an answer provided here:
You can extract the handles of the plotconfusion figure and re-plot them to on a new figure to have a better view.

Catégories

En savoir plus sur Image Data Workflows 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