com.pawjaw.classification.crf.lmcbt
Class CRFMath
java.lang.Object
com.pawjaw.classification.crf.lmcbt.CRFMath
public class CRFMath
- extends java.lang.Object
Method Summary |
static double |
eExp(double x)
|
static double |
eLog(double x)
|
static double |
eLogProduct(double elogx,
double elogy)
|
static double |
eLogSum(double elogx,
double elogy)
|
static boolean |
isLogZero(double x)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOGZERO
public static final double LOGZERO
- See Also:
- Constant Field Values
LOGONE
public static final double LOGONE
- See Also:
- Constant Field Values
CRFMath
public CRFMath()
isLogZero
public static final boolean isLogZero(double x)
eExp
public static final double eExp(double x)
eLog
public static final double eLog(double x)
eLogSum
public static final double eLogSum(double elogx,
double elogy)
eLogProduct
public static final double eLogProduct(double elogx,
double elogy)