how to get same result for multiple trainings of neural network
2 次查看(过去 30 天)
显示 更早的评论
I made Neural Network in MATLAB . When I train it with the same inputs and outputs, the training results are different on different runs. I understand that it is happening because the weights are different for each time I run it. My question is how to make initial weights to be the same each time I train my NN so I can get the same results
0 个评论
采纳的回答
Greg Heath
2014-10-1
Initialize the random number generator to the same state before training.
Search for rng in my design posts.
Hope this helps.
Greg
0 个评论
更多回答(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!