Which of these is reinforcement learning?
- Exam domain
- Machine learning foundations
- Difficulty
- Hard
- In this mock
- 5 questions on this domainPractise this domain
Why C is the answer
A robot that learns to walk from rewards for staying upright
In reinforcement learning an agent takes actions in an environment and learns from rewards and penalties. There are no labelled answers, only feedback on what it did.
Remember: Actions and rewards: reinforcement learning.
In detail
- An agent, actions and rewards.
- It learns by trial and error.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. A model that groups news articles by topic without labelsWrong
Grouping without labels is clustering, which is unsupervised.
B. A model that predicts tomorrow's temperatureWrong
Predicting a temperature from past data is supervised regression.
C. A robot that learns to walk from rewards for staying uprightRight
Actions and rewards: reinforcement learning.
D. A model that sorts photos into cats and dogs from labelled examplesWrong
Labelled photos make this supervised classification.
Use case
An illustrative scenario, not a real incident.
Illustrative: a warehouse robot learns a faster route after each run, rewarded for time saved and penalised for collisions.
See it in different ways
sequenceDiagram participant P0 as Agent participant P1 as Environment P0->>P1: Action P1-->>P0: New state and reward
How to read this chart
- 1. Agent sends "Action" to Environment.
- 2. Agent gets a reply from Environment: "New state and reward".
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".