What is overfitting in classification models?

Updated May 15, 2026

Short answer

Overfitting occurs when a model learns noise instead of general patterns.

Deep explanation

The model performs well on training data but poorly on unseen data due to excessive complexity.

Real-world example

A spam classifier memorizing specific emails instead of patterns.

Common mistakes

  • Using overly complex models without regularization.

Follow-up questions

  • How can overfitting be reduced?

More Classification interview questions

View all →