decode.exact {CRF}R Documentation

Decoding method for small graphs

Description

Computing the most likely configuration for CRF

Usage

decode.exact(crf)

Arguments

crf

The CRF

Details

Exact decoding for small graphs with brute-force search

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.exact(Small$crf)


[Package CRF version 0.4-3 Index]