THE DIFFERACE RESULT IN NEURAL NETWORK PROBLEM
2 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
采纳的回答
Greg Heath
2014-6-19
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
6 个评论
Greg Heath
2014-6-21
What are the sizes of your training, validation and test sets?
What range of hidden node values are you searching over?
How many random initial weight initializations for each hidden node value?
What are the trn/val/test R-squared values for the "best" (i.e. max(R2val)) design?
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!