How to plot only few classes for confusion matrix?

1 visualización (últimos 30 días)
Niculai Traian
Niculai Traian el 25 de Mzo. de 2019
Respondida: Greg Heath el 25 de Mzo. de 2019
Hello, i have a neural network with 102 classes and i want to plot the confusion matrix for few classes (for example 10). i used the command below to plot the normal confusion matrix but having 102 classes make the confusion matrix unreadable. How can i plot only a number of classes instead of all? Thanks
plotconfusion(YTrain,YPredicted)

Respuestas (1)

Greg Heath
Greg Heath el 25 de Mzo. de 2019
Oviously, you have to subsample the original matrices.
Greg

Categorías

Más información sobre Deep Learning Toolbox en Help Center y File Exchange.

Productos


Versión

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by