How to know what initial weights and biases were used by 'train' function?
2 views (last 30 days)
Show older comments
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.
0 Comments
Accepted Answer
Greg Heath
on 6 Jan 2015
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
More Answers (0)
See Also
Categories
Find more on Image Data Workflows in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!