Vanilla update policy for SARAH. More...
Public Member Functions | |
| bool | Update (arma::mat &iterate, arma::mat &v, const arma::mat &gradient, const arma::mat &gradient0, const size_t batchSize, const double stepSize, const double) |
| Update step for SARAH. More... | |
Vanilla update policy for SARAH.
Definition at line 23 of file sarah_update.hpp.
|
inline |
Update step for SARAH.
The function parameters are updated in the negative direction of the gradient.
| iterate | Parameters that minimize the function. |
| v | Unbiased estimator of the gradient. |
| gradient | The current gradient matrix at time t. |
| gradient0 | The old gradient matrix at time t - 1. |
| batchSize | Batch size to be used for the given iteration. |
| stepSize | Step size to be used for the given iteration. |
| vNorm | The norm of the full gradient. |
Definition at line 38 of file sarah_update.hpp.