Clear Filters
Clear Filters

how to plot classification confusion matrix?

1 view (last 30 days)
*??? Error using ==> confusion at 57 Targets and outputs have different dimensions.
Error in ==> plotconfusion>plot_figure at 259 [c,cm] = confusion(t,y);
Error in ==> plotconfusion>update_figure at 106 plot_figure(fig,tt,yy,names);
Error in ==> plotconfusion at 80 update_figure(fig,tt,yy,names);
Error in ==> mlp_fold2 at 42 plotconfusion(ou, testResult1);* <<<error appear after run code
trainOutput2, d, data, in, net, ou, testInput, testResult1, trainInput, trainOutput <<< workspace display
kindness Expert, can u teach me how to plot confusion matrix for classification using mlp..i also have try the code but the matrix just display the grid no result...please help me give the correct code..thank you!!!

Answers (1)

Garry Maker
Garry Maker on 3 May 2015
Explain more what you are trying to do and also read the documentation carefully about plotconfusion.

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!