Machine Learning

Supervised, unsupervised, and deep learning, generative models, reinforcement learning, and adversarial search — the algorithmic core behind modern AI.

Supervised Learning: Regression and Trees

"Regression" is a strange name for a family of techniques used to predict continuous values, and the strangeness has a specific origin: Francis Galton, studying the heights of parents and children in the 1880s, found…

Generative Models: VAEs, GANs, and Diffusion

A classifier answers "what is this?" A generative model answers a different question entirely: "produce me a new, plausible example of this." Three architectures have dominated that second question over the last decade…

Reinforcement Learning Fundamentals

Supervised learning is taught a correct answer for every example it sees. Reinforcement learning is taught nothing of the kind — an agent takes actions in an environment, receives a reward signal that only ever says…

Adversarial Search and Game Theory

Every search algorithm covered on Divide and Conquer and its neighbouring pages assumes a single agent moving through a static problem. Adversarial search drops that assumption: an opponent is also choosing moves, and…