# SwitchNet (fixed filter bank) neural network

**URL:** <https://discourse.numenta.org/t/switchnet-fixed-filter-bank-neural-network/11770>\
**Category:** Lounge\
**Created:** [March 1, 2025, 11:50pm UTC](https://discourse.numenta.org/t/switchnet-fixed-filter-bank-neural-network/11770 "2025-03-01T23:50:54Z")\
**Posts on this page:** 5\
**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:** [March 1, 2025, 11:50pm UTC](https://discourse.numenta.org/t/switchnet-fixed-filter-bank-neural-network/11770/1 "2025-03-01T23:50:54Z")

</div>

I tidied up the code for SwitchNet neural network and pointed out a linear mapping mathematical justification.

[https://sites.google.com/view/algorithmshortcuts/switchnet-newer](https://sites.google.com/view/algorithmshortcuts/switchnet-newer)

I’m not a paid computer scientist. I don’t get a cent out of it. Therefore only outline arguments are given.

---

<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:** [March 20, 2025, 2:49am UTC](https://discourse.numenta.org/t/switchnet-fixed-filter-bank-neural-network/11770/2 "2025-03-20T02:49:35Z")

</div>

I’ve written a dense layer version where you can exceed the n squared parameter limit of a conventional neural network layer or you can make layers sparser than a conventional dense layer.  
I would call the code alpha quality because I’ve hardly done any programming for a year or more.  
[https://archive.org/details/switch-net-dl](https://archive.org/details/switch-net-dl)  
It is written in Processing(.org) a form of Java.  
I think mainly provided to point out such things are possible.  
The information needed to create neural networks centered on fast transforms has been out there for years. So who knows who has proceeded in the shadows and could be far ahead of openAI etc with some advanced abilities. No one? A few?  
Anyway you get far more switching decisions per parameter than with conventional dense ReLU layers. Whatever the significance of that is?

---

<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:** [March 21, 2025, 12:38am UTC](https://discourse.numenta.org/t/switchnet-fixed-filter-bank-neural-network/11770/3 "2025-03-21T00:38:16Z")

</div>

I wrote an on-line version.  
[https://sites.google.com/view/algorithmshortcuts/switchnet-dense-layer](https://sites.google.com/view/algorithmshortcuts/switchnet-dense-layer)  
The basic concept is Hadamard product, Hadamard transform, switched Hadamard product.  
Which you may say is adaptive linear algebra filtering. That is also what a ReLU based neural network is. The adaptive switching being the brains of the operation.

---

<div class="post-metadata">

**Author:** ![flajann2](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.numenta.org/flajann2/32/4493_2.png) [@flajann2](https://discourse.numenta.org/u/flajann2)\
**Post date:** [March 25, 2025, 12:37pm UTC](https://discourse.numenta.org/t/switchnet-fixed-filter-bank-neural-network/11770/4 "2025-03-25T12:37:28Z")

</div>

Is there a GitHub or GitLab repo for your code?

Thanks.  
Fred

---

<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:** [June 24, 2025, 3:55am UTC](https://discourse.numenta.org/t/switchnet-fixed-filter-bank-neural-network/11770/5 "2025-06-24T03:55:25Z")

</div>

I use archive. Recently I posted a number of “Mini Java Collection” items in the software section. I’m playing with Java as a hobby at the moment but also it’s kind of a retrospective of some past projects of mine I think are interesting.
