필터 지우기
필터 지우기

Train more a Neural Network to have more consistent results every time?

조회 수: 4 (최근 30일)
Hello
Before using Matlab, i was programming my own Neural Networks, and when i trained them long enough, i had the same simulation outputs everytime (approximatively).
Now i use Matlab and on my predictions, i don't always have the same consistent results.
So do i need to train the NN longer?
And how do i do that properly?
thanks!!
Jeff

채택된 답변

Greg Heath
Greg Heath 2015년 11월 11일
Results are different because the initial state of the RNG is different. Therefore you will get different random data divisions and initial weights.
For nontrivial problems this often results in a wide variety of results.
It is not unusual for me to designs 100 nets in a double for loop:
1. Initialize the RNG
2. Outer loop over 10 trial values for number of hidden nodes:
h = Hmin:dH:Hmax
3. Inner loop over Ntrials = 10 different initial RNG states.
i = 1:Ntrials.
I have posted zillions of examples in both the NEWSGROUP and ANSWERS. Search using "greg" with the above code snippets.
Hope this helps.
Thank you for accepting my answer
Greg

추가 답변 (0개)

카테고리

Help CenterFile 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!

Translated by