MATLAB Answers

0

How to plot only few classes for confusion matrix?

Asked by Niculai Traian on 25 Mar 2019
Latest activity Answered by Greg Heath
on 25 Mar 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)

  0 Comments

Sign in to comment.

1 Answer

Answer by Greg Heath
on 25 Mar 2019

Oviously, you have to subsample the original matrices.
Greg

  0 Comments

Sign in to comment.