different result is obtained for the same input using self-organizing map

조회 수: 1 (최근 30일)
liangjian
liangjian 2012년 2월 28일
댓글: Mahmoud ELKAFAFY 2019년 10월 14일
I used Neural Network Toolbox to train a self-organizing map for a given data set. I found that each run gave me a quite different result, like different "sample hits map". How to understand this difference? I just followed the standard routine, like
net = selforgmap([8 8]);
net = train(net, testInput);

답변 (1개)

Greg Heath
Greg Heath 2012년 3월 3일
Initialize the random number generator to the same intial state; otherwise the results will be different.
Hope this helps.
Greg
  댓글 수: 1
Mahmoud ELKAFAFY
Mahmoud ELKAFAFY 2019년 10월 14일
But, if you change the initialization of random number generator (e.g., rng(7) instaed of rng(3) for insatance), you will still get different results.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Function Approximation, Clustering, and Control에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by