cc.mallet.fst.semi_supervised
Class GEKLCriteria

java.lang.Object
  extended by cc.mallet.fst.semi_supervised.GECriteria
      extended by cc.mallet.fst.semi_supervised.GEKLCriteria

public class GEKLCriteria
extends GECriteria


Field Summary
 
Fields inherited from class cc.mallet.fst.semi_supervised.GECriteria
constraintBits, constraints, labelExpExecutor, numStates, stateLabelMap
 
Constructor Summary
GEKLCriteria(int numStates, StateLabelMap stateLabelMap, java.util.Map<java.lang.Integer,GECriterion> constraints)
           
 
Method Summary
 double getGEValue()
          Computes sum of GE constraint values.
 
Methods inherited from class cc.mallet.fst.semi_supervised.GECriteria
assertLabelExpNonNull, calculateExpectations, getConstraint, getConstraintBits, getConstraintBitsForInstance, getExpectationForInstance, getExpectationForInstance, getFeatureIndexIterator, getStateLabelMap, print, setConstraintBits
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GEKLCriteria

public GEKLCriteria(int numStates,
                    StateLabelMap stateLabelMap,
                    java.util.Map<java.lang.Integer,GECriterion> constraints)
Method Detail

getGEValue

public double getGEValue()
Computes sum of GE constraint values.

Note: Label expectations are not re-computed here. If desired, then make a call to calculateLabelExp.

Specified by:
getGEValue in class GECriteria