cc.mallet.classify.constraints.pr
Class MaxEntFLPRConstraints.MaxEntFLPRConstraint

java.lang.Object
  extended by cc.mallet.classify.constraints.pr.MaxEntFLPRConstraints.MaxEntFLPRConstraint
Direct Known Subclasses:
MaxEntL2FLPRConstraints.MaxEntL2FLPRConstraint
Enclosing class:
MaxEntFLPRConstraints

protected abstract class MaxEntFLPRConstraints.MaxEntFLPRConstraint
extends java.lang.Object


Field Summary
protected  double count
           
protected  double[] expectation
           
protected  double[] target
           
protected  double weight
           
 
Constructor Summary
MaxEntFLPRConstraints.MaxEntFLPRConstraint(double[] target, double weight)
           
 
Method Summary
 double getCount()
           
 double[] getExpectation()
           
 double[] getTarget()
           
 double getWeight()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

count

protected double count

weight

protected double weight

target

protected double[] target

expectation

protected double[] expectation
Constructor Detail

MaxEntFLPRConstraints.MaxEntFLPRConstraint

public MaxEntFLPRConstraints.MaxEntFLPRConstraint(double[] target,
                                                  double weight)
Method Detail

getTarget

public double[] getTarget()

getExpectation

public double[] getExpectation()

getCount

public double getCount()

getWeight

public double getWeight()