decode.junction {CRF} | R Documentation |
Decoding method for low-treewidth graphs
Description
Computing the most likely configuration for CRF
Usage
decode.junction(crf)
Arguments
crf |
The CRF |
Details
Exact decoding for low-treewidth graphs using junction trees
Value
This function will return the most likely configuration, which is a vector of length crf$n.nodes
.
Examples
library(CRF)
data(Small)
d <- decode.junction(Small$crf)
[Package CRF version 0.4-3 Index]