04 / NotesTechnical knowledge

Courses, and the order to take them in.

The courses are linked by prerequisites: an arrow leads from the course to take first. Probability Theory assumes school algebra, derivatives and integrals, and some matrix algebra; each course page says what to know before it. Inside a course the notes follow one line of questions: a note either fixes a limitation of the one before or opens a branch with a new task or objective, and says which.

Graph of the coursesProbability Theory → Machine Learning. Mathematics for Machine Learning → Machine Learning. Programming in Python → Machine Learning. Machine Learning → Deep Learning. Machine Learning → Bayesian Methods in Machine Learning. Deep Learning → Generative Models. Bayesian Methods in Machine Learning → Generative Models. Deep Learning → Natural Language Processing. Natural Language Processing → AI Agents. Computer Architecture and Operating Systems → DevOps. Programming in Python → DevOps. DevOps → MLOps: Machine Learning in Production. Deep Learning → MLOps: Machine Learning in Production. SQL → Databases. Databases → Big Data01Probability Theory22 notes02Mathematics for MachineLearning16 notes03Programming in Python22 notes04Machine Learning27 notes05Deep Learning14 notes06Bayesian Methods inMachine Learning15 notes07Generative Models34 notes08Natural LanguageProcessing28 notes09AI Agents27 notes10Computer Architectureand Operating Systems32 notes11DevOps16 notes12MLOps: Machine Learningin Production16 notes13SQL17 notes14Databases19 notes15Big Data35 notesGraph of the coursesProbability Theory → Machine Learning. Mathematics for Machine Learning → Machine Learning. Programming in Python → Machine Learning. Machine Learning → Deep Learning. Machine Learning → Bayesian Methods in Machine Learning. Deep Learning → Generative Models. Bayesian Methods in Machine Learning → Generative Models. Deep Learning → Natural Language Processing. Natural Language Processing → AI Agents. Computer Architecture and Operating Systems → DevOps. Programming in Python → DevOps. DevOps → MLOps: Machine Learning in Production. Deep Learning → MLOps: Machine Learning in Production. SQL → Databases. Databases → Big Data01ProbabilityTheory22 notes02Mathematics forMachineLearning16 notes03Programming inPython22 notes10ComputerArchitectureand OperatingSystems32 notes13SQL17 notes04MachineLearning27 notes11DevOps16 notes14Databases19 notes05Deep Learning14 notes06BayesianMethods inMachineLearning15 notes15Big Data35 notes07GenerativeModels34 notes08NaturalLanguageProcessing28 notes12MLOps: MachineLearning inProduction16 notes09AI Agents27 notes
Course / 0122 notes

Probability Theory

Reasoning exactly about outcomes we cannot predict: from counting to the limit theorems, and how they become the losses, estimates and guarantees of machine learning.

Events → Random variables → Dependence → Limits → Statistics → Sampling

A starting point

Open the course →
Course / 0216 notes

Mathematics for Machine Learning

The linear algebra, calculus and optimization that machine learning is written in: vector spaces and the matrix decompositions, derivatives of functions of vectors and matrices, convexity, Lagrange duality, and what floating point does to all of it.

Linear algebra → Calculus → Optimization → Numerics

A starting point

Open the course →
Course / 0322 notes

Programming in Python

Python from the first line to how the interpreter runs it: values and names, the built-in data structures and what they cost, functions, classes and the data model, packaging and type hints, testing and profiling, CPython internals and concurrency, then NumPy, pandas and Matplotlib.

Basics → Data → Abstraction → Reliability → Internals → Scientific

A starting point

Open the course →
Course / 1032 notes

Computer Architecture and Operating Systems

How a computer runs a program, from the bits of a number to a process talking over the network: RISC-V assembly, the memory hierarchy, the processor and its parallelism, then the operating system and system programming in C.

Foundations → Assembly → Memory → Processor → Parallelism → OS → Processes → Files and isolation → Networking → Languages

A starting point

Open the course →
Course / 1317 notes

