So, the initialization mentioned in the assignment (where t=1) requires to update t after calculating unbiased moments because the first pass should be with t=1 rather than t=2, isn't it?
However, inserting config['t'] += 1 after calculating unbiased moments leads to the incorrect next_w and next_w error: 0.00152184517579 during the checks.
Once I put config['t'] += 1 before calculating unbiased moments, meaning that I start with the t=2, the next_w error is okay.
Currently, it initializes as follows (look for
t
parameter):t=0
(https://arxiv.org/abs/1412.6980);t=1
) requires to updatet
after calculating unbiased moments because the first pass should be witht=1
rather thant=2
, isn't it?config['t'] += 1
after calculating unbiased moments leads to the incorrectnext_w
andnext_w error: 0.00152184517579
during the checks.config['t'] += 1
before calculating unbiased moments, meaning that I start with thet=2
, thenext_w error
is okay.to
(Spring, 2017)