C — Study Plan and Exam Strategy
You said you want to understand these ideas deeply, and not just pass. The plan below is built for that, and it happens to be the best way to score well too. It assumes a roughly 15-week semester and lines up with the usual order of the syllabus.
Before the semester (2–3 weeks, about 1 hour a day)
- Read Chapters 1–2 of this book fully and run every code block yourself. Change the seeds, degrees and noise levels and predict what will happen before you run.
- Revise probability basics (§4.1). If conditional probability or expectation feels shaky, fix that now, because Chapters 4, 5 and 7 build on it.
- Get comfortable with numpy (Appendix B). Most of the course's coding difficulty is numpy fluency.
During the semester
| Weeks | Lectures (likely) | Read here | Do |
|---|---|---|---|
| 1–2 | Overview of AI/ML, data and generalization | Ch 1, §2.1–2.2 | Fit polynomials by hand and in code. Play with the degree slider until the U-curve feels obvious. |
| 3–4 | Bias–variance, overfitting | §2.3–2.4 | Derive the decomposition from memory twice. Start Assignment 1 early. |
| 5–6 | Local search, GA | Ch 3 | Hand-simulate one GA generation (selection, crossover, mutation). Run the §3.4 lab and the exercises. |
| 7 | Probability, utility | Ch 4 | Ten Bayes'-rule problems. Five EU / CE / risk-premium problems. |
| 8 | Mid exam | Appendix A (Ch 1–4) | Past papers, timed. |
| 9–11 | Decision theory, MDPs, POMDPs | Ch 5 | Three value-iteration sweeps by hand. Implement VI, PI and the LP. Do belief updates by hand. |
| 12–13 | Decision trees | Ch 6 | Build the PlayTennis tree from scratch on paper, in under 25 minutes. |
| 14–15 | Bayesian networks | Ch 7 | d-separation drills. Enumeration by hand. Run the sampling widget. |
| Finals | Everything | Appendix A, all quizzes | Retake every quiz until you score 100%. Redo every "Exam corner" box. |
How to study each chapter (the 4-pass method)
- Skim: read the chapter intro and every "Key idea" and "Connections" box. 10 minutes.
- Read and play: read fully, and spend real time on every widget. Predict, then check.
- Reproduce: close the book and re-derive the main result (bias–variance, Bellman, information gain, belief update) on paper. Where you get stuck is where you don't understand yet.
- Test: take the quiz. A wrong answer means re-reading that section, not just memorizing the answer.
The hand-computation drills that come up most
| Skill | Where to practise | Target time |
|---|---|---|
| Bias², variance from a table of predictions | §2.3 quiz | 3 min |
| Diagnose under/overfitting from error numbers | §2.2 exam corner | 1 min |
| Hill-climbing step / SA acceptance probability | §3.1–3.2 | 3 min |
| Roulette probabilities + crossover + mutation | §3.3 \(x^2\) example | 5 min |
| Bayes' rule posterior (with the 1000-people picture) | §4.2 | 3 min |
| Marginal / conditional from a joint table | §4.1 | 3 min |
| EU, CE, risk premium | §4.3 | 3 min |
| Value of information | §5.1 worked example | 8 min |
| 2–3 value-iteration sweeps | §5.3 table | 10 min |
| One policy-iteration round on a tiny MDP | §5.3 | 8 min |
| Write the primal/dual LP for a small MDP | §5.4 | 8 min |
| POMDP belief update | §5.5 exam corner | 4 min |
| Entropy, information gain, full ID3 tree | §6.2–6.3 | 20 min |
| Threshold for a continuous attribute | §6.4 | 5 min |
| Joint probability of a full assignment in a Bayes net | §7.1 | 2 min |
| d-separation | §7.2 checklist | 3 min |
| Inference by enumeration | §7.3 worked example | 12 min |
Exam-day strategy
- Write the formula first, then substitute. Partial credit lives in the setup. "Gain = H(S) − Σ..." earns marks even if you slip on arithmetic.
- Keep 3–4 decimals in intermediate steps. Rounding early in value iteration or IG computations compounds.
- Sanity-check every answer. Probabilities are in [0, 1]. Entropy of a binary variable is in [0, 1]. Information gain ≤ parent entropy. A posterior should move toward what the evidence suggests. A VPI is ≥ 0.
- State your conventions when there's ambiguity: reward on states or transitions, tie-breaking in ID3, maximizing vs minimizing in SA.
- Explain in words for "why" questions, using the vocabulary: bias, variance, exploration, exploitation, Markov property, explaining away, inductive bias.
Going beyond the course
If this material excites you, here is where it leads:
- Reinforcement learning: MDPs without a known model. Sutton & Barto's Reinforcement Learning: An Introduction (free online) starts exactly where Chapter 5 ends. Q-learning is the next step.
- Probabilistic graphical models: Koller & Friedman. Chapter 7 is the first 10% of this field.
- Statistical learning theory: why generalization works (VC dimension, PAC learning). Understanding Machine Learning by Shalev-Shwartz & Ben-David.
- Practical ML: scikit-learn's user guide, and Kaggle tabular competitions, where the gradient-boosted trees of §6.4 rule.
- Evolutionary computation: CMA-ES (the state-of-the-art successor to the real-valued GA of §3.4) and neuroevolution.
One last thought
Every chapter in this book answered the same question from a different angle: how do you act well when you can't be sure? You fit patterns without fitting noise. You search without getting stuck. You believe in proportion to evidence. You weigh outcomes by how much they matter. You plan for slips, and you keep track of what you don't know. Those are good habits for an AI system, and for an engineer. Good luck next semester.