Part VII: Advanced Topics
The frontier of modern machine learning: agents that learn by interacting with environments, neural networks that reason over structured relational data, and generative models that learn to sculpt structure out of pure noise. Each chapter delivers full mathematical derivations, SVG diagrams, and runnable Python simulations.
Chapter 19: Reinforcement Learning
MDPs, Bellman equations, Q-learning, policy gradients (REINFORCE), Actor-Critic, and PPO β full derivations from the ground up.
Chapter 20: Graph Neural Networks
Message passing, spectral graph theory, GCN derivation from the graph Laplacian, graph attention networks, and molecular property prediction.
Chapter 21: Diffusion Models
Forward noising process, closed-form q(x_t|x_0) derivation, variational training objective simplification to L_simple, score matching, DDPM/DDIM sampling.
What you will learn
Prerequisites
Parts IβVI: mathematical foundations, supervised learning, neural networks, unsupervised learning, probabilistic ML, and sequence models. You should be comfortable with probability theory, gradient descent, and variational inference before beginning this part.