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

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

public class LBFGS
extends java.lang.Object

This class implements limited memory BFGS. It generates the next gradient to follow based on previous values of the weights and also previous gradients.

Author:
amangoel

Constructor Summary
LBFGS(int dim)
           
 
Method Summary
 void searchDir(double[] x, double[] g, double[] d)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LBFGS

public LBFGS(int dim)
Method Detail

searchDir

public void searchDir(double[] x,
                      double[] g,
                      double[] d)