AI lessons & courses
230 lessons · 60 learning paths · free, quiz-checked, no signup required
How modern AI systems actually work, from the transformer architecture and attention up through retrieval, agents, evaluation, and deployment. The lessons are mechanism-first: what the math does, what the engineering trade-offs are, and where the published evidence stands. Written for engineers and technical leaders who want depth beyond the headlines.
Learning paths
Browse all 60 pathsWorld Models: Learned Simulators for Planning and Training
A world model predicts what happens if an agent acts, so it can rehearse in imagination before acting for real. This cursus builds the idea from a working planner in code, through agents that learn inside compact latent dreams (World Models, PlaNet, Dreamer, MuZero), to interactive generative worlds learned from video, like Genie. It ends where the stakes are physical: training and testing robots and cars in learned simulators, and the failure modes, compounding error, exploited model errors, hallucinated physics, that decide when a simulator can be trusted.
Continual Learning: Why Neural Networks Forget and How to Stop It
Train a network on something new and it often loses what it already knew. This cursus explains why, from conflicting gradients on shared weights to the stability-plasticity dilemma, then takes apart the three families of fixes: replay, regularisation such as EWC, and parameter isolation with adapters. You will learn to evaluate claims honestly across task-, domain- and class-incremental settings, and finish with large language models: continued pretraining, fine-tuning drift, LoRA, and when editing or retrieval beats training.
Harness Engineering: Building the World an AI Agent Works In
The same model can score 15 points apart depending on what surrounds it. This course teaches the environment around an AI agent: how interface design and harness choice move results, how to make a repository legible with short instruction files and lint rules that explain their own fixes, how permissions, hooks and OS sandboxes contain an agent, and how to test a harness change with repeated trials, paired comparisons and pass^k instead of one lucky run.
Machine Learning Fundamentals: From Examples to Trustworthy Models
Most machine learning in production is a supervised model on a table of features, and most of its failures are in evaluation rather than in the algorithm. This path teaches how a model is fitted from examples, how to measure what it learned without fooling yourself, how to judge a classifier when the event you care about is rare, and why tree ensembles remain the default on tabular data. Every chart uses numbers you can reproduce in scikit-learn.
Deep Learning on Limit Order Book Data
At a one-event horizon, 92 percent of mid-price labels are exactly no-change, so a model that always predicts flat scores 92 percent accuracy. That single number explains most of the gap between published order book results and what happens on a trading desk. This path covers what the book actually contains, what the architectures assume, why results fail to replicate, and the cost hurdle that decides whether a real edge is worth anything.
Reinforcement Learning for Trade Execution and Market Making
A classical execution schedule is an open-loop policy: it commits to a plan before seeing anything, and reinforcement learning's entire value here is closing that loop. This path measures what closing it is actually worth, shows how a mis-sized penalty makes leaving part of the order unexecuted rationally optimal, and demonstrates that one unverifiable queue assumption moves the simulated fill rate by a factor of two. Every figure is computed.
All AI lessons
Learned Simulators for Robots and Cars, and How World Models Fail
How world models train and test robots and driving systems, and where they break. Covers learning to walk in an hour with DayDreamer, driving world models, ranking robot policies in a video simulator, compounding error in code, model exploitation and its defences, hallucinated physics, and why evaluation is the hardest part.
Interactive Generative World Models: From Video to Playable Worlds
How a video generator becomes a world you can act in. Covers learning controls from unlabeled video with Genie's latent actions, a toy version in code, autoregressive drift and how GameNGen fights it, agents trained inside DIAMOND, the Genie 2 and 3 consistency gains, and how neural and engine simulators differ.
Dreaming in Latent Space: World Models, PlaNet, Dreamer and MuZero
How agents learn compact latent world models from pixels and plan inside them. Covers Ha and Schmidhuber's dream-trained controller, PlaNet's recurrent state-space model, Dreamer's actor-critic in imagination with lambda-returns in code, the later Dreamer versions, and MuZero's value-equivalent model.
What a World Model Is, and How an Agent Plans With One
A world model is a learned simulator that predicts what happens if an agent acts. This lesson covers its parts, why model-based learning needs far less real experience, Dyna versus model-predictive control, a working planner in code, and why a planner exploits model errors.
Continual Learning in Large Language Models: Continued Pretraining, Drift, and Editing
Every stage of a language model's life trains the same weights on new data, so every stage can erase the last. Learn the continued-pretraining recipe of re-warming, re-decaying and replay, how fine-tuning erodes skills and safety, why LoRA and on-policy RL forget less, and when editing or retrieval beats training.
Measuring Continual Learning: Scenarios, Transfer Metrics, and Honest Baselines
The same method can score 99% or 21% on one benchmark depending on what the model is told at test time. Learn the task-, domain- and class-incremental scenarios, the accuracy matrix with backward and forward transfer, and the protocol choices and baselines that make a continual learning result trustworthy.
Fixing Forgetting: Replay, Regularisation, and Parameter Isolation
The three families of continual learning methods, taken apart: experience and generative replay, gradient projection with GEM, weight penalties from EWC and synaptic intelligence, distillation, and per-task adapters. Includes a runnable PyTorch comparison of EWC and replay, and a table for choosing among them.
Catastrophic Forgetting: Why Neural Networks Overwrite What They Knew
Train a network on one task, then another, and the first often collapses. This lesson shows why: shared weights and conflicting gradients, demonstrated in twenty lines of code, then the stability-plasticity dilemma, the less known loss of plasticity, and how the brain's replay suggests the fixes.
Measuring a Harness Change: Trials, Error Bars and pass^k
Every harness change is a hypothesis. Learn how evaluation harnesses record agent runs, why one run is one noisy sample, how paired comparisons and repeated trials separate real gains from luck, and when to report pass@k versus pass^k, with computed simulations.
Permissions, Sandboxes and Hooks: Containing an AI Agent
An agent with a shell can make destructive mistakes or follow injected instructions. Learn the four layers of control, from instruction files to OS sandboxes, why command-pattern rules are not a boundary, how hooks add deterministic checks, and how to design out the lethal trifecta.
The Repository as the Agent's Environment
Coding agents only know what the repository shows them. Learn to write instruction files as maps, turn conventions into checks with fix-it messages, give agents sensors, and structure work that spans many sessions, using OpenAI's, Anthropic's and ETH Zurich's findings.
Model Plus Harness: Why the Same Model Scores Differently
An agent is a model plus everything around it. Using controlled evidence from SWE-agent and Terminal-Bench, see how interface design, harness choice and even container limits move the results of a fixed model, and why the model still sets the ceiling.
Decision Trees, Random Forests and Gradient Boosting
Tree ensembles remain the default for tabular data. Learn how a decision tree picks its splits, why one deep tree memorises, how random forests average away variance and gradient boosting corrects errors in sequence, and how to read feature importance without being misled.
Classification: Logistic Regression and Metrics That Do Not Lie
A classifier outputs a score; you choose where to cut it. Learn how logistic regression and log loss work, why 99% accuracy can be worthless on rare events, how precision, recall and PR curves expose it, and how to pick a threshold from the real costs of each mistake.
Generalization: Measuring What a Model Actually Learned
Training error flatters every model. Learn how train, validation and test splits work, watch overfitting happen in computed numbers, and see how regularization, cross-validation and leak-proof pipelines give you a score you can trust on data the model has never seen.
What Machine Learning Does: Learning a Function From Examples
Machine learning replaces hand-written rules with a function fitted to examples. Learn the supervised setup, what a loss function measures, how a linear regression is actually fitted, why a baseline comes first, and when a problem is better solved without machine learning at all.
Evaluating a Book Model Honestly
If your cost per round trip equals the move you are trying to capture, you need 100 percent directional accuracy to break even. This lesson computes that hurdle, replaces accuracy with metrics tied to a tradeable decision, and covers the capacity and latency limits that decide whether a real edge is worth anything.
Why Reported Order Book Results Do Not Replicate
At a one-event horizon, 92 percent of mid-price labels are exactly no-change, so a model that always predicts flat scores 92 percent accuracy. This lesson computes that baseline across horizons and works through the four mechanisms that turn a genuine measurement into a number nobody can reproduce.
Architectures for Order Book Data, and Why They Help Less Than Expected
Convolutional and recurrent networks have been applied to order book data with published success, and the architectures encode real assumptions about the book's structure. This lesson explains what each one assumes, why the gains over simple baselines are smaller than headline numbers suggest, and where the modelling effort is better spent.
What Is Actually in an Order Book, and What a Model Can See
Before choosing an architecture you have to decide what the input is, and an order book offers several incompatible representations that are not equally informative. This lesson covers what each data level contains, why raw prices are the wrong features, and the representation choices that decide more than the model does.
Market Making: Inventory, Adverse Selection, and What RL Adds
A market maker quotes both sides and profits from the spread, but every fill leaves an unwanted position and the counterparties who trade most eagerly are the ones who know something. This lesson simulates the inventory-skew trade-off, showing a 63 percent cut in exposure for 2.5 percent of profit, and locates where a learned policy genuinely helps.
The Simulator Problem: Why a Backtest Cannot Answer This
Reinforcement learning needs an environment that responds to the agent, and historical market data is a fixed recording that does not. This lesson shows that replaying the same day gives a fill rate anywhere from 38 to 73 percent depending on an assumption the data cannot settle, and covers what to do about it.
Reward Design: Where Execution Agents Go Wrong
An agent optimises the reward you wrote, not the objective you meant, and in execution the gap between those is unusually easy to open. This lesson computes how a mis-sized penalty makes leaving part of the order unexecuted rationally optimal, and covers the shaping that provably does not change the policy.
Framing Execution as a Markov Decision Process
A static execution schedule is an open-loop policy: it commits to a plan before seeing anything. This lesson formulates execution as an MDP so the plan can react, and computes the ceiling on what any adaptive policy could win, which turns out to collapse as market impact grows.

