how to get confusion matrix when neural network toolbox is used?
显示 更早的评论
i have used NN toolbox for classification. after network is trained, "performance plot", "regression plot" and "training state plot" options are displayed. there is no option for displaying confusion matrix. how can i get it?
采纳的回答
更多回答(1 个)
B.k Sumedha
2015-6-20
0 个投票
As soon as you train the network you get the option to plot the confusion matrix.Take a look at this pdf.
4 个评论
pranjal
2015-6-24
B.k Sumedha
2015-6-25
编辑:B.k Sumedha
2015-6-25
I think you need to use certain commands like given in below document. Upto my knowledge you cant directly plot the matrix just my using nntool. http://in.mathworks.com/help/nnet/ref/plotconfusion.html
Greg Heath
2015-6-25
Of course you can
[x,t] = simpleclass_dataset;
net = patternnet;
net = train(net,x,t);
y = net(x);
The nntool automatically pops up with the following option buttons
Performance
Training State
Error Histogram
Confusion
Receiver Operating Characteristic
Just click on the button
Hope this helps.
Thank you for formally accepting my ABOVE answer
Greg
B.k Sumedha
2015-6-25
Yes and its obvious that it must pop-up. But just using the
'nntoool' command window you cant get those buttons which you have specified.
类别
在 帮助中心 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!