MATLAB: THE DIFFERACE RESULT IN NEURAL NETWORK PROBLEM

Deep Learning ToolboxImage Processing Toolboxneural networkneural networks

Hi
I hope someone can help me with my question.
When I run the backprop neural network more than once on the same data set i get a different set of results. (the predicted results are different each time). Is there a way to train the Neural Network to output the same (lowest error predictions) if you run the code more than once for the same data set ? when enter the testimage for first time will classify as first class but when rerun the program with same testimage will classify as second class.. how can solve this problem …this is my file Thanks

Best Answer

if you are using a saved net that has been previously trained, this should not happen.
If you are setting the RNG to the same initial state before retraining, this should not happen.
Hope this helps.
Thank you for formally accepting my answer
Greg