Hidden Markov Models & learning algorithm in Python for Senz