Needs significant cleanup, but all of the requisite utilities to train an HMM and run predictive algorithms is there.