plott the performance of the Neural Network

3 views (last 30 days)
Rafa
Rafa on 6 Nov 2011
Hi, I am creating a neural network and the end of the code graph is plotted the performance of the Neural Network. I'm not able to save the graph generated in *. jpg.
Could you help me?
Below is a piece of code
.
.
net =newff(p,t,3);
net.trainParam.epochs = 30000;
net.trainParam.goal = 0;
[net,tr]=train(net,p,t);
plotperform(tr)
y = sim(net,p)
e = t-y
perf = mse(e)
thank you

Answers (1)

Greg Heath
Greg Heath on 23 Nov 2011
The training history is contained in the output structure tr. Use this to create your own plot.
Hope this helps.
Greg

Categories

Find more on Sequence and Numeric Feature Data Workflows 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!