Package cc.mallet.optimize
Class OrthantWiseLimitedMemoryBFGS
- java.lang.Object
-
- cc.mallet.optimize.OrthantWiseLimitedMemoryBFGS
-
- All Implemented Interfaces:
Optimizer
public class OrthantWiseLimitedMemoryBFGS extends java.lang.Object implements Optimizer
Implementation of orthant-wise limited memory quasi Newton method for optimizing convex L1-regularized objectives. See: "Scalable training of l1-regularized log-linear models" by Galen Andrew and Jianfeng Gao in ICML 2007 for details. This code is an adaptation of the freely-available C++ code on Galen's webpage.- Author:
- Kedar Bellare
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface cc.mallet.optimize.Optimizer
Optimizer.ByBatches
-
-
Constructor Summary
Constructors Constructor Description OrthantWiseLimitedMemoryBFGS(Optimizable.ByGradientValue function)
OrthantWiseLimitedMemoryBFGS(Optimizable.ByGradientValue function, double l1wt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIteration()
Optimizable
getOptimizable()
boolean
isConverged()
boolean
optimize()
boolean
optimize(int numIterations)
-
-
-
Constructor Detail
-
OrthantWiseLimitedMemoryBFGS
public OrthantWiseLimitedMemoryBFGS(Optimizable.ByGradientValue function)
-
OrthantWiseLimitedMemoryBFGS
public OrthantWiseLimitedMemoryBFGS(Optimizable.ByGradientValue function, double l1wt)
-
-
Method Detail
-
getOptimizable
public Optimizable getOptimizable()
- Specified by:
getOptimizable
in interfaceOptimizer
-
isConverged
public boolean isConverged()
- Specified by:
isConverged
in interfaceOptimizer
-
getIteration
public int getIteration()
-
-