Markov Chains, Data Science.
probabilities of moving between states. For a discrete-state Markov chain with N possible states, S1, S2, S3, S4,, … , SN, the transition probabilities are often represented as a square matrix P, where Pij represents the probability of transitioning from state Si to state Sj​. Transition Matrix