get.potential {CRF}R Documentation

Calculate the potential of CRF

Description

Calculate the potential of a CRF with given configuration

Usage

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


[Package CRF version 0.4-3 Index]