How to view confusion matrix of neural network?
4 views (last 30 days)
Show older comments
Explorer
on 5 Apr 2016
Commented: Pradya Panyainkaew
on 22 Apr 2018
I have created it using npr tool. I also want to plot following things of the network.
There were options to view all these plots after training but I did not saved them at that time. How can I see those plots and confusion matrix now.
Mat file is attached in which there is a network I am talking about.
load it and see if you can let me know the things mentioned above.
0 Comments
Accepted Answer
Alexandra Tzilivaki
on 5 Apr 2016
Edited: Alexandra Tzilivaki
on 5 Apr 2016
If you have saved t(=targets), y=(outputs), x(=inputs), net and tr then simply plot:
% Plots
figure; plotconfusion(t,y);
figure; plotperform(tr);
figure; plottrainstate(tr);
figure; ploterrhist(e);
figure; plotfit(net,x,t);
figure; plotregression(t,y);
5 Comments
More Answers (0)
See Also
Categories
Find more on Pattern Recognition and Classification in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!