EM algorithms of Gaussian mixture model and hidden Markov model | Synapse