English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I'm in Matlab.
I have written a script that , for many times, trains a neural network.Unfortunately every times the comand "train" (for training neural network) display a figure.
The problem however is this: how can I avoid that matlab displays many figure ? I don't want one figure (this simple with "hold on"), I WANT NO FIGURES?
Thanks , best regard

2007-11-01 08:53:49 · 2 answers · asked by thiusthius 1 in Science & Mathematics Mathematics

A clarificaiont: I need that line of script that train the neural network, but I don't want that line draw the figure too: I would like thatht he command "train" trains neural networks without draws picturs.
thanks

2007-11-01 09:27:56 · update #1

2 answers

You'll have to find the part of the script that displays the figure. put a % in front of the lines that deal with displaying the figure. This will change these lines to comments.

Edit:
You'll need to find the line containing "flag_stop=plotperf(tr,goal,this,epoch);"
And change this to a comment. Probably in the train.m file that you are using. If you don't want to mess around with the original file, you can save it as something else. Like train2.

The source link I provided might help. That's where I got my edited answer.

2007-11-01 09:08:07 · answer #1 · answered by Demiurge42 7 · 0 0

in net.trainParam.show set the value to Nan as follows

net.trainParam.show='Nan'

its part of the config for the train function. You can find more information by using "helpwin train" or "helpwin trainlm".

EDIT: If you are interested in batch processing of training you should check out the "trainb" command.

2007-11-05 16:17:30 · answer #2 · answered by Curly 6 · 0 0

fedest.com, questions and answers