Advanced Estimation of Hidden Markov Models: Handling Discrete Latent Variables in Prediction and Forecasting | Synapse