juniorKeras
What is overfitting in Keras models?
Updated May 16, 2026
Short answer
Overfitting occurs when a model performs well on training data but poorly on new data.
Deep explanation
The model memorizes noise instead of learning general patterns.
Real-world example
A fraud model that fails on new transactions.
Common mistakes
- Training too long without validation checks.
Follow-up questions
- How to prevent overfitting?
- What is early stopping?