Week 7 Homework - Programming-from-A-to-Z/A2Z-F15 GitHub Wiki

Due Nov 2

Use markov chains to generate text. It's not required to write any new code for this assignment. Here are some approaches you could take:

  • Use one of the existing examples to generate text and pick different inputs. Play with the "order" or "maximum" length variables. Try mixing multiple texts. Copy paste your favorite outputs from the browser and document in a blog post.
  • Use a markov chain on something other than text. Record your own sequence of daily habits. Try musical notes. Could pixels be a markov chain? What else?
  • Animate the process of the markov chain in action.
  • Visualize the ngram frequencies.
  • If you prefer to continue work on your previous text input project and take it a step further that is also an option.

Questions?

  • add your question here

Markov Chain Exercise: