Calculate the potential of CRF
Calculate the potential of a CRF with given configuration
get.potential(crf, configuration)
crf
: The CRFconfiguration
: The vector of states of nodesThe function will return the potential of CRF with given configuration
The function will calculate the potential of a CRF with given configuration, i.e., the assigned states of nodes in the CRF.
get.logPotential