Python implementation of NUTS sampler Algorithm 6 from "The No-Turn Sampler: Adaptively Setting Path Lengths in Hamiltonian Monte Carlo" (Hoffman, Gelman 2014). code and write-up done for STA 663 at Duke University in Spring 2016.
Check out Final_WriteUp.ipynb for the complete project.
The code alone is in nuts6.ipynb.