# How to implement Cortical Columns

**URL:** <https://discourse.numenta.org/t/how-to-implement-cortical-columns/3769>\
**Category:** Engineering\
**Created:** [April 10, 2018, 11:23pm UTC](https://discourse.numenta.org/t/how-to-implement-cortical-columns/3769 "2018-04-10T23:23:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wedgetail](https://avatars.discourse-cdn.com/v4/letter/w/b2d939/32.png) [@Wedgetail](https://discourse.numenta.org/u/Wedgetail)\
**Post date:** [April 10, 2018, 11:23pm UTC](https://discourse.numenta.org/t/how-to-implement-cortical-columns/3769/1 "2018-04-10T23:23:16Z")

</div>

Hi Matt,

The new website looks good, and I’m looking forward to seeing it complete.

I have only recently found your HTM School you tube videos, and finished watching your last episode 14 yesterday - I found the entire series very interesting and thought provoking.

I was however intrigued by the Cortical Circuitry episode, and how you can use multiple columns to feed, and back feed information. The question I now have is how do you implement this cortical circuitry idea in code?

Specifically as an example:

1. You have a stream of continuous data points of temperature measurement. You want to predict what the temperature will be over the next 5 time steps of 5 minutes.
2. Someone activates an external temperature device [e.g. A heater or Air Conditioner] on a certain setting. This will run for an hour, and affect the room temperature.

How can the cortical circuitry [Distal Cell States] be combined, and the learning system learn what the previous settings impact was, given the actual future recorded data?

---

<div class="post-metadata">

**Author:** ![rhyolight](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.numenta.org/rhyolight/32/3922_2.png) [@rhyolight](https://discourse.numenta.org/u/rhyolight)\
**Post date:** [April 12, 2018, 3:54pm UTC](https://discourse.numenta.org/t/how-to-implement-cortical-columns/3769/2 "2018-04-12T15:54:45Z")

</div>

@cmaver put together [this page about our most recent paper](https://numenta.com/resources/papers/a-theory-of-how-columns-in-the-neocortex-enable-learning-the-structure-of-the-world/), and there are lots of great links there, some going to source code examples.
