why will multiple time training generate different result as I initialize network manually?

I have created a function fitting neural network with different input parameters so I need to compare them. But here is the problem that multiple time training with a specific set of input generates different results and there is no stable answer to compare with performance of other networks. I want to know what the problem is. As I initialized the networks with specific weights and biases and inputs. I hope to hear about my problem ASAP.

 採用された回答

Greg Heath
Greg Heath 2013 年 5 月 26 日

0 投票

Although you avoided random weight initialization by assigning initial weights, you did not avoid the random data division.
Why not initialize the RNG to the same initial state via
rng(0) net = fitnet(10);
Hope this helps.
Thank you for formally accepting my answer
Greg

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeDeep Learning Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by