Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Sandy4321/97a66a261f296ff7c0dd8dbd382775f8 to your computer and use it in GitHub Desktop.
Save Sandy4321/97a66a261f296ff7c0dd8dbd382775f8 to your computer and use it in GitHub Desktop.
import matplotlib.pyplot as plt
import seaborn as sns
from markovchain import MarkovChain
mc = MarkovChain(trans_matrix.values, trans_matrix.index)
mc.draw()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment