jeffheaton / encog-java-core

http://www.heatonresearch.com/encog
Other
742 stars 268 forks source link

Freeform Propagation Training - layerDelta Add not Set? #260

Open automenta opened 2 years ago

automenta commented 2 years ago

https://github.com/jeffheaton/encog-java-core/blob/06bed745403a1a670675b606b6ae483fbf7a6b97/src/main/java/org/encog/neural/freeform/training/FreeformPropagationTraining.java#L160

should this be: fromNeuron.addTempTraining(0, layerDelta);

since the existing stored value is not always zero (from previous iterations of the same training).

unit tests still pass after this change.