decode.trbp: Decoding method using tree-reweighted belief propagation

Description Usage Arguments Details Value Examples

View source: R/decode.R

Description

Computing the most likely configuration for CRF

Usage

1
decode.trbp(crf, max.iter = 10000, cutoff = 1e-04, verbose = 0)

Arguments

crf

The CRF

max.iter

The maximum allowed iterations of termination criteria

cutoff

The convergence cutoff of termination criteria

verbose

Non-negative integer to control the tracing informtion in algorithm

Details

Approximate decoding using max-product tree-reweighted belief propagtion

Value

This function will return the most likely configuration, which is a vector of length crf$n.nodes.

Examples

1
2
3

CRF documentation built on May 29, 2017, 3:56 p.m.

Search within the CRF package
Search all R packages, documentation and source code