numenta/htmresearch

Python ETM: Apical segments are grown in bursting columns even when there's no apical input

Closed this issue · 0 comments

New segments should only be created if they're going to grow synapses. Currently we grow a bunch of empty segments when there's no apical input.

https://github.com/numenta/nupic.research/blob/5230a39e3adf9f62aa16d146ad8415d0bfb9f7da/htmresearch/algorithms/extended_temporal_memory.py#L367

This should check len(prevActiveApicalCells) > 0.