54What is a Hidden Markov Model, and what does the Viterbi algorithm do?▼hardGoogleAmazonApple1 replies◆ premiumHMMs are the classic probabilistic sequence model behind speech and tagging, and Viterbi is how you decode them. The signal is the hidden-states plus transitions/emissions structure, and that Viterbi is dynamic programming for the single best state path, not a probability.Open full answer →
100CRF vs HMM for sequence labeling: generative or discriminative?▼hardGoogleMicrosoftAmazon2 replies◆ premiumAn HMM is generative and assumes independent emissions. A CRF is discriminative, so it takes arbitrary overlapping features. Both decode with Viterbi.Open full answer →