the weight update code as below:
|
link.weight = link.weight - |
|
(learningRate / link.numAccumulatedDers) * link.accErrorDer; |
To better understand for beginners, the weight update code is better modified to:
link.weight = link.weight - learningRate * (link.accErrorDer / link.numAccumulatedDers) ;
I know the result is the same, but (link.accErrorDer / link.numAccumulatedDers) is easier to understand than (learningRate / link.numAccumulatedDers).
thanks.