AppliedAIPrep logoAppliedAI/Prep
Machine Learning & Data Science / 100

CRF vs HMM for sequence labeling: generative or discriminative?

An HMM is generative and assumes independent emissions. A CRF is discriminative, so it takes arbitrary overlapping features. Both decode with Viterbi.

Updated Aug 2026 · Grounded in real Applied AI Engineer interview loops and written to a senior-engineer editorial bar.

An HMM is generative and assumes independent emissions. A CRF is discriminative, so it takes arbitrary overlapping features. Both decode with Viterbi.

Unlock the other 754 answers · ₹2,000 / $25includes both full courses · progress stays saved · 6 months · one payment · no auto-renew
UP NEXT ON YOUR JOURNEY
DISCUSSION · 0

No comments yet — be the first to share your approach.