cc.mallet.optimize
Class StochasticMetaAscent
java.lang.Object
cc.mallet.optimize.StochasticMetaAscent
- All Implemented Interfaces:
- Optimizer.ByBatches
public class StochasticMetaAscent
- extends java.lang.Object
- implements Optimizer.ByBatches
- Author:
- Greg Druck, Kedar Bellare
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StochasticMetaAscent
public StochasticMetaAscent(Optimizable.ByBatchGradient maxable)
setInitialStep
public void setInitialStep(double step)
setMu
public void setMu(double m)
setUseHessian
public void setUseHessian(boolean flag)
optimize
public boolean optimize(int numBatches,
int[] batchAssignments)
- Specified by:
optimize
in interface Optimizer.ByBatches
optimize
public boolean optimize(int numIterations,
int numBatches,
int[] batchAssignments)
- Specified by:
optimize
in interface Optimizer.ByBatches