Class TwoLabelGEConstraints.TwoLabelGEConstraint
- java.lang.Object
-
- cc.mallet.fst.semi_supervised.constraints.TwoLabelGEConstraints.TwoLabelGEConstraint
-
- Direct Known Subclasses:
TwoLabelKLGEConstraints.TwoLabelKLGEConstraint
,TwoLabelL2GEConstraints.TwoLabelL2GEConstraint
- Enclosing class:
- TwoLabelGEConstraints
protected abstract class TwoLabelGEConstraints.TwoLabelGEConstraint extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected double
count
protected double[][]
expectation
protected double[][]
target
protected double
weight
-
Constructor Summary
Constructors Constructor Description TwoLabelGEConstraint(double[][] target, double weight)
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract double
getValue(int liPrev, int liCurr)
-