edu.umass.cs.mallet.base.fst
Class CRF_PL.MaximizableCRF_PL

java.lang.Object
  extended byedu.umass.cs.mallet.base.fst.CRF4.MaximizableCRF
      extended byedu.umass.cs.mallet.base.fst.CRF_PL.MaximizableCRF_PL
All Implemented Interfaces:
Maximizable, Maximizable.ByGradient, java.io.Serializable
Enclosing class:
CRF_PL

public class CRF_PL.MaximizableCRF_PL
extends CRF4.MaximizableCRF
implements Maximizable.ByGradient

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class edu.umass.cs.mallet.base.maximize.Maximizable
Maximizable.ByGISUpdate, Maximizable.ByGradient, Maximizable.ByHessian, Maximizable.ByValue, Maximizable.ByVotedPerceptron
 
Constructor Summary
protected CRF_PL.MaximizableCRF_PL(InstanceList trainingData, CRF_PL memm)
           
 
Method Summary
protected  void gatherConstraints(InstanceList ilist)
           
protected  double gatherExpectationsOrConstraints(boolean constraints)
           
protected  double getExpectationValue()
           
 
Methods inherited from class edu.umass.cs.mallet.base.fst.CRF4.MaximizableCRF
getNewMatrix, getNumParameters, getParameter, getParameters, getValue, getValueGradient, setCurIter, setParameter, setParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.umass.cs.mallet.base.maximize.Maximizable.ByGradient
getValue, getValueGradient
 
Methods inherited from interface edu.umass.cs.mallet.base.maximize.Maximizable
getNumParameters, getParameter, getParameters, setParameter, setParameters
 

Constructor Detail

CRF_PL.MaximizableCRF_PL

protected CRF_PL.MaximizableCRF_PL(InstanceList trainingData,
                                   CRF_PL memm)
Method Detail

gatherExpectationsOrConstraints

protected double gatherExpectationsOrConstraints(boolean constraints)

getExpectationValue

protected double getExpectationValue()
Overrides:
getExpectationValue in class CRF4.MaximizableCRF

gatherConstraints

protected void gatherConstraints(InstanceList ilist)
Overrides:
gatherConstraints in class CRF4.MaximizableCRF