资源说明:Notes on Hidden Markov Models
Hidden Markov Model Notes This repo currently contains a few clips of notes on Hidden Markov Models. HMMs are essentially regular expressions with mushiness, or rather, regex with the ability to match patterns and return a probability of a match as opposed to yes/no. This property allows them to be really good at matching sequences of symbols where some parts of the sequences might sometimes be one symbol, but other times another. Examples lie in matching genomic sequences, music and voice recognition, and several other fields. Usages Typically, HMMs are being used to answer one of three questions: How good/probable of a match is this sequence (to a HMM)? [Matching, or Likelihood] (See fair_bet_casion.rb) For a sequence of observed events, what’s the most likely sequence of hidden events? [Decoding] (See viterbi_demo.rb and viterbi.rb) What’s the HMM that best matches this set of sequences? [Learning] (I still have to write a demo that implements the Baum-Welch algorithm) (The Wikipedia version of ^^^ follows) There are three canonical problems associated with HMM: Given the parameters of the model, compute the probability of a particular output sequence, and the probabilities of the hidden state values given that output sequence. This problem is solved by the forward-backward algorithm. Given the parameters of the model, find the most likely sequence of hidden states that could have generated a given output sequence. This problem is solved by the Viterbi algorithm. Given an output sequence or a set of such sequences, find the most likely set of state transition and output probabilities. In other words, discover the parameters of the HMM given a dataset of sequences. This problem is solved by the Baum-Welch algorithm. Papers I’ll start to put together a collection of papers (and hopefully not cry when I get sent notices to remove them), but for the time being, the classic is Rabiner’s “A Tutorial on Hidden Markov Models and Selected Applications in Speech Recognition”. It’s a beast, but an awesome one at that.
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。