in the update_average function of EMA class in modules.py,the update step is:
old self.beta + (1 - self.beta) new
should it be "new self.beta + (1 - self.beta) old"?
actually, the code is correct.
the formula of EMA is (suppose the weight beta=0.9):
new = beta old + (1-beta) current
the new average should be "a lot of old parts + a few new parts".
in the update_average function of EMA class in modules.py,the update step is: old self.beta + (1 - self.beta) new should it be "new self.beta + (1 - self.beta) old"?