I new in machine learning, especially in Conditional Random Fields (CRF).

I have read several articles and papers and in there is always associated with HMM and sequences classification. I don't really understand mathematics, especially in the annoying formula. So I can't understand the process. Where I need to start to understand CRFs??

I want to make an information extraction application using CRF Named Entity Recognition (NER).

I got some tutorial for that: https://eli5.readthedocs.io/en/latest/tutorials/sklearn_crfsuite.html#training-data

But I don't know the proses each step, like training proses, evaluation, and testing

I use this code :

  data_frame = eli5.format_as_dataframes(

Targets enter image description here

Transition Features enter image description here

How to get that number ?

and 1 more thing makes me confused:

crf = sklearn_crfsuite.CRF(

What is the algorithm lbfgs? Is the CRF not an algorithm? Why do I need lbfgs? What is exactly a conditional random field?

  • 1
    $\begingroup$ I will provide an answer later, but you will have to wait (unless someone provides an answer meanwhile). Anyway, it is ok to be confused when it comes to CRFs, especially if you don't have a solid mathematical background. $\endgroup$ – nbro Jul 14 '19 at 11:17
  • $\begingroup$ okay, thank you for responding I really appreciate that @nbro $\endgroup$ – Faris Dewantoro Jul 14 '19 at 13:14
  • $\begingroup$ heyy i still waiting your answer @nbro :( $\endgroup$ – Faris Dewantoro Jul 20 '19 at 10:28
  • 1
    $\begingroup$ Hey! Sorry for having made you wait for a long time without warning you. CRFs involve a lot of concepts. So, a satisfactory will possibly be quite long, which would have required some time. Meanwhile, I couldn't have spent so much time to give this answer. I will try to give you an answer this weekend. $\endgroup$ – nbro Jul 20 '19 at 10:42
  • $\begingroup$ @nbro Ok, i will waiting your answer :( $\endgroup$ – Faris Dewantoro Jul 20 '19 at 11:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.