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.

 채택된 답변

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

질문:

2014년 4월 21일

답변:

2014년 4월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by