How to view confusion matrix of neural network?

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.

 Respuesta aceptada

Alexandra Tzilivaki
Alexandra Tzilivaki el 5 de Abr. de 2016
Editada: Alexandra Tzilivaki el 5 de Abr. de 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 comentarios

Explorer
Explorer el 6 de Abr. de 2016
Thank you!
Explorer
Explorer el 6 de Abr. de 2016
With plotconfusion, I am able to see only one confusion matrix. There should be 4 matrices (Training, Validation, Testing, All) like this one:
Hello!
well if you open in your workpace your tr variable there you can find the variables tr.trainInd, for training results , the tr.valInd and tr.testInd . Use them instead of t,y in order to plot whatever kind of data you wish!
Hope this is helpful!
Greg Heath
Greg Heath el 19 de Abr. de 2016
Nice Answer.
Greg
Hell Greg
Are there any method to show only alll confusion matrix?

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Deep Learning Toolbox en Centro de ayuda y File Exchange.

Preguntada:

el 5 de Abr. de 2016

Comentada:

el 22 de Abr. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by