PaulsCode Forum

ARTUR => Mini Projects => Topic started by: Paul on April 17, 2017, 01:26:29 PM

Title: HTM.js
Post by: Paul on April 17, 2017, 01:26:29 PM
I have decided to start cleaning up my javascript implementation of HTM and publish it on GitHub in case anyone finds it useful.  This is a lightweight implementation of HTM which can be run client side in the browser (useful for quick demos to explore and discuss various HTM-related concepts and theories).

I have committed the refactored code for spatial pooling and temporal memory, and added "HTM Piano" as an example of how to use it.  It is now up on GitHub (

I'll be adding the code for sensory motor integration and reinforcement learning next, and I'll be including the source code for all of my future demos that use HTM.js as well.

Latest revision of master will also be deployed on the server.  This will provide easy access to the latest demos (
Title: Re: HTM.js
Post by: Paul on April 19, 2017, 04:59:35 PM
I added a demo ( for visualizing the temporal memory process.  This is useful for debugging problems with the logic (and also a good way to get a better feel for how TM works behind the scenes).