Class OneLabelGEConstraints.OneLabelGEConstraint
- java.lang.Object
-
- cc.mallet.fst.semi_supervised.constraints.OneLabelGEConstraints.OneLabelGEConstraint
-
- Direct Known Subclasses:
OneLabelKLGEConstraints.OneLabelGEKLConstraint
,OneLabelL2GEConstraints.OneLabelGEL2Constraint
- Enclosing class:
- OneLabelGEConstraints
protected abstract class OneLabelGEConstraints.OneLabelGEConstraint 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 OneLabelGEConstraint(double[] target, double weight)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description double
getCount()
double[]
getExpectation()
double[]
getTarget()
abstract double
getValue(int li)
double
getWeight()
-