powered by
Computing the most likely configuration for CRF
decode.tree(crf)
The CRF
This function will return the most likely configuration, which is a vector of length crf$n.nodes.
crf$n.nodes
Exact decoding for tree- and forest-structured graphs with max-product belief propagation
# NOT RUN { library(CRF) data(Small) d <- decode.tree(Small$crf) # }
Run the code above in your browser using DataLab