For example: open something from the NuPIC examples <https://github.com/numenta/nupic/blob/master/examples/opf/clients/hotgym/simple/hotgym.py>, add these lines, and run it.
Sanity will launch in a browser window, and it will snatch control from the script. You're can run it, pause it, etc. Tagline: Previously, you could bring your code to Sanity. Now you can bring Sanity to your code. On Sun, Dec 13, 2015 at 10:51 PM, Marcus Lewis <[email protected]> wrote: > In a console: > pip install sanity-nupic --user > > In your Python: > import htmsanity.nupic.runner as sanity > sanity.patchCLAModel(model) > > Have fun. :) > Marcus >
