# Supervised Learning

- **Canonical URL:** https://getaimath.com/dictionary/supervised-learning/
- **Topics:** [AI & Machine Learning Fundamentals](https://getaimath.com/dictionary/category/ai-and-machine-learning-fundamentals/)
- **Last updated:** 2026-11-25

## What is Supervised Learning?

**In one sentence:** Supervised learning is training an AI with examples that already have the right answers attached.

It is like learning with a teacher who marks every answer. Each example comes with a label, such as a picture tagged "cat" or an email tagged "spam." The model guesses, compares its guess with the correct label, and fixes itself. After enough practice, it can label new examples on its own.

![Training vs. Inference: Studying Flashcards vs. Taking the Test — Simple cartoon diagram comparing AI Training (studying 1,000 flashcards and fixing mistakes until the brain learns the pattern) with AI Inference (answering a brand-new question in 1 second on test day).](https://getaimath.com/diagrams/ai-and-machine-learning-fundamentals.png)
*Napkin Diagram (AI & Machine Learning Fundamentals): Training is the long study session where the AI learns from examples; inference is test day when you actually use it.*

## What is an example of Supervised Learning?

Showing a model thousands of house photos with their prices so it can guess the price of a new house is supervised learning.

## Why does Supervised Learning matter?

Many everyday AI tools, like spam filters and photo tagging, are built with supervised learning.

## Supervised Learning vs. Unsupervised Learning

Supervised learning trains on examples with explicit answer labels attached, whereas unsupervised learning discovers hidden groups and structure in raw unlabeled data.

| Dimension | Supervised Learning | [Unsupervised Learning](https://getaimath.com/dictionary/unsupervised-learning/) |
| --- | --- | --- |
| Training data | Inputs paired with ground-truth labels | Unlabeled inputs only |
| Everyday analogy | Flashcards with answers on the back | Sorting a mixed jar of buttons by shape |
| Classic tasks | Spam detection, price prediction | Customer clustering, anomaly discovery |

## Related Concepts

- [Inference](https://getaimath.com/dictionary/inference/): Inference is when a trained AI model is actually used to give answers, instead of still learning.
- [Unsupervised Learning](https://getaimath.com/dictionary/unsupervised-learning/): Unsupervised learning is when an AI looks for patterns in data that has no labels or right answers.
- [Training](https://getaimath.com/dictionary/training/): Training is the learning phase, when an AI model studies lots of examples and slowly gets better at its task.
- [Semi-supervised Learning](https://getaimath.com/dictionary/semi-supervised-learning/): Semi-supervised learning trains an AI with a small amount of labeled data and a large amount of unlabeled data.
- [Perceptron](https://getaimath.com/dictionary/perceptron/): A perceptron is one of the first and simplest artificial neurons, invented in 1958, that makes a yes-or-no decision.
- [Self-supervised Learning](https://getaimath.com/dictionary/self-supervised-learning/): Self-supervised learning is when an AI makes its own practice questions from raw data, so no human labels are needed.

---
Source: The AI Math Dictionary (https://getaimath.com/dictionary/supervised-learning/)
