get.logPotential: Calculate the log-potential of CRF

Description Usage Arguments Details Value See Also

View source: R/misc.R

Description

Calculate the logarithmic potential of a CRF with given configuration

Usage

1
get.logPotential(crf, configuration)

Arguments

crf

The CRF

configuration

The vector of states of nodes

Details

The function will calculate the logarithmic potential of a CRF with given configuration, i.e., the assigned states of nodes in the CRF.

Value

The function will return the log-potential of CRF with given configuration

See Also

get.potential


CRF documentation built on Dec. 1, 2019, 3:02 a.m.