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

1 次查看(过去 30 天)
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