F0-01 — Problem Framing & Learning Paradigms
Suggested time: 45–75 minutes
Curriculum mapping: D1-10, D7-01
Outcomes
Section titled “Outcomes”By the end of this lesson, you should be able to distinguish the main learning paradigms, classify common ML task types, decide when ML is unnecessary, and express a real problem in ML terms.
Learning material
Section titled “Learning material”- Google — Introduction to Machine Learning
- Google — Problem Framing
- Google — Machine Learning Crash Course
Traditional programming vs supervised ML
Section titled “Traditional programming vs supervised ML”Traditional logic usually looks like:
inputs + explicit rules -> outputSupervised ML learns a mapping from examples:
features + labels -> training -> modelmodel + new features -> predictionUse deterministic rules when the decision is explicit, stable and complete enough. ML is not automatically the better solution.
Learning paradigms
Section titled “Learning paradigms”- Supervised learning: examples contain a target/label. Common tasks: classification and regression.
- Unsupervised learning: no target labels; discover structure such as clusters or lower-dimensional representations.
- Semi-supervised learning: combine a smaller labelled set with a larger unlabelled set.
- Self-supervised learning: derive training signals from the data itself.
- Reinforcement learning: an agent interacts with an environment and improves a policy using rewards.
Problem-framing template
Section titled “Problem-framing template”Problem:Why ML / why not rules alone:Task type:Unit of prediction:Features available at prediction time:Target / label:Source of labels:Model metric:Real-world success metric:Most costly error:Constraints:Quick exercise
Section titled “Quick exercise”Classify each task and explain why:
- Predict tomorrow’s electricity demand in MW.
- Group customers into behavioral segments without existing labels.
- Decide whether an incoming transaction is fraudulent.
- Learn text representations by predicting hidden parts of text.
- Train an agent in simulation using rewards.
Check after answering
- Regression
- Clustering / unsupervised learning
- Classification / supervised learning
- Self-supervised learning
- Reinforcement learning