cc.mallet.classify.constraints.ge
Class MaxEntFLGEConstraints.MaxEntFLGEConstraint
java.lang.Object
cc.mallet.classify.constraints.ge.MaxEntFLGEConstraints.MaxEntFLGEConstraint
- Direct Known Subclasses:
- MaxEntKLFLGEConstraints.MaxEntKLFLGEConstraint, MaxEntL2FLGEConstraints.MaxEntL2FLGEConstraint
- Enclosing class:
- MaxEntFLGEConstraints
protected abstract class MaxEntFLGEConstraints.MaxEntFLGEConstraint
- 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
MaxEntFLGEConstraints.MaxEntFLGEConstraint
public MaxEntFLGEConstraints.MaxEntFLGEConstraint(double[] target,
double weight)
getTarget
public double[] getTarget()
getExpectation
public double[] getExpectation()
getCount
public double getCount()
getWeight
public double getWeight()
getValue
public abstract double getValue(int li)