edu.mit.util.weka
Class LBFGSWrapper
java.lang.Object
edu.mit.util.weka.LBFGSWrapper
- Direct Known Subclasses:
- CuCoSeg.PriorOptimizer, DPSeg.PriorOptimizer
public abstract class LBFGSWrapper
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_max_its
protected int m_max_its
m_eps
public double m_eps
xtol
protected double xtol
m_num_corrections
public int m_num_corrections
m_estimate
protected double[] m_estimate
m_value
protected double m_value
m_num_parameters
protected int m_num_parameters
m_debug
protected boolean m_debug
LBFGSWrapper
public LBFGSWrapper(int num_parameters)
objectiveFunction
public abstract double objectiveFunction(double[] x)
throws Exception
- Throws:
Exception
evaluateGradient
public abstract double[] evaluateGradient(double[] x)
throws Exception
- Throws:
Exception
getVarbValues
public double[] getVarbValues()
getMinFunction
public double getMinFunction()
setEstimate
public void setEstimate(double[] estimate)
- setEstimate
Use this to initialize the search
setDebug
public void setDebug(boolean debug)
setMaxIteration
public void setMaxIteration(int max_its)
findArgmin
public double[] findArgmin()
throws Exception
- Throws:
Exception
Copyright © 2008 MIT. All Rights Reserved.