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>
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.
◆ operator()()
| real_t bitrl::rl::InverseDecayLRScheduler::operator() |
( |
real_t | alpha, |
|
|
uint_t | episode_idx ) const |
|
inline |
◆ decay
| real_t bitrl::rl::InverseDecayLRScheduler::decay {100.0} |
◆ min_alpha
| real_t bitrl::rl::InverseDecayLRScheduler::min_alpha {0.001} |
The documentation for this struct was generated from the following file: