how to get same result for multiple trainings of neural network

6 vues (au cours des 30 derniers jours)
Thirunavukkarasu
Thirunavukkarasu le 30 Sep 2014
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

Réponse acceptée

Greg Heath
Greg Heath le 1 Oct 2014
Initialize the random number generator to the same state before training.
Search for rng in my design posts.
Hope this helps.
Greg

Plus de réponses (0)

Catégories

En savoir plus sur Deep Learning Toolbox dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by