MATLAB: ,the overallperformance in the confusion matrix changed although i used the same number of hidden layer

neural network

when i repeat the classification by nn and by the same number of hidden layer ,the overall-performance in the confusion matrix changed (96-100-98 …etc) what is the wrong thanks and best regards

Best Answer

Most likely you did not initialize the random number generator to the same initial state.
Hope this helps,
Thank you for formally accepting my answer
Greg