how to plot classification confusion matrix?

1 次查看(过去 30 天)
*??? 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!!!

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Deep Learning Toolbox 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by