Skip to contents

eta_t = eta_0 gamma^t with half-life ln2 / ln(1/gamma).

Usage

morie_geron_lr_exponential_schedule(eta0, gamma, t)

Arguments

eta0

Positive initial rate.

gamma

Decay in (0, 1].

t

Non-negative step.

Value

List with eta, schedule, half_life, is_monotone_decreasing, fraction_remaining.

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
#>