cc.mallet.classify.constraints.ge
Class MaxEntKLFLGEConstraints.MaxEntKLFLGEConstraint

java.lang.Object
  extended by cc.mallet.classify.constraints.ge.MaxEntFLGEConstraints.MaxEntFLGEConstraint
      extended by cc.mallet.classify.constraints.ge.MaxEntKLFLGEConstraints.MaxEntKLFLGEConstraint
Enclosing class:
MaxEntKLFLGEConstraints

protected class MaxEntKLFLGEConstraints.MaxEntKLFLGEConstraint
extends MaxEntFLGEConstraints.MaxEntFLGEConstraint


Field Summary
 
Fields inherited from class cc.mallet.classify.constraints.ge.MaxEntFLGEConstraints.MaxEntFLGEConstraint
count, expectation, target, weight
 
Constructor Summary
MaxEntKLFLGEConstraints.MaxEntKLFLGEConstraint(double[] target, double weight)
           
 
Method Summary
 double getValue(int li)
           
 
Methods inherited from class cc.mallet.classify.constraints.ge.MaxEntFLGEConstraints.MaxEntFLGEConstraint
getCount, getExpectation, getTarget, getWeight
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MaxEntKLFLGEConstraints.MaxEntKLFLGEConstraint

public MaxEntKLFLGEConstraints.MaxEntKLFLGEConstraint(double[] target,
                                                      double weight)
Method Detail

getValue

public double getValue(int li)
Specified by:
getValue in class MaxEntFLGEConstraints.MaxEntFLGEConstraint