Get Started

Stochastic Processes

Randomness with structure. The math behind random walks, Markov chains, and diffusion models.

75 minutesLearnPythonMembers

Learning Objectives

  • Simulate 1D and 2D random walks and verify the $\sqrt{n}$ scaling of displacement
  • Build a Markov chain simulator and compute its stationary distribution via eigendecomposition
  • Implement Metropolis-Hastings MCMC and Langevin dynamics for sampling from target distributions
  • Connect the forward diffusion process to Brownian motion and explain how the reverse process generates data