Overfitting and Underfitting in Machine Learning

Updated on January 30, 2026 6 minutes read

Modern data scientist analyzing overfitting and underfitting charts on a monitor while coding on a laptop in a bright office workspace

Frequently Asked Questions

How do I know if my model is overfitting?

A common sign is a large gap between training and validation/test results: the model scores high on training data but drops on unseen data. Confirm with cross‑validation and learning curves, and rule out data leakage.

Can more data fix overfitting?

Often, yes, if the added data is diverse and representative of production. More coverage reduces variance and makes it harder for the model to memorize noise, but evaluation and leakage checks still matter.

What’s the fastest way to address underfitting?

Start by increasing model capacity (or choosing a more flexible algorithm) and improving features. If you’re using strong regularization or very restrictive hyperparameters, relax them and re‑evaluate with a consistent validation setup.

Career Services

Personalized career support to help you launch your tech career. Get résumé reviews, mock interviews, and industry insights—so you can showcase your new skills with confidence.