Explaining Markov Chain Monte Carlo using Wildfire Forenscics
Hey CCAI community, hope everyone’s been enjoying the Virtual Summer School this year!
I just wanted to post about an explainer article I had fun writing recently on the Markov Chain Monte Carlo (MCMC) sampling algorithm, but with the added twist of a storytelling element to it featuring “Prof. Markov” and his wildfire investigation. If you've followed along with some of my last couple of posts on Bayesian Inference and its applications to wildfire management, this one's a bit of a companion piece.
Instead of working through the model directly, I wanted to pull back the curtain on how a Bayesian model actually generates a sample of a posterior distribution once you hit the "sample” function on a probabilistic programming framework like PyMC.
In it we'll be following Prof Markov as he traces a wildfire's ignition point using a burn map, prior risk data, and a loaded die, to illustrate how the original variant of MCMC, the Metropolis-Hastings algorithm, runs in practice.
Ideally you find value in what I hope was a fun, but effective, stylistic change in covering key statistical machine learning concepts! Happy to receive people's feedback, especially if you've used MCMC in your own work.