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!