get.potential: Calculate the potential of CRF

Description Usage Arguments Details Value See Also

View source: R/misc.R

Description

Calculate the potential of a CRF with given configuration

Usage

1
get.potential(crf, configuration)

Arguments

crf

The CRF

configuration

The vector of states of nodes

Details

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

Value

The function will return the potential of CRF with given configuration

See Also

get.logPotential


wulingyun/CRF documentation built on Dec. 4, 2019, 2:58 p.m.