 The parameters of a hidden Markov model are of two types, "transition probabilities" and "emission probabilities" (also known as "output probabilities").The transition probabilities control the way the hidden state at time is chosen given the hidden state at time formula_21.The hidden state space is assumed to consist of one of possible values, modelled as a categorical distribution.