MATLAB: In different execution different performance comes in the Neural Network same program

MATLABneural network

Why in different execution different performance comes in the Neural Network same program ?

Best Answer

The state of the RNG is different. Therefore the random initial weights and random trn/val/tst data divisions are different.
For examples of initializing the RNG so that runs can be duplicated try searching on
greg rng(4151941)
greg rng(0)
greg rng('default')