Supervised vs Unsupervised vs Reinforcement Learning, Explained
The three main ways a machine learns, what each one needs, and where each one fits, explained simply for your AI interview.
In short
Supervised learning learns from examples that come with the right answer. Unsupervised learning finds patterns in data with no answers. Reinforcement learning learns by trying actions and getting rewards or penalties from the results.
10 min readBeginnerVery common · estimateFacts checked 26 November 2026
Say it out loud
Read it once, then say it without looking. Start with the short one; use the long one when they ask you to go deeper.
There are three main ways a machine learns. Supervised learning gets examples with the right answer attached, like past claims marked fraud or genuine, and learns to predict the answer for new ones. Unsupervised learning gets data with no answers and finds groups or patterns by itself. Reinforcement learning tries actions and learns from rewards and penalties over time, like a dispatcher scored on on-time deliveries. Each one needs something different: labels, raw data, or a safe way to score results.
Think of the three as three ways someone can learn a job. In supervised learning, a model gets training examples, each one with its correct answer attached. A bank can give it three years of card payments, each one marked fraud or genuine by its fraud team. The model learns the pattern, then predicts the mark for payments it has never seen. The hard part is getting the labels, because a person has to mark each example.
In unsupervised learning, there are no answers. An insurer with 400,000 old claims and no outcome tags can ask an algorithm to group claims that look alike. It might find a cluster of low-value glass repairs from one region. Nobody told it what the groups mean, so a person must name them and check they are useful. Reinforcement learning is different again. An agent takes actions, gets a reward or a penalty, and adjusts. A delivery dispatcher scored on on-time drops can learn better choices over many trials. The danger is that early bad choices cost real customers, so teams test in a simulator first.
In practice I start from the data. Do we have correct answers for past cases? Then use supervised learning. Do we only have raw data and want groups? Use unsupervised. Can we score each action and test it safely? Then reinforcement is worth considering. Generative models learn first from huge amounts of data with no answers, and are sometimes tuned further with examples or rewards.
What are supervised, unsupervised and reinforcement learning, in plain words?
Machine learning means a program learns patterns from data, instead of following rules a person wrote by hand. The three types differ in one thing: what feedback the learner gets while it learns.
Picture a new claims handler at an insurer. The manager gives them old files already marked approved or rejected, and they learn from those marks. That is the supervised way. Later, a pile of unmarked files arrives, and the handler sorts them into piles that look alike. That is the unsupervised way. Last, the handler is scored on how fast claims settle, and keeps the habits that raise the score. That is the reinforcement way. Here are the same three ideas in real AI work.
Key words
- Label
- The correct answer attached to an example, such as fraud or genuine.
- Training data
- The examples a model learns from before it is used on new cases.
- Reward
- A score that says how good an action was. A penalty is a negative reward.
- Policy
- The learned rule for which action to take in each situation.
How does each one learn?
All three start with data and end with a model. What changes is what the data contains, and what tells the model it is doing well.
- Supervised
Right answers given
Each example has a label, and the model learns to predict the label for new cases. Typical jobs: spam filters and house price forecasts.
- Unsupervised
No answers given
The data has no labels. The model finds groups or structure, such as customer segments or similar support tickets.
- Reinforcement
Rewards and penalties
An agent acts step by step, gets a reward, and learns a policy that earns the most reward over time. Typical jobs: training robots, game programs such as AlphaGo, and dispatch.
“Supervised learning uses labeled data to make predictions, often for regression (predicting numerical values) or classification (categorizing data).”
Google for Developers, What is Machine Learning?
“Unsupervised learning identifies patterns in unlabeled data, commonly using clustering to group similar data points.”
Google for Developers, What is Machine Learning?
Each one needs something different. Supervised learning needs labelled data, and labelling costs people time. Unsupervised learning needs a person to check whether the groups it finds mean anything. Reinforcement learning needs a score for each action and a safe place to try them.
Three ways a model learns
Data in
Past claims, marked
each one has its right answer
Claims, no marks
no answers attached
Dispatch, scored
a score after each job
Learner
finds a pattern or a best move
Predicts a label
fraud or genuine, a price
Finds groups
look-alike claims, to name
Learns a policy
the move that earns most reward
- 1Past claims arrive with the right answer marked on each one.
- 2Unmarked claims arrive with no answers at all.
- 3Live dispatch results arrive, each one with a score.
- 4Trained on the marks, the learner predicts the label for new cases.
- 5With no marks, it groups claims that look alike.
- 6From the scores, it learns which moves earn the most reward.
Generative models are first trained without answers, then sometimes tuned further with supervised or reinforcement learning on specific tasks. Google's course says this. Some engineers call that first stage self-supervised, because the text itself supplies the right next word.
Which one fits a real problem, and what makes it hard?
Each type fits a different kind of work, and each one has its own hard part.
Supervised: a bank's card fraud model
About two million card payments a month, with roughly one in a thousand confirmed as fraud (made-up numbers). The fraud team labels past payments. Hard part: labels arrive late, since a customer may dispute a charge weeks after it happens, so last month's model can miss this month's new scam.
Unsupervised: an insurer's old claims
400,000 claims with no outcome tags (made-up numbers). The team asks for 12 groups, and the algorithm sorts the claims into them, for example a group of low-value glass repairs from one region. What makes it tricky: a group is only a hint. A claims lead has to check it, name it, and decide whether it should shape the review queue.
Reinforcement: a delivery dispatcher
A system picks which van takes the next job, and gets a score for on-time drops and fuel. The catch: it can game the score by taking easy short jobs and leaving hard ones late. So teams train it in a simulator and watch the whole queue, not one number.
“As the agent learns from trial and error, it refines its behavior based on a reward signal.”
AWS, What is reinforcement learning?
“For instance, testing a drone in the real world without testing in a simulator first would lead to significant numbers of broken aircraft.”
AWS, What is reinforcement learning?
Tip
Asked which to use? Start with the data you have. Labels mean supervised, raw data means unsupervised, and a safe way to score actions means reinforcement is worth a look.
How would you choose for a new project?
- 1
Check for answers
Do you have past examples with the right answer? If yes, start with supervised learning, then check how many labels you can get and at what cost.
- 2
No answers, want structure
If you only have raw data and want groups or unusual cases, use unsupervised methods, then have an expert check what the groups mean.
- 3
Actions with a score
If the system makes many choices in a row and you can score each one, consider reinforcement learning, and test in a simulator before real customers see it.
- 4
Name the trade-off
Say the cost out loud: labels cost people time, groups need checking, and rewards must be designed with care or the system games them.
What does the interviewer want to hear?
A strong answer covers
- The three types, told apart by what the data contains: labels, no labels, or rewards.
- One everyday example and one real AI case for each type.
- Why labels cost time, and why groups need a person to check them.
- Reward design: a score can be gamed, and live trials can be costly.
- Generative models start with unsupervised learning on raw data, then get supervised or reinforcement tuning.
- Which type fits the project the interviewer describes, and why.
Common traps
Trap"Unsupervised means the model has no training at all."
BetterIt still learns. It finds structure in the data itself, just without answers to check against.
Trap"Reinforcement learning is just supervised learning with a bigger model."
BetterIt learns from rewards after its actions, over many steps, not from a right answer for each example.
Trap"Always use the most advanced type."
BetterUse the one your data supports. Without labels or a safe way to score actions, a fancier method cannot help.
Can you pick the right type?
Which one is supervised?
Which of these four setups is supervised learning?
Quick check
A dispatch system learns the best van for each job by trying choices and getting a score for each delivery. Which type is it?
Can you answer these from memory?
Flash cards · tap a card to flip it
What will they ask next?
Learn it in depth
Last updated on 26 November 2026
Choosing between labels, groups and rewards for a real project?
I design and build AI products and agents, the interface and the system behind them. Book a short call and tell me what data you have and what you want it to do.