SQL

Express a question about tables as a query and explain every row of its result: selection, joins, aggregation and windows, then changes, transactions and SQL from Python.

Reading Tables → Combining Rows → Structuring Queries → Changing Data → Python and SQL

A starting point

Open the course →
Course / 0427 notes

Machine Learning

How a program learns a rule from examples and how to tell whether it will work on new data: from a line through points to gradient boosting and neural networks. Each note either fixes a limitation of the previous method or changes the task, and says which.

Learning problem → Linear models → Classification → Trees and ensembles → Neural networks → No labels → Ranking

Take first: Probability Theory, Mathematics for Machine Learning, Programming in Python

Open the course →
Course / 1116 notes

DevOps

How software gets from a commit to a reliable service: the shell and Git, builds, containers and CI/CD, networking and infrastructure as code, Kubernetes, and the site-reliability practices of observability, SLOs, resilience and incident response.

Foundations → Ship → Infrastructure → Orchestration → Reliability

Take first: Computer Architecture and Operating Systems, Programming in Python

Open the course →
Course / 1419 notes

Databases

Design a data model and follow a query through storage, indexes and execution, then explain concurrent changes, recovery and the boundary between transactional and analytical systems.

Models and Integrity → Storage and Execution → Concurrency and Recovery → Operating a Data Model

Take first: SQL

Open the course →
Course / 0514 notes

Deep Learning

How to train deep networks that work: automatic differentiation, losses, normalization and optimizers, convolutional networks for vision, self-supervised features and Vision Transformers, robustness and compression. The course the Generative Models and NLP courses build on.

Training → CNNs → Representations → Robustness

Take first: Machine Learning

Open the course →
Course / 0615 notes

Bayesian Methods in Machine Learning

Building probabilistic models from standard blocks and computing their posteriors: conjugate priors, Bayesian model selection, linear models with automatic relevance determination, EM, variational inference and Gibbs sampling, Gaussian and Dirichlet processes, and variational inference at scale.

Modelling → Linear models → Approximate inference → Nonparametrics and topics → Scalable inference

Take first: Machine Learning

Open the course →
Course / 1535 notes

Big Data

Follow data beyond one database and one machine: distributed storage and computation, analytical warehouses, change capture, streams and the guarantees of the complete data pipeline.

Beyond One Machine → Files and Tables → Distributed Computation → Analytical Warehouses → Delivering Changes → Streams and State → The Data System

Take first: Databases

Open the course →
Course / 0734 notes

Generative Models

How to learn a distribution from data, draw new samples from it and decide whether the model captured the data. Six families of models, each a different trade-off between exact likelihood, fast sampling and a useful latent representation.

Probability → Divergences → Autoencoders → VAEs → Evaluation → GANs → Flows → EBMs → Diffusion → Autoregressive → Audio

Take first: Deep Learning, Bayesian Methods in Machine Learning

Open the course →
Course / 0828 notes

Natural Language Processing

This course is being revised. The available retrieval lesson uses an original fictional corpus and a reproducible Python example.

Text → Classical NLP → Representations → Sequences → Transformers → Pretraining → Scaling → Modern architectures → Adaptation → Tasks → Post-training → Inference → LLM Systems → Beyond left to right

Take first: Deep Learning

Open the course →
Course / 1216 notes

MLOps: Machine Learning in Production

How a model becomes a dependable product: data pipelines, reproducible training, serving, safe rollouts, monitoring, retraining and responsible operation. The system-design and cost topics are being revised.

Systems → Data → Training → Serving → Operations → Responsibility

Take first: DevOps, Deep Learning

Open the course →
Course / 0927 notes

AI Agents

Systems that act: from the classical agent and its environment, search and Markov decision processes, through reinforcement learning, to language-model agents that reason, use tools, remember, plan, write code and operate computers, and how they are trained, evaluated and kept safe.

Agents → RL → LLM agents → Memory and planning → Applications → Training → Safety

Take first: Natural Language Processing

Open the course →