calhoun.analysis.crf.solver
Class TwoPassOptimizer

java.lang.Object
  extended by calhoun.analysis.crf.solver.TwoPassOptimizer
All Implemented Interfaces:
CRFTraining

public class TwoPassOptimizer
extends java.lang.Object
implements CRFTraining

a two pass optimizer that does an initial optimization and then uses the weights generated from that as the start of a second optimization. It is configured with two separate CRFOptimizer oibjects for the two passes and additionally needs a CRFObjectiveFunctionGradient for the first pass.

This optimizer has two configuration properties that must be set and control the optimization process