Implementation of the ConstantStep stepsize decay policy for parallel SGD. More...
Public Member Functions | |
| ConstantStep (const double step=0.01) | |
| Member initialization constructor. More... | |
| double | StepSize (const size_t) |
| This function is called in each iteration before the gradient update. More... | |
Implementation of the ConstantStep stepsize decay policy for parallel SGD.
Definition at line 23 of file constant_step.hpp.
|
inline |
Member initialization constructor.
The defaults here are not necessarily good for the given problem, so it is suggested that the values used be tailored to the task at hand.
| step | The intial stepsize to use. |
Definition at line 34 of file constant_step.hpp.
|
inline |
This function is called in each iteration before the gradient update.
| numEpoch | The iteration number for which the stepsize is to be calculated. |
Definition at line 43 of file constant_step.hpp.