RMSProp is an optimizer that utilizes the magnitude of recent gradients to normalize the gradients. More...
Public Member Functions | |
| RMSPropUpdate (const double epsilon=1e-8, const double alpha=0.99) | |
| Construct the RMSProp update policy with the given parameters. More... | |
| double | Alpha () const |
| Get the smoothing parameter. More... | |
| double & | Alpha () |
| Modify the smoothing parameter. More... | |
| double | Epsilon () const |
| Get the value used to initialise the squared gradient parameter. More... | |
| double & | Epsilon () |
| Modify the value used to initialise the squared gradient parameter. More... | |
| void | Initialize (const size_t rows, const size_t cols) |
| The Initialize method is called by SGD Optimizer method before the start of the iteration update process. More... | |
| void | Update (arma::mat &iterate, const double stepSize, const arma::mat &gradient) |
| Update step for RMSProp. More... | |
RMSProp is an optimizer that utilizes the magnitude of recent gradients to normalize the gradients.
In its basic form, given a step rate
and a decay term
we perform the following updates:
For more information, see the following.
Definition at line 44 of file rmsprop_update.hpp.
|
inline |
Construct the RMSProp update policy with the given parameters.
| epsilon | The epsilon value used to initialise the squared gradient parameter. |
| alpha | The smoothing parameter. |
Definition at line 54 of file rmsprop_update.hpp.
|
inline |
Get the smoothing parameter.
Definition at line 98 of file rmsprop_update.hpp.
|
inline |
Modify the smoothing parameter.
Definition at line 100 of file rmsprop_update.hpp.
|
inline |
Get the value used to initialise the squared gradient parameter.
Definition at line 93 of file rmsprop_update.hpp.
|
inline |
Modify the value used to initialise the squared gradient parameter.
Definition at line 95 of file rmsprop_update.hpp.
|
inline |
The Initialize method is called by SGD Optimizer method before the start of the iteration update process.
| rows | Number of rows in the gradient matrix. |
| cols | Number of columns in the gradient matrix. |
Definition at line 69 of file rmsprop_update.hpp.
|
inline |
Update step for RMSProp.
| iterate | Parameters that minimize the function. |
| stepSize | Step size to be used for the given iteration. |
| gradient | The gradient matrix. |
Definition at line 82 of file rmsprop_update.hpp.