cc.mallet.classify.constraints.pr
Class MaxEntFLPRConstraints.MaxEntFLPRConstraint
java.lang.Object
cc.mallet.classify.constraints.pr.MaxEntFLPRConstraints.MaxEntFLPRConstraint
- Direct Known Subclasses:
- MaxEntL2FLPRConstraints.MaxEntL2FLPRConstraint
- Enclosing class:
- MaxEntFLPRConstraints
protected abstract class MaxEntFLPRConstraints.MaxEntFLPRConstraint
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
count
protected double count
weight
protected double weight
target
protected double[] target
expectation
protected double[] expectation
MaxEntFLPRConstraints.MaxEntFLPRConstraint
public MaxEntFLPRConstraints.MaxEntFLPRConstraint(double[] target,
double weight)
getTarget
public double[] getTarget()
getExpectation
public double[] getExpectation()
getCount
public double getCount()
getWeight
public double getWeight()