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

1 次查看(过去 30 天)
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
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 个评论
TS Sharma
TS Sharma 2015-1-7
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 个)

类别

Help CenterFile Exchange 中查找有关 Image Data Workflows 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by