Computes the minimum of a function using a gradient descent approach. More...
#include "math/gradient_descent.h"
Protected Member Functions | |
value_type | evaluate_func (const Eigen::Matrix< value_type, Eigen::Dynamic, 1 > &newx, Eigen::Matrix< value_type, Eigen::Dynamic, 1 > &newg, bool verbose=false) |
void | compute_normg_and_step_unscaled () |
Protected Attributes | |
Function & | func |
UpdateFunctor | update_func |
const value_type | step_up |
const value_type | step_down |
bool | verbose |
std::string | delim |
size_t | niter |
Eigen::Matrix< value_type, Eigen::Dynamic, 1 > | x |
Eigen::Matrix< value_type, Eigen::Dynamic, 1 > | x2 |
Eigen::Matrix< value_type, Eigen::Dynamic, 1 > | g |
Eigen::Matrix< value_type, Eigen::Dynamic, 1 > | g2 |
Eigen::Matrix< value_type, Eigen::Dynamic, 1 > | preconditioner_weights |
value_type | f |
value_type | dt |
value_type | normg |
value_type | step_unscaled |
size_t | nfeval |
Computes the minimum of a function using a gradient descent approach.
Definition at line 52 of file gradient_descent.h.
|
inlineprotected |
Definition at line 229 of file gradient_descent.h.
|
inlineprotected |
Definition at line 216 of file gradient_descent.h.
|
protected |
Definition at line 210 of file gradient_descent.h.
|
protected |
Definition at line 213 of file gradient_descent.h.
|
protected |
Definition at line 213 of file gradient_descent.h.
|
protected |
Definition at line 206 of file gradient_descent.h.
|
protected |
Definition at line 212 of file gradient_descent.h.
|
protected |
Definition at line 212 of file gradient_descent.h.
|
protected |
Definition at line 214 of file gradient_descent.h.
|
protected |
Definition at line 211 of file gradient_descent.h.
|
protected |
Definition at line 213 of file gradient_descent.h.
|
protected |
Definition at line 212 of file gradient_descent.h.
|
protected |
Definition at line 208 of file gradient_descent.h.
|
protected |
Definition at line 213 of file gradient_descent.h.
|
protected |
Definition at line 208 of file gradient_descent.h.
|
protected |
Definition at line 207 of file gradient_descent.h.
|
protected |
Definition at line 209 of file gradient_descent.h.
|
protected |
Definition at line 212 of file gradient_descent.h.
|
protected |
Definition at line 212 of file gradient_descent.h.