decode.exact {CRF} | R Documentation |
Computing the most likely configuration for CRF
decode.exact(crf)
crf |
The CRF |
Exact decoding for small graphs with brute-force search
This function will return the most likely configuration, which is a vector of length crf$n.nodes
.
library(CRF)
data(Small)
d <- decode.exact(Small$crf)