Is it possible to subplot confusion matrices?

Viewed 1493

I'm plotting several confusion matrices using plot_confusion() function and I want to put them in a subplot (2x5 figures), but it does not seem to work.It displays every confusion matrix separately. Are there any restriction for plotting confusion? Thanks!

figure

Subplot(2,1,1);

plotconfusion(targets,outputs,'train');

subplot(2,1,2);

plotconfusion(targets1,outputs1,'test')
1 Answers
Related