numenta/htm.java

DeltaEncoder should encode the delta not the input

roiebe opened this issue · 0 comments

org.numenta.nupic.encoders.DeltaEncoder.java line 113:

super.encodeIntoArray(input, output);

should be:

super.encodeIntoArray(delta, output);

see python version: nupic/encoders/delta.py line 79:

self._adaptiveScalarEnc.encodeIntoArray(delta, output, learn)