A simple experiment of implementing EM algorithm using Haskell and its State monad + hmatrix.
Read the blog post about this project for more information.
The final project code is EmCoinState.hs and Main.hs. All other files are intermediary experiments that led to these two.
requires stack
stack build && stack exec haskell-em-exe