how to get confusion matrix when neural network toolbox is used?
Show older comments
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?
Accepted Answer
More Answers (1)
B.k Sumedha
on 20 Jun 2015
0 votes
As soon as you train the network you get the option to plot the confusion matrix.Take a look at this pdf.
4 Comments
pranjal
on 24 Jun 2015
B.k Sumedha
on 25 Jun 2015
Edited: B.k Sumedha
on 25 Jun 2015
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
on 25 Jun 2015
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
on 25 Jun 2015
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.
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!