# Is there a mathemtical example for Conditional Random Fields?

I am learning about probabilistic graphical models and I was wondering if there is an example explaining the math behind Conditional random Fields. Looking solely on the formula I have no Idea what we actually do. I found a lot of examples for Hidden Markov Model. There is a part speech-tag task where we have to find the tags for the sentence "flies like a flower". On these slides (slide 8) Ambiguity Resolution: Statistical Method-Prof. Ahmed Rafea a HMM is used to find the correct tags. How would I transform this model to a CRF and how would I apply the math?

## 1 Answer

CRF is for HMM in sequences classification as Logistic Regression is for Naive Bayes for simple classification. For a in depth difference between them I strongly suggest you to read the classical Sutton article "An Introduction to Conditional Random Fields". For a more practical example explaining how to apply the math I suggest you to read this article.