10. December 2015

## Hamiltonian Monte Carlo

There have been a number of papers at NIPS that use Hamiltonian Monte Carlo, and I thought I’d share a Javascript implementation of the algorithm that I wrote a couple years ago. It can be a fairly opaque algorithm when described mathematically, and I found it really useful to see it working. It turns out it’s kind of mesmerizing.