decode.tree {CRF} | R Documentation |
Decoding method for tree- and forest-structured graphs
Description
Computing the most likely configuration for CRF
Usage
decode.tree(crf)
Arguments
crf |
The CRF |
Details
Exact decoding for tree- and forest-structured graphs with max-product belief propagation
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.tree(Small$crf)
[Package CRF version 0.4-3 Index]