Neural Network initialization?
14 ビュー (過去 30 日間)
古いコメントを表示
Hi, for the ones familiar with Neural Network , does this code initialize weights and biaises, or should I initialize them ? thank you ! n=5; net=feedforwardnet(n); net=configure(net,inputs,targets);
0 件のコメント
回答 (1 件)
Greg Heath
2018 年 2 月 4 日
MATLAB will automatically initialize unweighted nets before training.
MATLAB will continue to train a preweighted net
Therefore, if you are training a net multiple times in a for loop, you should use INIT or CONFIGURE at the top of the loop to initialize a new design.
I have posted zillions of examples of double for loop designs in both the NEWSGROUP (comp.soft-sys.matlab) and ANSWERS. Search
greg for i=1:Ntrials
Hope this helps
Thank you for formally accepting my answer
Greg
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Deep Learning Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!