An estate agent has past sales with each house's features and final price, and wants to predict prices for new listings. Which approach fits?
- Exam domain
- Machine learning foundations
- Difficulty
- Easy
- In this mock
- 5 questions on this domainPractise this domain
Why C is the answer
Supervised regression
The data has labels (the price), so this is supervised learning. The label is a continuous number, so the task is regression.
Remember: Labelled number: supervised regression.
In detail
- Labels mean supervised learning.
- A numeric target means regression.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Reinforcement learningWrong
Reinforcement learning learns from rewards for actions, not from labelled examples.
B. Supervised classificationWrong
Classification predicts a category, not a number.
C. Supervised regressionRight
Labelled number: supervised regression.
D. Unsupervised clusteringWrong
Clustering finds groups without labels; it does not predict a price.
Use case
An illustrative scenario, not a real incident.
Illustrative: a listing site suggests an asking price from size, location and age.
See it in different ways
flowchart TD
Q{"What data do you have?"}
Q -->|"Labelled examples"| A0["Supervised learning"]
Q -->|"No labels"| A1["Unsupervised learning"]
Q -->|"Rewards for actions"| A2["Reinforcement learning"]How to read this chart
- At "What data do you have?": if "Labelled examples", go to "Supervised learning"; if "No labels", go to "Unsupervised learning"; if "Rewards for actions", go to "Reinforcement learning".
flowchart LR S0["Past sales with prices"] --> S1["Train a regressor"] --> S2["Predict the price of a new house"]
How to read this chart
- Read it in order: Past sales with prices, then Train a regressor, then Predict the price of a new house.