[quote="jclevesque, post:1, topic:3276"]
Thing is, when I try to look at activated columns of my temporal memory
[/quote]

The active columns are defined by the Spatial Pooler, not the Temporal Memory. 
The TM activates cells within active columns. To get the active columns from 
the follow the instructions 
[here\(https://discourse.numenta.org/t/nupic-usage-faq/2135), specifically:

```python
# Extract the spatial pooler
spRegion = model._getSPRegion()
sp = spRegion.getAlgorithmInstance()
```

Use [this 
API](http://nupic.docs.numenta.org/1.0.3/api/algorithms/spatial-pooling.html) 
for the SP.

```python
# Extract the temporal memory
tmRegion = model._getTPRegion()
tm = tmRegion.getSelf()._tfdr
```

Here is the [API for the Backtracking 
TM](http://nupic.docs.numenta.org/1.0.3/api/algorithms/sequence-memory.html#module-nupic.algorithms.backtracking_tm).
 

```python
# Get the active cells
tm.infActiveState["t"]
```

These active cells are in a 1d array. They need to be transformed into SP 
columns.





---
[Visit 
Topic](https://discourse.numenta.org/t/htm-prediction-model-with-good-accuracy-but-low-activation-levels/3276/2)
 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/dc8ee200208430d77ac78573c4a4753b57f18b9d6babdafb2412dbb05edc78ab).

Reply via email to