MATLAB: How to get confusion matrix when neural network toolbox is used

Deep Learning Toolboxneural networks

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?

Best Answer

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
Performance
Training State
Error Histogram
Confusion
Receiving Operating Characteristic
Hope this helps.
Thank you for formally accepting my answer
Greg