Learn R Programming

CRF (version 0.3-8)

get.logPotential: Calculate the log-potential of CRF

Description

Calculate the logarithmic potential of a CRF with given configuration

Usage

get.logPotential(crf, configuration)

Arguments

crf
The CRF
configuration
The vector of states of nodes

Value

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

Details

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

See Also

get.potential