Background Notes on Machine Learning and AI

Supplementary notes for the course. They develop in full the background that the lectures assume: the mathematics of learning, machine learning, deep learning, classical AI, NLP and large language models, generative models, and reinforcement learning. Modules marked work in progress are still being revised.