numenta / nupic.research

Experimental algorithms. Unsupported.
https://nupicresearch.readthedocs.io
GNU Affero General Public License v3.0
107 stars 60 forks source link

Temporal Memory: Always sort predicted / predicted-active cells #653

Closed mrcslws closed 7 months ago

mrcslws commented 8 months ago

When setting the Columns paper code to use the ApicalTiebreakTemporalMemory, experiments that use feedback to L4 will occasionally send unsorted feedforward growth candidates into L2. I see this with multi_column_synapse_sampling. Many SparseMatrix methods expect these to be sorted, and they will fail quietly then cause undefined behavior, unless you have nupic.research.core compiled in Debug mode -- then an assert catches it.

Need to do some due diligence:

mrcslws commented 8 months ago

Due diligence: