How to know what initial weights and biases were used by 'train' function?

Hi!
Is there any way to know what values of initial weights and biases were used by the 'train' function in the MATLAB neural network toolbox, if the net was created using 'patternnet'?
Thanks.

 채택된 답변

Greg Heath
Greg Heath 2015년 1월 6일

0 개 추천

1. Reset the random-number generator and weights (ideally zero) to the state that existed at the call of train
2. Set the training rate to it's lowest allowable value
3. Set the number of training epochs to 1
4. Either use getwb or net.IW, net.b and net.LW
Hope this helps.
Thank you for formally accepting my answer
Greg

댓글 수: 1

Thank you Greg! It seems there is no direct way to know the initial weights using, say, the tr structure returned by the train function.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

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

제품

질문:

2015년 1월 6일

댓글:

2015년 1월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by