can't view confusion matrix in matlab
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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
Réponses (2)
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
0 commentaires
Voir également
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!