Thanks @Vovchik, you got me looking in the right place. I think the problem can 
be fixed quite simply by adding one more condition to the if statement below:

https://github.com/numenta/nupic/blob/f1dd3ca676891f7370cf5404b3bbe432ac503f75/src/nupic/research/spatial_pooler.py#L1471

As-is, this condition will select winner columns that have no overlap with the 
input vector. I believe one more condition needs to be added so the code looks 
like this: 

```python
  if overlaps[i] > 0 and numBigger < numActive:
```

See it working with this change:

https://www.youtube.com/watch?v=BiMZvSbGZKs






---
[Visit 
Topic](https://discourse.numenta.org/t/sp-columns-activating-without-input-when-using-topology/1267/3)
 or reply to this email to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discourse.numenta.org/email/unsubscribe/aad47363e34efe222199e3baae15ed533c0ae3605340ca1ff3e724033e46b9ec).

Reply via email to