# Machine Learning

> A way to build AI. The computer learns the rules from data. People do not write them.

**Field:** Artificial Intelligence  
**Category:** Machine Learning  
**Also known as:** ML

## Think of it like

Think of it like a kid who sees lots of dogs. Soon the kid can spot a dog.

## Definition

Machine learning is a way to build AI where the computer learns from examples. People do not write the rules by hand. They give the computer lots of data and the right answers. The computer finds the patterns that link them. Then it uses those patterns on new data it has never seen.

## Example

Lucy's email service shows a model 100,000 emails marked spam or not spam. It learns the signs of spam and now sorts new mail by itself.

## Why it matters

Almost all AI today is built this way. It works on jobs where the rules are too many for anyone to write down.

## Common mistake

Thinking machine learning and AI are the same thing. Machine learning is one way to build AI, and today it is the main one.

## Three principles

- **Learns from data.** Not from rules people write.
- **Finds patterns.** Links the data to the answers.
- **Works on new data.** Uses what it learned on new cases.

## Related terms

- [Artificial Intelligence (AI)](https://learn.benibix.com/term/ai/artificial-intelligence)
- [Deep Learning](https://learn.benibix.com/term/ai/deep-learning)
- [Training (AI)](https://learn.benibix.com/term/ai/training)
- [Training Data](https://learn.benibix.com/term/ai/training-data)
- [Supervised Learning](https://learn.benibix.com/term/ai/supervised-learning)
- [AI Model](https://learn.benibix.com/term/ai/ai-model)
- [Pattern Recognition](https://learn.benibix.com/term/ai/pattern-recognition)

## Told apart from

- [Artificial Intelligence vs Machine Learning](https://learn.benibix.com/compare/artificial-intelligence-vs-machine-learning): People often use AI and machine learning as if they were the same word. They are not. AI is the goal of making computers do thinking jobs. Machine learning is one way to reach that goal, by learning from examples. Today it is the main way, but rule-based programs are AI too.

## Taught in

- [Machine Learning Basics](https://learn.benibix.com/learn/ai-machine-learning/machine-learning-basics): Machine Learning, 1/18

![Three circles, one inside the next. The outer circle is artificial intelligence, the middle one is machine learning, and the inner one is deep learning.](https://learn.benibix.com/diagrams/ml-ai-ml-dl.svg)

---

Source: https://learn.benibix.com/term/ai/machine-learning
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
