YeonwooSung / ai_book

AI book for everyone
23 stars 4 forks source link

CRF (Conditional Random Fields) #12

Open YeonwooSung opened 3 years ago

YeonwooSung commented 3 years ago

Ratsgo's blog

YeonwooSung commented 3 years ago

Conditional random fields (CRFs) are a class of statistical modeling method often applied in pattern recognition and machine learning and used for structured prediction. Whereas a classifier predicts a label for a single sample without considering "neighboring" samples, a CRF can take context into account. To do so, the prediction is modeled as a graphical model, which implements dependencies between the predictions. What kind of graph is used depends on the application. For example, in natural language processing, linear chain CRFs are popular, which implement sequential dependencies in the predictions. In image processing the graph typically connects locations to nearby and/or similar locations to enforce that they receive similar predictions.