stage · curriculum

exercise_solutions

Worked solutions for the most concrete exercises across the path. Not every exercise — many are open-ended ("ship something public") and don't have a single answer. The ones here are code-shaped: the kind where seeing a working version teaches more than reading the question.

7 articles
13 min to read

Articles in this stage

  1. 01 Cross-Stage Projects
  2. 02 Stage 01 — Math Foundations: Solutions
  3. 03 Stage 02 — ML Fundamentals: Solutions
  4. 04 Stage 03 — Neural Networks: Solutions
  5. 05 Stage 06 — Transformers: Solutions
  6. 06 Stage 09 — RAG: Solutions
  7. 07 Stage 11 — Agents: Solutions

Exercise Solutions

Worked solutions for the most concrete exercises across the path. Not every exercise — many are open-ended (“ship something public”) and don’t have a single answer. The ones here are code-shaped: the kind where seeing a working version teaches more than reading the question.

How to use: try the exercise yourself first. Then check here. Don’t look first.

If a solution disagrees with your working answer, run both and see which actually works. Solutions are sometimes wrong; tests aren’t.

Index

Each file has runnable code blocks. Code is tested for clarity; copy-paste should work in a fresh Python environment with the listed dependencies.

See also