Learn R Programming

CRF (version 0.4-3)

decode.junction: Decoding method for low-treewidth graphs

Description

Computing the most likely configuration for CRF

Usage

decode.junction(crf)

Arguments

crf

The CRF

Value

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

Details

Exact decoding for low-treewidth graphs using junction trees

Examples

Run this code
# NOT RUN {
library(CRF)
data(Small)
d <- decode.junction(Small$crf)

# }

Run the code above in your browser using DataLab