Fun Experiments with Markov Chain

independancedayA stochastic process is a mathematical model that evolves over time in a probabilistic manner. Markov chain is a special kind of stochastic process, where the outcome of the experiment depends only on the outcome of the previous experiment. That is the next state of the system depends only on the present state, not on preceding states. Markov chains are named after the Russian mathematician A. A. Markov who stated the theory of stochastic processes.

Now what if we mix markov chain and PM Modi’s independence day speech, find the hilarious results in this ipython notebook.

Markov Chain and Modi’s Speech

After this experiment, I know how some of the comment spam is being generated and is fooling the comment filters on wordpress.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s