
Exponential LR decay (Geron Ch 11, morie.fn grlrex)
Source:R/geron_train_native.R
morie_geron_lr_exponential_schedule.Rdeta_t = eta_0 gamma^t with half-life ln2 / ln(1/gamma).
Examples
morie_geron_lr_exponential_schedule(eta0 = 5L, gamma = 0.5, t = 5L)
#> $eta
#> [1] 0.15625
#>
#> $schedule
#> [1] 5.00000 2.50000 1.25000 0.62500 0.31250 0.15625
#>
#> $half_life
#> [1] 1
#>
#> $is_monotone_decreasing
#> [1] TRUE
#>
#> $fraction_remaining
#> [1] 0.03125
#>
#> $eta0
#> [1] 5
#>
#> $gamma
#> [1] 0.5
#>
#> $t
#> [1] 5
#>
#> $estimate
#> [1] 0.15625
#>
#> $n
#> [1] 6
#>