概念
Types of learning
Supervised, unsupervised and reinforcement learning differ in what the model learns from.
このレッスンはまだ翻訳されていないため、英語で表示しています。
Supervised
Learns from examples that have the right answer.
Unsupervised
Finds structure in data that has no answers.
Reinforcement
Learns by trying actions and earning rewards.
Supervised
- Business example
- Flag emails as spam or not spam
- Clue phrase
- Labeled data, known outcomes
Unsupervised
- Business example
- Segment customers by behavior
- Clue phrase
- No labels, find groups
Reinforcement
- Business example
- Teach a robot to pick items
- Clue phrase
- Reward, penalty, trial and error
Self-supervised
- Business example
- Pre-train a language model on raw text
- Clue phrase
- Makes its own labels from raw data
Semi-supervised
- Business example
- Label a few photos, learn from many more
- Clue phrase
- A few labels plus much unlabeled data
| Type | Business example | Clue phrase |
|---|---|---|
| Supervised | Flag emails as spam or not spam | Labeled data, known outcomes |
| Unsupervised | Segment customers by behavior | No labels, find groups |
| Reinforcement | Teach a robot to pick items | Reward, penalty, trial and error |
| Self-supervised | Pre-train a language model on raw text | Makes its own labels from raw data |
| Semi-supervised | Label a few photos, learn from many more | A few labels plus much unlabeled data |
1 / 2
Supervised
- Business example
- Flag emails as spam or not spam
- Clue phrase
- Labeled data, known outcomes
Unsupervised
- Business example
- Segment customers by behavior
- Clue phrase
- No labels, find groups
Reinforcement
- Business example
- Teach a robot to pick items
- Clue phrase
- Reward, penalty, trial and error
| Type | Business example | Clue phrase |
|---|---|---|
| Supervised | Flag emails as spam or not spam | Labeled data, known outcomes |
| Unsupervised | Segment customers by behavior | No labels, find groups |
| Reinforcement | Teach a robot to pick items | Reward, penalty, trial and error |
2 / 2
Self-supervised
- Business example
- Pre-train a language model on raw text
- Clue phrase
- Makes its own labels from raw data
Semi-supervised
- Business example
- Label a few photos, learn from many more
- Clue phrase
- A few labels plus much unlabeled data
| Type | Business example | Clue phrase |
|---|---|---|
| Self-supervised | Pre-train a language model on raw text | Makes its own labels from raw data |
| Semi-supervised | Label a few photos, learn from many more | A few labels plus much unlabeled data |
概要
In supervised learning, the model learns from labeled examples. It sees inputs with the right answers and learns to predict the answer for new inputs. Spam filters work this way.
In unsupervised learning, there are no labels. The model looks for structure by itself, such as groups of similar customers. Other unsupervised jobs are anomaly detection, which spots unusual records such as possible fraud, and dimensionality reduction, which keeps the most useful features.
概要
In reinforcement learning, an agent tries actions in an environment and gets rewards or penalties. It learns the actions that earn the most reward over time. Robots, games and trading rules use it. Reinforcement learning from human feedback (RLHF) is a related method used to tune language models.
Self-supervised learning makes its own labels from raw data, for example by hiding a word and predicting it. This is how foundation models are pre-trained, so no one has to label the huge data set. Semi-supervised learning uses a few labeled examples plus much unlabeled data, which saves labeling cost.
覚えること
- Supervised: labeled data, predicts a known answer type.
- Unsupervised: no labels, finds groups, anomalies or patterns.
- Reinforcement: learns by trial, reward and penalty.
- Self-supervised: the model makes its own labels from raw data. Foundation models pre-train this way.
- Semi-supervised: a few labels plus much unlabeled data.
試験では
- “Historical data with known outcomes” points to supervised learning.
- “Group customers without predefined categories” points to unsupervised learning.
- “An agent learns from rewards and penalties” points to reinforcement learning.
- “Creates its own labels from unlabeled data” points to self-supervised learning.