Filter löschen
Filter löschen

can't view confusion matrix in matlab

4 Ansichten (letzte 30 Tage)
sherok mohamed
sherok mohamed am 21 Jul. 2017
Bearbeitet: YT am 14 Dez. 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

Antworten (2)

Greg Heath
Greg Heath am 23 Jul. 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 am 14 Dez. 2017
Bearbeitet: YT am 14 Dez. 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.

Community Treasure Hunt

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

Start Hunting!

Translated by