In the last post we defined machine learning as a rule that comes from examples. People also say AI, deep learning and sometimes all three in the same sentence, so the words blur. The result is that two people can talk for ten minutes and mean different things. We fix that here with one picture and one example for each term.
Three layers, one inside the other
| Term | What it covers | Example |
|---|---|---|
| Artificial intelligence | Any software that does a task we link to human thinking | A chess program that searches moves by fixed rules |
| Machine learning | AI methods that learn patterns from data | A model that predicts which customers will churn |
| Deep learning | Machine learning with many-layer neural networks | A model that reads text or recognises images |
The chess example shows why AI is wider than machine learning. A program can play well with rules that a person wrote, and nothing in it learns from data.
Where deep learning fits
A neural network is a model built from many small calculations that feed one another. Deep learning means that the network has many layers of them. These models usually need much more data and computing power than a simple model. For rows and columns in a table, simpler models often work as well, and they are easier to explain.
- For a table of customers and orders, a simple model is usually enough to start.
- For free text, images and audio, deep learning is the common choice.
Which term should an analyst care about
Start with machine learning, since its ideas of features, labels and testing carry into the other two. In most databases, the data that an analyst works with is tabular. That is the setting where machine learning with simple models is the practical first step.
When a colleague says "we use AI for this", ask one question. What goes in and what comes out? The answer tells you whether it is a rule, a learned model or a large neural network.


