how to get confusion matrix when neural network toolbox is used?

21 views (last 30 days)
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

Greg Heath
Greg Heath on 21 Jun 2015
Feedforwardnet is a generic net that NEVER has to be called directly.
Use fitnet for regression/curvefitting and use patternnet for classification/pattern-recognition. Both call feedforwardnet internally with the appropriate options.
Using patternnet, the plot options are
Training State
Error Histogram
Receiving Operating Characteristic
Hope this helps.
Thank you for formally accepting my answer

More Answers (1)

B.k Sumedha
B.k Sumedha on 20 Jun 2015
As soon as you train the network you get the option to plot the confusion matrix.Take a look at this pdf.
B.k Sumedha
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.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!