cc.mallet.fst.semi_supervised.constraints
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
target
protected double[] target
expectation
protected double[] expectation
count
protected double count
weight
protected double weight
OneLabelGEConstraints.OneLabelGEConstraint
public OneLabelGEConstraints.OneLabelGEConstraint(double[] target,
double weight)
getCount
public double getCount()
getTarget
public double[] getTarget()
getExpectation
public double[] getExpectation()
getWeight
public double getWeight()
getValue
public abstract double getValue(int li)