| infer.tree {CRF} | R Documentation | 
Inference method for tree- and forest-structured graphs
Description
Computing the partition function and marginal probabilities
Usage
infer.tree(crf)
Arguments
| crf | The CRF | 
Details
Exact inference for tree- and forest-structured graphs with sum-product belief propagation
Value
This function will return a list with components:
| node.bel | Node belief. It is a matrix with  | 
| edge.bel | Edge belief. It is a list of matrices. The size of list is  | 
| logZ | The logarithmic value of CRF normalization factor Z. | 
Examples
library(CRF)
data(Small)
i <- infer.tree(Small$crf)
[Package CRF version 0.4-3 Index]