# Overfitting and Underfitting

A model that memorizes its training rows scores almost perfectly on them and much worse on rows it never saw (overfitting), a model too simple for the pattern scores low on both (underfitting), and putting the training score beside the test score is how you tell them apart.

![Cheat sheet: Overfitting and Underfitting](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/50c2986f4f4245888da7aaa8513cd1db.webp)

- Category: Machine Learning
- Level: Journeyman
- Tags: ai, Bias-Variance Tradeoff, Overfitting, python, Test Data, Training Data, Underfitting
- Author: Gregor Dzierzon
- Updated: November 23, 2026

Source: https://www.ask-codey.com/cheat-sheets/ml-overfitting-and-underfitting-cheat-sheet
