Code supporting the analyses of the blog posts about EM and latent variable models on https://mkffl.github.io/.
The code is organised as follows
model.py
includes functionality to run Gaussian and Poisson mixture modelsplot_utils.py
includes matplotlib functions to generate the charts in the blog poststest_models.py
includes tests for the Poisson mixture model