Class TwoLabelKLGEConstraints.TwoLabelKLGEConstraint
- java.lang.Object
-
- cc.mallet.fst.semi_supervised.constraints.TwoLabelGEConstraints.TwoLabelGEConstraint
-
- cc.mallet.fst.semi_supervised.constraints.TwoLabelKLGEConstraints.TwoLabelKLGEConstraint
-
- Enclosing class:
- TwoLabelKLGEConstraints
protected class TwoLabelKLGEConstraints.TwoLabelKLGEConstraint extends TwoLabelGEConstraints.TwoLabelGEConstraint
-
-
Field Summary
-
Fields inherited from class cc.mallet.fst.semi_supervised.constraints.TwoLabelGEConstraints.TwoLabelGEConstraint
count, expectation, target, weight
-
-
Constructor Summary
Constructors Constructor Description TwoLabelKLGEConstraint(double[][] target, double weight)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getValue(int liPrev, int liCurr)
-
-
-
Method Detail
-
getValue
public double getValue(int liPrev, int liCurr)
- Specified by:
getValue
in classTwoLabelGEConstraints.TwoLabelGEConstraint
-
-