# Training

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

## What is Training?

**In one sentence:** Training is the learning phase, when an AI model studies lots of examples and slowly gets better at its task.

During training, the model makes a guess, checks how wrong it was, and nudges its internal numbers to do a little better next time. It repeats this millions or billions of times. Training big models can take weeks and use thousands of powerful computer chips, which makes it very expensive.

![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 Training?

Training a model to recognize birds means showing it many bird photos with their names until it stops making mistakes.

## Why does Training matter?

Everything a model knows comes from training, so the quality of its training decides how good it is.

## Training vs. Inference

Training builds the model by updating its weights from data once (or periodically); inference runs those frozen weights millions of times to answer real users.

| Dimension | Training | [Inference](https://getaimath.com/dictionary/inference/) |
| --- | --- | --- |
| Goal | Learn patterns and update weights | Use learned weights to produce outputs |
| Weights change? | Yes, every optimization step | No, weights stay frozen |
| Compute pattern | One-time (or periodic) massive GPU cluster job | Continuous per-request cost on every user query |

## Related Concepts

- [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.
- [Inference](https://getaimath.com/dictionary/inference/): Inference is when a trained AI model is actually used to give answers, instead of still learning.
- [Artificial Neuron](https://getaimath.com/dictionary/artificial-neuron/): An artificial neuron is the smallest building block of a neural network: it takes in numbers, mixes them, and passes one number on.
- [Supervised Learning](https://getaimath.com/dictionary/supervised-learning/): Supervised learning is training an AI with examples that already have the right answers attached.
- [Neural Network](https://getaimath.com/dictionary/neural-network/): A neural network is a computer system made of many tiny math units connected together, loosely inspired by how brain cells connect.
- [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.

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