get.potential function

Calculate the potential of CRF

Calculate the potential of CRF

Calculate the potential of a CRF with given configuration

get.potential(crf, configuration)

Arguments

  • crf: The CRF
  • configuration: The vector of states of nodes

Returns

The function will return the potential of CRF with given configuration

Details

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

See Also

get.logPotential

  • Maintainer: Ling-Yun Wu
  • License: GPL (>= 2)
  • Last published: 2019-12-01