don't use random train of som network
2 ビュー (過去 30 日間)
古いコメントを表示
train for som network use random method (the results differ for the same input data) thought its net.trainFcn = trainbu (not trainr). How to get the same results? I tried chaneged to trains but failed.
0 件のコメント
採用された回答
Greg Heath
2014 年 11 月 7 日
If you initialize the random number generator to the same state, the results will be duplicated.
help rng
doc rng
Hope this helps.
Thank you for formally accepting my answer
Greg
2 件のコメント
Greg Heath
2014 年 11 月 9 日
If you enter the command
net = selforgmap %NO SEMICOLON
you can obtain all of the default properties and settings.
The result depends on the order of processing the points. Randomness mitigates the possibility of not finding a good solution provided you create enough independent designs. Just keep training a single design will probably not improve performance because you may be lying in a deep local min that is much higher than the global min.
Again, multiple designs with different random orderings is, in general, the best learning technique.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Sequence and Numeric Feature Data Workflows についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!