# Machine Learning (ML)

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

## What is Machine Learning (ML)?

**In one sentence:** Machine Learning is a way of building AI where the computer learns from examples instead of being told every rule.

Imagine teaching a friend to spot ripe bananas. You could write a long list of rules, or you could just show them a hundred bananas and say "ripe" or "not ripe." Machine learning works the second way. The computer looks at many examples, finds the pattern, and then uses that pattern on things it has never seen before.

![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 Machine Learning (ML)?

A spam filter learns what junk email looks like by studying thousands of emails people marked as spam.

## Why does Machine Learning (ML) matter?

Most of the AI you use today is built with machine learning, so it is the main idea behind modern AI.

## Related Concepts

- [Artificial Intelligence (AI)](https://getaimath.com/dictionary/artificial-intelligence-ai/): Artificial Intelligence is when computers do things that usually need a human brain, like understanding words, spotting faces or making choices.
- [Deep Learning (DL)](https://getaimath.com/dictionary/deep-learning-dl/): Deep Learning is a kind of machine learning that uses big neural networks with many layers stacked on top of each other.
- [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.
- [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.
- [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.
- [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.

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