Borrar filtros
Borrar filtros

can't view confusion matrix in matlab

4 visualizaciones (últimos 30 días)
sherok mohamed
sherok mohamed el 21 de Jul. de 2017
Editada: YT el 14 de Dic. de 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

Respuestas (2)

Greg Heath
Greg Heath el 23 de Jul. de 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 el 14 de Dic. de 2017
Editada: YT el 14 de Dic. de 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.

Categorías

Más información sobre Image Data Workflows en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by