#include <optimize.h>
Inheritance diagram for _gd_weightdecay:
Public Member Functions | |
_gd_weightdecay (LM *lm, const Step &lr, const Step &dcy) | |
void | update_weight (Dir d, const Step &s) |
Public Attributes | |
Step | decay |
The cost function includes a regularization term which prefers smaller weight values. That is, the cost to be minimized is
The updating rule thus becomes
usually ranges from 0.01 to 0.1.
Definition at line 140 of file optimize.h.
|
Definition at line 143 of file optimize.h. |
|
Reimplemented from _gradient_descent. Definition at line 146 of file optimize.h. |
|
Definition at line 141 of file optimize.h. |