#include <optimize.h>
Inheritance diagram for _gd_adaptive:
Public Member Functions | |
_gd_adaptive (LM *lm, const Step &lr, const Step &a, const Step &b) | |
void | initialize () |
Initialize local variables. | |
std::pair< bool, Step > | step_length (Dir d) |
void | update_weight (Dir d, const Step &s) |
bool | satisfied () |
Stopping criteria. | |
Public Attributes | |
Step | alpha |
Step | beta |
Protected Attributes | |
Cost | old_cost |
Definition at line 188 of file optimize.h.
|
Definition at line 195 of file optimize.h. |
|
Initialize local variables.
Reimplemented from _gradient_descent. Definition at line 198 of file optimize.h. |
|
Stopping criteria.
Reimplemented from _gradient_descent. Definition at line 238 of file optimize.h. |
|
Definition at line 203 of file optimize.h. |
|
Reimplemented from _gradient_descent. Definition at line 231 of file optimize.h. |
|
Definition at line 193 of file optimize.h. |
|
Definition at line 193 of file optimize.h. |
|
Definition at line 241 of file optimize.h. |