All Projects → numenta → Nupic.cerebro2.server

numenta / Nupic.cerebro2.server

Licence: gpl-3.0
Makes NuPIC model state available to Cerebro 2.

Programming Languages

python
139335 projects - #7 most used programming language

Cerebro 2 Server

Makes a CLA model's state history available to the Cerebro 2 client.

Installation

Requirements:

Install other requirements:

pip install -r requirements.txt

Install the Cerebro 2 Python library:

cd py
python setup.py install

Usage

First, patch your model:

// Assuming `model` is a CLA model you already have
from cerebro2.patcher import Patcher
Patcher().patchCLAModel(model)

You can also patch an SP or a TP directly:

// Assuming `sp` and `tp` are already defined
from cerebro2.patcher import Patcher
Patcher().patchSP(sp)
Patcher().patchTP(tp)

Then, after the model / SP / TP has through a number of iterations:

python server.py

Finally, switch to nupic.cerebro2 to visualize your model / SP / TP.

Demos

See /demo.

Notes

  • By default, the model state history is saved to /tmp/cerebro2.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].