Implementation and explanation of the paper The Infinite Gaussian Mixture Model.
sampler.py
Implements adaptive rejection sampling and gibbs sampling.
distributions.py
Contains representation of a piecewise exponential distribution.
Infinite Gaussian Mixture Model.ipynb
Implementation of the method along with my running commentary.