How to detect overfitting in neural network?

7 views (last 30 days)
Hi everyone,
I am using matlab neural network for function fitting and I want to understand if there is an overfitting or not. Can these graphs tell me whether there is an overfitting or not?

Accepted Answer

Chunru
Chunru on 28 Apr 2023
It looks that the overfitting is not occuring in your case since the validation performance still keep improving.
Overfitting occurs when training performance is still improving while validation performance becomes worse.
For your case, both training and validation performances are still improving (error reducing) so you can keep training the model for further performance improvement.
The "best" (circle on green curve) shows that the latest model is the best. Thus there is still room for further improvement.

More Answers (0)

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!