Which epoch is the training result of the train function
Show older comments
I see a strange (training) performance degradation at the moment in a neural network structure that I am using. Quick question:
What epoch does the trained network that the train function returns belong to? Always the best epoch? or the very last one? Because currently I see the best epoch somewhere in the middle of my training and then the performance decreases significantly. If the very last epoch was output, then I know why my performance is decreasing.
Accepted Answer
More Answers (1)
David Franco
on 31 Aug 2020
For a shallow neural network you can use the code:
net.trainParam.max_fail = x
where x is the number of fails in increase the performance.
This is the validation fail parameter. The default value is 6.
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!