edu.isi.karma.modeling.semantictypes.mycrf.optimization
Class OptimizeFieldOnly

java.lang.Object
  extended by edu.isi.karma.modeling.semantictypes.mycrf.optimization.OptimizeFieldOnly

public class OptimizeFieldOnly
extends java.lang.Object

This is the class that performs the optimization of the CRF model. It uses other classes in this package to guess the gradient to follow and the step size to use. It also have several stopping criteria, such as, gradient being too small, and change in the error value being too small.

Author:
amangoel

Constructor Summary
OptimizeFieldOnly(CRFModelFieldOnly crfModel, GlobalDataFieldOnly globalData)
           
 
Method Summary
 void optimize(int maxIters)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OptimizeFieldOnly

public OptimizeFieldOnly(CRFModelFieldOnly crfModel,
                         GlobalDataFieldOnly globalData)
Method Detail

optimize

public void optimize(int maxIters)