6 ms·
Is the 2nd line really necessary? Since β is 0.9, the second line becomes: c ← 0.9m + (0.1)g There doesn't seem to be a significant difference between their c
by WithinReason 4y ago
Is the 2nd line really necessary? Since β is 0.9, the second line becomes:
c ← 0.9m + (0.1)g
There doesn't seem to be a significant difference between their code:
θ ← θ + η sign(0.9m + (0.1)g)
and just not having the 2nd line at all:
θ ← θ + η sign(m)
- yobbo 4y agoTrue, those are equivalent. Might even become identical once it is compiled.
- mtcrawshaw 4y agoThe second line appears unnecessary because the formula in that comment is missing one line from the definition of LION. See my above comment.