Class TwoLabelL2GEConstraints.TwoLabelL2GEConstraint
- java.lang.Object
-
- cc.mallet.fst.semi_supervised.constraints.TwoLabelGEConstraints.TwoLabelGEConstraint
-
- cc.mallet.fst.semi_supervised.constraints.TwoLabelL2GEConstraints.TwoLabelL2GEConstraint
-
- Enclosing class:
- TwoLabelL2GEConstraints
protected class TwoLabelL2GEConstraints.TwoLabelL2GEConstraint 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 TwoLabelL2GEConstraint(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
-
-