A retailer has purchase histories but no labels, and wants to find groups of similar customers. Which technique fits?
- Exam domain
- Machine learning foundations
- Difficulty
- Easy
- In this mock
- 5 questions on this domainPractise this domain
Why C is the answer
Clustering
With no labels, the model has to find structure on its own. Clustering groups similar records together, which is unsupervised learning.
Remember: No labels, find groups: clustering.
In detail
- No labels: unsupervised learning.
- Clustering groups similar records.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. RegressionWrong
Regression needs a labelled number to predict.
B. Reinforcement learningWrong
Reinforcement learning needs actions and rewards.
C. ClusteringRight
No labels, find groups: clustering.
D. ClassificationWrong
Classification needs labelled categories to learn from.
Use case
An illustrative scenario, not a real incident.
Illustrative: a grocer finds a "weekly family shop" group and a "quick lunch" group, and sends each different offers.
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".
mindmap
root(("Customers"))
n1["Segment A"]
n2["Frequent, small baskets"]
n3["Segment B"]
n4["Rare, large baskets"]How to read this chart
- The centre is "Customers".
- "Segment A" covers "Frequent, small baskets".
- "Segment B" covers "Rare, large baskets".