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 →
100When would you use a CRF instead of an HMM for sequence labeling, and why?▼hardGoogleMicrosoftAmazon2 replies◆ premiumBoth tag sequences, but one is generative and one is discriminative, and that difference decides whether you can throw in overlapping features. Here is the comparison that shows you know the modeling tradeoff, not just the acronyms.Open full answer →