get.logPotential {CRF} | R Documentation |
Calculate the logarithmic potential of a CRF with given configuration
get.logPotential(crf, configuration)
crf |
The CRF |
configuration |
The vector of states of nodes |
The function will calculate the logarithmic potential of a CRF with given configuration, i.e., the assigned states of nodes in the CRF.
The function will return the log-potential of CRF with given configuration