Introduction - If you have any usage issues, please Google them yourself
To predict the state of an object: divide it according to the purpose of prediction
Calculate the initial probability: calculate the probability of the state according to the historical data
The transition probability matrix is calculated and the transition probability matrix P is constructed
According to the prediction of the transition probability, the Pij represents the probability of the transition from state I to state j
The maximum likelihood is the selection principle: choice (Pj1, Pj2),... The largest in PjN is the predicted outcome.
When the state transition probability is calculated, the last data is not counted