Decoding method for low-treewidth graphs
Computing the most likely configuration for CRF
decode.junction(crf)
crf
: The CRFThis function will return the most likely configuration, which is a vector of length crf$n.nodes
.
Exact decoding for low-treewidth graphs using junction trees
library(CRF) data(Small) d <- decode.junction(Small$crf)