cc.mallet.classify.constraints.ge
Class MaxEntL2FLGEConstraints.MaxEntL2FLGEConstraint

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

protected class MaxEntL2FLGEConstraints.MaxEntL2FLGEConstraint
extends MaxEntFLGEConstraints.MaxEntFLGEConstraint


Field Summary
 
Fields inherited from class cc.mallet.classify.constraints.ge.MaxEntFLGEConstraints.MaxEntFLGEConstraint
count, expectation, target, weight
 
Constructor Summary
MaxEntL2FLGEConstraints.MaxEntL2FLGEConstraint(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

MaxEntL2FLGEConstraints.MaxEntL2FLGEConstraint

public MaxEntL2FLGEConstraints.MaxEntL2FLGEConstraint(double[] target,
                                                      double weight)
Method Detail

getValue

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