Machine Learning, Python.
suggests, uses a tabular representation for the transition probabilities. The following table shows the transition matrix for the Markov chain shown in Figure 1.1. The probability values represent the probability of the system going from the state in the row to the states mentioned in the columns: