Lessons
324 lessons · advanced · page 1 of 14
Learning paths
Browse all paths- AIadvanced
World 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.
4 lessons · certificate - Scienceadvanced
How batteries work, and where they are going
Batteries decide how far a car drives and how long a grid rides through the evening. This path opens a lithium-ion cell: lithium shuttling between two hosts, where voltage and capacity come from, and the SEI film that both enables and ages it. Then it compares NMC and LFP cathodes and how cells degrade, takes apart silicon, lithium-metal, solid-state and sodium-ion designs and what blocks each, and finishes with grid storage: duration, flow batteries and the cost of a delivered megawatt-hour.
4 lessons · certificate - AIadvanced
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.
4 lessons · certificate - Scienceadvanced
Climate science: the greenhouse mechanism, the carbon cycle, and how warming is measured
Four lessons on the physics and evidence behind climate change, built on IPCC AR6 and the Global Carbon Budget. Rebuild the greenhouse effect from Earth's energy budget, see why CO2 forcing is logarithmic, add up the feedbacks behind the 3 degree climate sensitivity estimate, follow carbon through the ocean and land sinks, and learn how stations, ships, satellites, Argo floats and ice cores are turned into a trustworthy record. Mechanism first, with settled findings kept apart from open questions.
4 lessons · certificate - Mathadvanced
Numerical Methods: Solving Equations a Computer Can Actually Handle
Most equations a model produces have no formula for their answer, so a computer has to chase one. This four-lesson path teaches how that works and how it fails: root finding with Newton and Brent, solving linear systems by LU factorisation and pivoting, iterative solvers and preconditioned conjugate gradient for systems too big to factor, and stiff differential equations with implicit methods and adaptive steps. Every lesson runs real SciPy code, so you learn to pick the right solver and to know how many digits to trust.
4 lessons · certificate - Scienceadvanced
Machine Learning for Materials Discovery: From Potentials to Proven Crystals
Follow a hypothetical inorganic crystal from computer to furnace to verdict. Learn how machine-learned interatomic potentials stand in for DFT and where they soften, how the convex hull and energy above it decide which candidates are worth making, how closed-loop autonomous labs plan solid-state syntheses and learn from failed reactions, and how to judge whether a claimed discovery is merely predicted, synthesised, or genuinely new. Built on the primary papers and the published critiques that tested them.
4 lessons · certificate
Individual lessons
- AIadvanced
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.
12 steps·~18 min - AIadvanced
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.
10 steps·~15 min - AIadvanced
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.
9 steps·~14 min - AIadvanced
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.
9 steps·~14 min - Scienceadvanced
Next-generation batteries: silicon, lithium metal, solid-state, and sodium-ion
What each next-generation battery design changes and what stops it: silicon's swelling, lithium metal's dendrites, the interface and fracture problems of solid electrolytes, and sodium-ion's trade of energy density for abundant materials, plus how to read a breakthrough claim.
10 steps·~15 min - Mathadvanced
Stiff Equations, Stability Regions, and Adaptive Step Size
Why an ODE solver can blow up at step sizes accuracy would never demand. Learn stability regions on the test equation, what makes a problem stiff, how implicit methods and A-stability fix it at the cost of Newton solves, how BDF and Radau escape Dahlquist's barrier, and how adaptive solvers choose each step.
12 steps·~18 min - Mathadvanced
Iterative Solvers: From Jacobi to Preconditioned Conjugate Gradient
When a matrix is too large to factor, solve Ax = b by improving a guess. See why Jacobi stalls on fine grids, how Krylov methods and conjugate gradient use the whole history, why iterations scale with the square root of the condition number, what preconditioning buys, and how to set and check tolerances.
10 steps·~15 min - Scienceadvanced
Feedbacks and climate sensitivity: from a forcing to a temperature
How the energy budget equation turns a radiative forcing into warming, what the Planck, water vapour, lapse rate, albedo and cloud feedbacks each contribute, and why climate sensitivity has a long upper tail. Uses IPCC AR6 numbers to rebuild the 3 degree estimate and separates settled physics from open questions.
10 steps·~15 min - Mathadvanced
Solving Ax = b Directly: LU, Pivoting, and Never Inverting
How a computer actually solves a linear system: Gaussian elimination as an LU factorisation, why you factor once and never invert, how a tiny pivot wrecks a harmless problem, what partial pivoting and the growth factor guarantee, when Cholesky applies, and where fill-in ends the direct approach.
10 steps·~15 min - Mathadvanced
Root Finding: Bisection, Newton, and Knowing When to Stop
Most equations have no formula for their solution, so computers chase roots with sequences. Compare bisection, secant, Newton and Brent's method by convergence order and guarantees, watch Newton fail, learn how accurate a root can be, and pick stopping tests that do not lie.
11 steps·~17 min - Scienceadvanced
Machine-Learned Interatomic Potentials: Standing In for DFT
How machine-learned interatomic potentials learn the energy surface that density functional theory computes, why locality and built-in symmetry make them fast and data-efficient, how universal potentials are trained, and where they quietly fail, such as the systematic softening that lowers phonon frequencies and migration barriers.
10 steps·~15 min - Scienceadvanced
How the Brain Computes: Prediction, Reward, and an Energy Budget
What brains compute and how theory meets data. Covers Marr's levels, dopamine as a reward prediction error with a working TD-learning model, predictive coding, Bayesian cue combination, the brain's energy budget, and an honest comparison with artificial neural networks, separating established findings from contested theories.
10 steps·~15 min - Scienceadvanced
The Navier-Stokes Equations: Newton's Second Law for a Fluid
Build the equations of fluid motion from conservation of mass and momentum: the continuum idea, the material derivative, viscosity, the Navier-Stokes equations term by term, an exact pipe-flow solution, the Reynolds number, vorticity, and the Millennium Prize question that is still open.
12 steps·~18 min - Mathadvanced
Mechanism Design: Engineering the Rules of the Game
Mechanism design runs game theory backwards: pick the outcome you want, then build rules under which self-interested players produce it. This lesson covers the revelation principle, VCG and its blind spots, Myerson's optimal auction, the impossibility theorems that bound the field, and stable matching as used in residency and school-choice markets.
10 steps·~15 min - Mathadvanced
Spectral Graph Theory: What the Laplacian's Eigenvalues Reveal
Turn a graph into its Laplacian matrix and its eigenvalues start answering combinatorial questions: how many components, how many spanning trees, how hard the graph is to cut, and where to cut it. Covers the Fiedler vector, Cheeger's inequality, spectral clustering, random-walk mixing, and expanders.
10 steps·~15 min - AIadvanced
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.
10 steps·~15 min - AIadvanced
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.
11 steps·~17 min - Mathadvanced
Newton's method and the interior point revolution
Second derivatives buy something gradients cannot: a step shaped by curvature, immune to conditioning, converging quadratically. This lesson builds Newton's method, then layers it on a log barrier to get interior point methods, the machinery that made large constrained problems solvable with a certificate rather than a hope.
13 steps·~20 min - AIadvanced
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.
10 steps·~15 min - AIadvanced
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.
10 steps·~15 min - AIadvanced
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.
10 steps·~15 min - AIadvanced
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.
10 steps·~15 min - AIadvanced
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.
10 steps·~15 min - AIadvanced
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.
10 steps·~15 min

