Skip to content

Instantly share code, notes, and snippets.

@fursty
Created November 14, 2016 15:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fursty/b904c6680091f19fa7ba12d2e6516509 to your computer and use it in GitHub Desktop.
Save fursty/b904c6680091f19fa7ba12d2e6516509 to your computer and use it in GitHub Desktop.
[fursty@ubuntu:~/nupic/examples/opf/clients/hotgym/simple] $ls
hotgym.py model_params.py
[fursty@ubuntu:~/nupic/examples/opf/clients/hotgym/simple] $./hotgym.py
INFO:__main__:After 100 records, 1-step altMAPE=23.183145
INFO:__main__:After 200 records, 1-step altMAPE=21.548877
INFO:__main__:After 300 records, 1-step altMAPE=21.227594
INFO:__main__:After 400 records, 1-step altMAPE=20.686270
INFO:__main__:After 500 records, 1-step altMAPE=20.417234
INFO:__main__:After 600 records, 1-step altMAPE=20.852339
INFO:__main__:After 700 records, 1-step altMAPE=20.907660
INFO:__main__:After 800 records, 1-step altMAPE=21.137106
INFO:__main__:After 900 records, 1-step altMAPE=20.875763
INFO:__main__:After 1000 records, 1-step altMAPE=20.789707
[fursty@ubuntu:~/nupic/examples/opf/clients/hotgym/simple] $
[fursty@ubuntu:~/nupic/examples/opf/clients/hotgym/simple] $
[fursty@ubuntu:~/nupic/examples/opf/clients/hotgym/simple] $
[fursty@ubuntu:~/nupic/examples/opf/clients/hotgym/simple] $pip uninstall nupic -y
Uninstalling nupic-0.5.5:
Successfully uninstalled nupic-0.5.5
You are using pip version 8.1.2, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
[fursty@ubuntu:~/nupic/examples/opf/clients/hotgym/simple] $pip uninstall nupic -y
Cannot uninstall requirement nupic, not installed
You are using pip version 8.1.2, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
[fursty@ubuntu:~/nupic/examples/opf/clients/hotgym/simple] $pip uninstall nupic.binding -y
Cannot uninstall requirement nupic.binding, not installed
You are using pip version 8.1.2, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
[fursty@ubuntu:~/nupic/examples/opf/clients/hotgym/simple] $pip install https://s3-us-west-2.amazonaws.com/artifacts.numenta.org/numenta/nupic.core/releases/nupic.bindings/nupic.bindings-0.4.3-cp27-none-linux_x86_64.whl --user
Collecting nupic.bindings==0.4.3 from https://s3-us-west-2.amazonaws.com/artifacts.numenta.org/numenta/nupic.core/releases/nupic.bindings/nupic.bindings-0.4.3-cp27-none-linux_x86_64.whl
Downloading https://s3-us-west-2.amazonaws.com/artifacts.numenta.org/numenta/nupic.core/releases/nupic.bindings/nupic.bindings-0.4.3-cp27-none-linux_x86_64.whl (8.3MB)
100% |████████████████████████████████| 8.3MB 100kB/s
Requirement already satisfied (use --upgrade to upgrade): pytest-cov==1.6 in /home/fursty/.local/lib/python2.7/site-packages (from nupic.bindings==0.4.3)
Requirement already satisfied (use --upgrade to upgrade): numpy==1.9.2 in /home/fursty/.local/lib/python2.7/site-packages (from nupic.bindings==0.4.3)
Requirement already satisfied (use --upgrade to upgrade): pytest-xdist==1.8 in /home/fursty/.local/lib/python2.7/site-packages (from nupic.bindings==0.4.3)
Requirement already satisfied (use --upgrade to upgrade): pytest==2.5.1 in /home/fursty/.local/lib/python2.7/site-packages (from nupic.bindings==0.4.3)
Requirement already satisfied (use --upgrade to upgrade): cov-core>=1.6 in /home/fursty/.local/lib/python2.7/site-packages (from pytest-cov==1.6->nupic.bindings==0.4.3)
Requirement already satisfied (use --upgrade to upgrade): execnet>=1.0.8 in /home/fursty/.local/lib/python2.7/site-packages (from pytest-xdist==1.8->nupic.bindings==0.4.3)
Requirement already satisfied (use --upgrade to upgrade): py>=1.4.19 in /home/fursty/.local/lib/python2.7/site-packages (from pytest==2.5.1->nupic.bindings==0.4.3)
Requirement already satisfied (use --upgrade to upgrade): coverage>=3.6 in /home/fursty/.local/lib/python2.7/site-packages (from cov-core>=1.6->pytest-cov==1.6->nupic.bindings==0.4.3)
Requirement already satisfied (use --upgrade to upgrade): apipkg>=1.4 in /home/fursty/.local/lib/python2.7/site-packages (from execnet>=1.0.8->pytest-xdist==1.8->nupic.bindings==0.4.3)
Installing collected packages: nupic.bindings
Found existing installation: nupic.bindings 0.4.5
Uninstalling nupic.bindings-0.4.5:
Successfully uninstalled nupic.bindings-0.4.5
Successfully installed nupic.bindings-0.4.3
You are using pip version 8.1.2, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
[fursty@ubuntu:~/nupic/examples/opf/clients/hotgym/simple] $pip install nupic --user
Collecting nupic
Downloading nupic-0.5.6-py2-none-any.whl (4.8MB)
100% |████████████████████████████████| 4.8MB 175kB/s
Requirement already satisfied (use --upgrade to upgrade): numpy==1.9.2 in /home/fursty/.local/lib/python2.7/site-packages (from nupic)
Requirement already satisfied (use --upgrade to upgrade): pytest-xdist==1.8 in /home/fursty/.local/lib/python2.7/site-packages (from nupic)
Requirement already satisfied (use --upgrade to upgrade): pytest==2.5.1 in /home/fursty/.local/lib/python2.7/site-packages (from nupic)
Collecting nupic.bindings==0.4.10 (from nupic)
Downloading nupic.bindings-0.4.10-cp27-cp27mu-manylinux1_x86_64.whl (3.9MB)
100% |████████████████████████████████| 3.9MB 194kB/s
Requirement already satisfied (use --upgrade to upgrade): DBUtils==1.1 in /home/fursty/.local/lib/python2.7/site-packages (from nupic)
Requirement already satisfied (use --upgrade to upgrade): python-dateutil==2.1 in /home/fursty/.local/lib/python2.7/site-packages (from nupic)
Requirement already satisfied (use --upgrade to upgrade): asteval==0.9.1 in /home/fursty/.local/lib/python2.7/site-packages (from nupic)
Requirement already satisfied (use --upgrade to upgrade): mock==1.0.1 in /home/fursty/.local/lib/python2.7/site-packages (from nupic)
Requirement already satisfied (use --upgrade to upgrade): validictory==0.9.1 in /home/fursty/.local/lib/python2.7/site-packages (from nupic)
Requirement already satisfied (use --upgrade to upgrade): ordereddict==1.1 in /home/fursty/.local/lib/python2.7/site-packages (from nupic)
Requirement already satisfied (use --upgrade to upgrade): PyMySQL==0.6.2 in /home/fursty/.local/lib/python2.7/site-packages (from nupic)
Requirement already satisfied (use --upgrade to upgrade): pytest-cov==1.6 in /home/fursty/.local/lib/python2.7/site-packages (from nupic)
Requirement already satisfied (use --upgrade to upgrade): coverage==3.7.1 in /home/fursty/.local/lib/python2.7/site-packages (from nupic)
Requirement already satisfied (use --upgrade to upgrade): psutil==1.0.1 in /home/fursty/.local/lib/python2.7/site-packages (from nupic)
Requirement already satisfied (use --upgrade to upgrade): prettytable==0.7.2 in /home/fursty/.local/lib/python2.7/site-packages (from nupic)
Requirement already satisfied (use --upgrade to upgrade): PyYAML==3.10 in /home/fursty/.local/lib/python2.7/site-packages (from nupic)
Requirement already satisfied (use --upgrade to upgrade): pycapnp==0.5.8; platform_system == "Linux" or platform_system == "Darwin" in /home/fursty/.local/lib/python2.7/site-packages (from nupic)
Requirement already satisfied (use --upgrade to upgrade): unittest2==0.5.1 in /home/fursty/.local/lib/python2.7/site-packages (from nupic)
Requirement already satisfied (use --upgrade to upgrade): pyproj==1.9.3 in /home/fursty/.local/lib/python2.7/site-packages (from nupic)
Requirement already satisfied (use --upgrade to upgrade): execnet>=1.0.8 in /home/fursty/.local/lib/python2.7/site-packages (from pytest-xdist==1.8->nupic)
Requirement already satisfied (use --upgrade to upgrade): py>=1.4.19 in /home/fursty/.local/lib/python2.7/site-packages (from pytest==2.5.1->nupic)
Requirement already satisfied (use --upgrade to upgrade): six in /usr/lib/python2.7/dist-packages (from python-dateutil==2.1->nupic)
Requirement already satisfied (use --upgrade to upgrade): cov-core>=1.6 in /home/fursty/.local/lib/python2.7/site-packages (from pytest-cov==1.6->nupic)
Requirement already satisfied (use --upgrade to upgrade): apipkg>=1.4 in /home/fursty/.local/lib/python2.7/site-packages (from execnet>=1.0.8->pytest-xdist==1.8->nupic)
Installing collected packages: nupic.bindings, nupic
Found existing installation: nupic.bindings 0.4.3
Uninstalling nupic.bindings-0.4.3:
Successfully uninstalled nupic.bindings-0.4.3
Successfully installed nupic-0.5.6 nupic.bindings-0.4.10
You are using pip version 8.1.2, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
[fursty@ubuntu:~/nupic/examples/opf/clients/hotgym/simple] $python hotgym.py INFO:__main__:After 100 records, 1-step altMAPE=23.183145
INFO:__main__:After 200 records, 1-step altMAPE=21.548877
INFO:__main__:After 300 records, 1-step altMAPE=21.227594
INFO:__main__:After 400 records, 1-step altMAPE=20.686270
INFO:__main__:After 500 records, 1-step altMAPE=20.417234
INFO:__main__:After 600 records, 1-step altMAPE=20.852339
INFO:__main__:After 700 records, 1-step altMAPE=20.907660
INFO:__main__:After 800 records, 1-step altMAPE=21.137106
INFO:__main__:After 900 records, 1-step altMAPE=20.875763
INFO:__main__:After 1000 records, 1-step altMAPE=20.789707
[fursty@ubuntu:~/nupic/examples/opf/clients/hotgym/simple] $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment