|
bitsim
Model, simulate, estimate and control robots in C++
|
struct InverseDecayLRScheduler. Decays the learning rate it was given with the episodes, as alpha / (1 + episode / decay), but not below min_alpha. A constant learning rate keeps the estimates of Monte Carlo and temporal difference methods moving with every new return; a decaying one lets them settle on the mean. More...
#include <learning_rate_scheduler.h>
Public Member Functions | |
| real_t | operator() (real_t alpha, uint_t episode_idx) const |
Public Attributes | |
| real_t | decay {100.0} |
| real_t | min_alpha {0.001} |
struct InverseDecayLRScheduler. Decays the learning rate it was given with the episodes, as alpha / (1 + episode / decay), but not below min_alpha. A constant learning rate keeps the estimates of Monte Carlo and temporal difference methods moving with every new return; a decaying one lets them settle on the mean.
|
inline |