Module 1 · AI Foundations
Supervised vs Unsupervised vs Reinforcement Learning
Compare supervised, unsupervised, and reinforcement learning and learn when each machine learning approach is appropriate.
Core idea
The learning signal determines the approach
Supervised learning learns from examples that include expected answers. Unsupervised learning explores data without target labels to discover structure. Reinforcement learning improves a sequence of actions through rewards and penalties received from an environment.
Three-path diagram
How each learning type works
Labeled and unlabeled data
Transaction AFraud
Transaction BNot fraud
Transaction CFraud
The target teaches the model what output to predict.Customer A?
Customer B?
Customer C?
The algorithm searches for useful similarity or structure.Feedback loop
Reinforcement learning is sequential
The goal is usually to maximize cumulative reward over time—not merely obtain the largest immediate reward. Exploration tries unfamiliar actions; exploitation uses actions currently believed to work well.
Side-by-side comparison
| Question | Supervised | Unsupervised | Reinforcement |
|---|---|---|---|
| Training signal | Known labels or values | No target labels | Rewards and penalties |
| Typical goal | Predict an outcome | Discover structure | Choose effective actions |
| Common output | Class or number | Cluster or representation | Policy or strategy |
| Key challenge | Representative labels | Interpreting discovered patterns | Reward design and safe exploration |
Choose the right approach
AWS Certified AI Practitioner
Exam signals
- “Labeled historical examples” points toward supervised learning.
- “Find natural customer groups” points toward unsupervised clustering.
- “Agent, environment, actions, and rewards” points toward reinforcement learning.
- Classification predicts categories; regression predicts numerical values.
- Discovered clusters require interpretation; they are not automatically meaningful business segments.
Key takeaways
- Supervised learning uses labeled data
- Unsupervised learning discovers hidden patterns
- Reinforcement learning optimizes actions through rewards
- The business task determines the learning type
Check your understanding
- Can you explain this concept in two sentences without using jargon?
- Can you identify the input, process, output, and validation step in the example?
- Can you name one suitable use case and one case where another approach is better?
- Which risk or limitation should a responsible implementation address?
Research references
Public sources and further reading
This lesson is original educational writing informed by the public references below. Use the sources to explore definitions, technical details, and current AWS exam objectives.
