#include <Param.h>
Public Member Functions | |
void | check_param () const |
LBFGSParam () | |
Public Attributes | |
Scalar | delta |
Scalar | epsilon |
Scalar | ftol |
int | linesearch |
int | m |
int | max_iterations |
int | max_linesearch |
Scalar | max_step |
Scalar | min_step |
int | past |
Scalar | wolfe |
Parameters to control the LBFGS algorithm.
|
inline |
|
inline |
Scalar LBFGSpp::LBFGSParam< Scalar >::delta |
Scalar LBFGSpp::LBFGSParam< Scalar >::epsilon |
Scalar LBFGSpp::LBFGSParam< Scalar >::ftol |
int LBFGSpp::LBFGSParam< Scalar >::linesearch |
int LBFGSpp::LBFGSParam< Scalar >::m |
The number of corrections to approximate the inverse hessian matrix. The L-BFGS routine stores the computation results of previous m iterations to approximate the inverse hessian matrix of the current iteration. This parameter controls the size of the limited memories (corrections). The default value is 6
. Values less than 3
are not recommended. Large values will result in excessive computing time.
int LBFGSpp::LBFGSParam< Scalar >::max_iterations |
int LBFGSpp::LBFGSParam< Scalar >::max_linesearch |
Scalar LBFGSpp::LBFGSParam< Scalar >::max_step |
Scalar LBFGSpp::LBFGSParam< Scalar >::min_step |
int LBFGSpp::LBFGSParam< Scalar >::past |
Distance for delta-based conergence test. This parameter determines the distance to compute the rate of decrease of the objective function,
, where
is the current iteration step. If the value of this parameter is zero, the delta-based convergence test will not be performed. The default value is
0
.
Scalar LBFGSpp::LBFGSParam< Scalar >::wolfe |