how to plot classification confusion matrix?

1 Ansicht (letzte 30 Tage)
Muhamad Jaliluddin Mazlan
Muhamad Jaliluddin Mazlan am 19 Dez. 2013
Beantwortet: Garry Maker am 3 Mai 2015
*??? 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!!!

Antworten (1)

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

Community Treasure Hunt

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

Start Hunting!

Translated by