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.

 Accepted Answer

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

More Answers (0)

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Asked:

on 17 May 2013

Community Treasure Hunt

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

Start Hunting!