I'm using hmmlearn's GaussianHMM to train a Hidden Markov Model with Gaussian observations. Each hidden state k has its corresponding Gaussian parameters: mu_k, Sigma_k.
After training the model, I would like to calculate the following quantity:
P(z_{T+1} = j | x_{1:T}),
where j = 1, 2, ... K, K is the number of hidden states.
The above probability is basically the one-step-ahead hidden state probabilities, given a full sequence of observations: x_1, x_2, ..., x_T, where x_i, i=1,...,T are used to train the HMM model.
I read the documentation, but couldn't find a function to calculate this probability. Is there any workaround?