Hi. I want to compare performance of neural network depending on training algorithm.
[net,tr] = train(net,inputs,targets,inputStates,layerStates);
[net1,tr1] = train(net1,inputs,targets,inputStates,layerStates);
Now the problem is that when I do
plotperform(tr,tr1) %%first variant
plotperform(tr,t,tr1,t) %%sendond variant
I get errors. If I do
plot(tr.perf,t,tr1.perf,t)
I get plots that are very undetalized, they almost look like straight lines. So my question is is it possible to use plotperf function to plot several neural nets at a time? or at least how to increase detalization of plot function, because it simplifies performance curve too much compared to plotperf.

 Akzeptierte Antwort

Greg Heath
Greg Heath am 23 Nov. 2015

0 Stimmen

plotperform only takes one tr as input.
You can use plot. However, you have to provide the details yourself.
To plot multiple curves you have to provide input and output for each curve
plot(x1,y1,x2,y2,... )
Hope this helps.
Greg

2 Kommentare

Dmitry Devjatykh
Dmitry Devjatykh am 23 Nov. 2015
Is it possible to increase detalization of plot? no matter how i zoom it, figures are significantly less detalized compared to plotperform
Yes, it is. However, I cannot help with that. Your best bet is to look at the source code via
type plotperform
Greg

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by