The First Update of Epoch Four

OptimizersMedium+20 XP+20

The First Update of Epoch Four

Exponential decay shrinks the learning rate by multiplying it by a fixed factor γ\gammaγ slightly below 1, over and over. After the multiplication has been applied kkk times, the rate is

α=α0 γk\alpha = \alpha_0\,\gamma^{k}α=α0​γk

A teammate's training script contains this loop:

  • train_set holds 1,620 examples.
  • batches(...) walks through them 64 at a time and keeps the smaller final batch made of whatever is left over. Every batch, full or not, gets one call to update_weights.

The teammate's notes describe the schedule as "exponential decay from 0.1, γ=0.98\gamma = 0.98γ=0.98, 2% smaller each epoch."

According to the code as written, what learning rate does the very first update of epoch 4 use?

Give your answer rounded to 5 decimal places.

Hints

Solve it to unlock the solution

Once you get it right, the reasoning behind the answer shows up here.