Python ETM: When learning is disabled, a bunch of empty segments are grown
mrcslws opened this issue · comments
The ExtendedTemporalMemory
and the previous temporal_memory_phases
TemporalMemory have this issue.
Segments are created regardless of whether learning is enabled. If learning is disabled, a bunch of empty segments are created.
Code locations:
https://github.com/numenta/nupic.research/blob/5230a39e3adf9f62aa16d146ad8415d0bfb9f7da/htmresearch/algorithms/extended_temporal_memory.py#L425
https://github.com/numenta/nupic.research/blob/5230a39e3adf9f62aa16d146ad8415d0bfb9f7da/htmresearch/algorithms/extended_temporal_memory.py#L364
https://github.com/numenta/nupic.research/blob/5230a39e3adf9f62aa16d146ad8415d0bfb9f7da/htmresearch/algorithms/extended_temporal_memory.py#L367