Mixtures of Gaussians and the EM algorithm http://cs229.stanford.edu/ http://cs229.stanford.edu/notes/cs229-notes7b.pdf