Ask HN: Best place to start learning about Markov Chains?
1–10 of 69 posts
Re: Ask HN: Best place to start learning about Markov Chains?
#2Re: Ask HN: Best place to start learning about Markov Chains?
#3Re: Ask HN: Best place to start learning about Markov Chains?
#445% http://setosa.io/ev/markov-chains/
30% https://en.wikipedia.org/wiki/Markov_chain
25% Youtube
Re: Ask HN: Best place to start learning about Markov Chains?
#5Most interesting facts about Markov chains (e.g. the Stationary Distribution Theorem) really are probabilistic generalisations of simpler facts about FSAs (e.g. FSAs cannot be used to "count"). In my experience, understanding them first for FSAs and then seeing how they generalise for the probabilitic case is a good way of approaching this subject.
Re: Ask HN: Best place to start learning about Markov Chains?
#6Re: Ask HN: Best place to start learning about Markov Chains?
#7[1] http://camdavidsonpilon.github.io/Probabilistic-Programming-...
Re: Ask HN: Best place to start learning about Markov Chains?
#8https://github.com/melling/MathAndScienceNotes/tree/master/s...
Re: Ask HN: Best place to start learning about Markov Chains?
#9it can be implemented in a few lines of code, that's the beauty of it: https://github.com/justindomingue/markov_chains/blob/master/...
obviously then you could take the previous n words into account, tweak the starting word, add randomness, etc.
now replace "word" with "state" and "probability(next state | previous state)" to edges of a graph: https://static1.squarespace.com/static/54e50c15e4b058fc6806d...
and you got a generic markov chain :)
footnotes: p(A | B) is probability of A given B, e.g. p(rain | clouds) > p(rain | sun) :)
Re: Ask HN: Best place to start learning about Markov Chains?
#10The Charniak book is primarily about HMMs and quite short, so it's the best introduction to the subject. Manning and Schütze and Jurafsky and Martin are much more extensive and cover pretty much all of statistical NLP up to their publication date (so no LSTMs if I remember correctly) but they are required reading for an in-depth approach.
You will definitely want to go beyond HMMs at some point, so you will probably want the other two books. But, if you really just want to know about HMMs, then start with the Charniak.
______________
[1] https://mitpress.mit.edu/books/statistical-language-learning