Whenever i run my neural network I get different result in nftool
1 次查看(过去 30 天)
显示 更早的评论
I built my neural network using only nftool without writing code.Whenever i run my neural network I get different result. What can I do to have the same result?
0 个评论
回答(1 个)
Walter Roberson
2018-8-23
This is expected. The default initialization function for weights is random.
You can use rng() before every run that initializes the weights, or you can use a custom weight initialisation that is not random.
8 个评论
另请参阅
类别
在 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!