public class LineSearch extends Object
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
LineSearch.LineSearchResult
Class to store lineSearch result 
 | 
| Constructor and Description | 
|---|
LineSearch()  | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
doConstrainedLineSearch(Function function,
                       double[] direction,
                       LineSearch.LineSearchResult lsr,
                       double l1Cost,
                       double initialStepSize)
Constrained line search (see section 3.2 in the paper "Scalable Training
 of L1-Regularized Log-Linear Models", Andrew et al. 
 | 
static void | 
doLineSearch(Function function,
            double[] direction,
            LineSearch.LineSearchResult lsr,
            double initialStepSize)
Backtracking line search (see Nocedal & Wright 2006, Numerical Optimization, p. 
 | 
public static void doLineSearch(Function function, double[] direction, LineSearch.LineSearchResult lsr, double initialStepSize)
public static void doConstrainedLineSearch(Function function, double[] direction, LineSearch.LineSearchResult lsr, double l1Cost, double initialStepSize)
Copyright © 2017 The Apache Software Foundation. All rights reserved.