All the code files are self-contained and can be run individually. Just make sure that all the files are in the same directory
To run em and get mu and theta python em.py
To generate the histogram python plot_hist.py
To generate the plot for mixture of gaussian python plot_density.py
To generate the combined plot python plot_all.py
To generate contour plot python contour.py