How to record the data of weights and bias after every training by using neural network toolbox?

Hi, everyone.I want your help and suggestions. As the title of the question, I want to record the data of the weights and bias modified after every training except the final data after the total training by using the neural network toolbox. For example,
net= newff(physchars,sex,20,{'logsig','purline'},'traingd','learngd','mse'); net.trainFcn='traingd'; net.trainparam.epochs=100; net.trainparam.lr=0.01; [net,tr] = train(net,physchars,sex);
I want to record data of weights and bias durning the 100 times of epochs training.
Can anybody give me some suggestions? Thanks and wait for your response. I am using Matlab 2013b.

 Akzeptierte Antwort

Train in a loop of 1-epoch adjustments. Store the weights at the end of each pass.

Weitere Antworten (0)

Kategorien

Mehr zu Deep Learning Toolbox finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 21 Apr. 2014

Beantwortet:

am 23 Apr. 2014

Community Treasure Hunt

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

Start Hunting!

Translated by