# Context based learning and the best average linear mapping

**URL:** <https://discourse.numenta.org/t/context-based-learning-and-the-best-average-linear-mapping/12465>\
**Category:** Lounge\
**Created:** [July 12, 2026, 1:57am UTC](https://discourse.numenta.org/t/context-based-learning-and-the-best-average-linear-mapping/12465 "2026-07-12T01:57:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SeanOConnor](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.numenta.org/seanoconnor/32/3441_2.png) [@SeanOConnor](https://discourse.numenta.org/u/SeanOConnor)\
**Post date:** [July 12, 2026, 1:57am UTC](https://discourse.numenta.org/t/context-based-learning-and-the-best-average-linear-mapping/12465/1 "2026-07-12T01:57:45Z")

</div>

Given a context at each layer that selects parameters for a linear mapping, training produces the best average linear mapping for that context.  
Then the entire networks is a composition of best average linear mappings.  
[https://archive.org/details/a-context-based-view-of-deep-neural-networks](https://archive.org/details/a-context-based-view-of-deep-neural-networks)

---

<div class="post-metadata">

**Author:** ![SeanOConnor](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.numenta.org/seanoconnor/32/3441_2.png) [@SeanOConnor](https://discourse.numenta.org/u/SeanOConnor)\
**Post date:** [July 15, 2026, 12:59am UTC](https://discourse.numenta.org/t/context-based-learning-and-the-best-average-linear-mapping/12465/2 "2026-07-15T00:59:37Z")

</div>

You can take the:  
[Red Pill (pdf)](https://archive.org/details/binary-context-in-neural-networks)  
or the:  
[Blue Pill (Blog)](https://sciencelimelight.blogspot.com/2026/07/a-practical-way-to-think-about-neural.html)

They are both the same.

---

<div class="post-metadata">

**Author:** ![SeanOConnor](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.numenta.org/seanoconnor/32/3441_2.png) [@SeanOConnor](https://discourse.numenta.org/u/SeanOConnor)\
**Post date:** [July 16, 2026, 12:57pm UTC](https://discourse.numenta.org/t/context-based-learning-and-the-best-average-linear-mapping/12465/3 "2026-07-16T12:57:31Z")

</div>

If you want to take the:  
[Orange Pill](https://sciencelimelight.blogspot.com/2026/07/a-practical-way-to-view-neural-networks.html)  
It includes a brief discussion of the decision matrix view of ReLU. You can also view the decision matrix as a binary context matrix.

In such system there can be a lot of weight sharing going on (different contexts share some parameters.)  
So you need to speak of ‘best efforts’ in terms of linear mapping learning.  
If contexts are only a small Hamming distance from each other then they can even benefit from parameter sharing.

Overall the described systems are like decision trees with linear mapping river sections that connect up together and allow feature data to flow through and metamorphose through.  
Quite interesting, who knew?

---

<div class="post-metadata">

**Author:** ![SeanOConnor](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.numenta.org/seanoconnor/32/3441_2.png) [@SeanOConnor](https://discourse.numenta.org/u/SeanOConnor)\
**Post date:** [July 16, 2026, 10:34pm UTC](https://discourse.numenta.org/t/context-based-learning-and-the-best-average-linear-mapping/12465/4 "2026-07-16T22:34:12Z")

</div>

If you can accept a cartoon version:  
[https://sciencelimelight.blogspot.com/2026/07/dora-explorers-metamorphic-river.html](https://sciencelimelight.blogspot.com/2026/07/dora-explorers-metamorphic-river.html)
