Skip to content

F0-01 — Problem Framing & Learning Paradigms

Suggested time: 45–75 minutes
Curriculum mapping: D1-10, D7-01

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.

  1. Google — Introduction to Machine Learning
  2. Google — Problem Framing
  3. Google — Machine Learning Crash Course

Traditional logic usually looks like:

inputs + explicit rules -> output

Supervised ML learns a mapping from examples:

features + labels -> training -> model
model + new features -> prediction

Use deterministic rules when the decision is explicit, stable and complete enough. ML is not automatically the better solution.

  • 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:
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:

Classify each task and explain why:

  1. Predict tomorrow’s electricity demand in MW.
  2. Group customers into behavioral segments without existing labels.
  3. Decide whether an incoming transaction is fraudulent.
  4. Learn text representations by predicting hidden parts of text.
  5. Train an agent in simulation using rewards.
Check after answering
  1. Regression
  2. Clustering / unsupervised learning
  3. Classification / supervised learning
  4. Self-supervised learning
  5. Reinforcement learning