This file declares the third party open source dependencies this program has apart from those existing in this repository. Only dependencies required for the program to run are declared. Development dependencies are excluded.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The actualValues of the left classifier region: [ 0. 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. | |
15. 16. 17. 18. 19. 20. 21. 22. 0. 0. 0. 0. 0. 0. 0. | |
0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. | |
0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. | |
0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. | |
0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. | |
0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. | |
0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. | |
0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. | |
0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Created on Feb 8, 2015 | |
@author: David Ray | |
''' | |
import numpy as np | |
from nupic.encoders.scalar import ScalarEncoder as ScalarEncoder | |
from nupic.algorithms.CLAClassifier import CLAClassifier as CLAClassifier |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update -y | |
sudo apt-get install git g++ cmake python-dev -y | |
git clone https://github.com/numenta/nupic.core.git | |
git clone https://github.com/numenta/nupic.git | |
export NUPIC=$HOME/nupic | |
export NUPIC_CORE=$HOME/nupic.core | |
curl https://bootstrap.pypa.io/get-pip.py | sudo python | |
cd $NUPIC_CORE | |
pip install -r bindings/py/requirements.txt --user | |
pip install pycapnp==0.5.8 --user |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ make | |
Scanning dependencies of target CapnProto | |
[ 0%] Creating directories for 'CapnProto' | |
[ 1%] Performing download step (git clone) for 'CapnProto' | |
Cloning into 'CapnProto'... | |
Note: checking out 'v0.5.3'. | |
You are in 'detached HEAD' state. You can look around, make experimental | |
changes and commit them, and you can discard any commits you make in this | |
state without impacting any branches by performing another checkout. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update -y | |
sudo apt-get install git cmake python-dev -y | |
git clone https://github.com/numenta/nupic.core.git | |
git clone https://github.com/numenta/nupic.git | |
export NUPIC=$HOME/nupic | |
export NUPIC_CORE=$HOME/nupic.core | |
curl https://bootstrap.pypa.io/get-pip.py | sudo python |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ make | |
Scanning dependencies of target CapnProto | |
[ 0%] Creating directories for 'CapnProto' | |
[ 1%] Performing download step (git clone) for 'CapnProto' | |
Cloning into 'CapnProto'... | |
Note: checking out 'v0.5.3'. | |
You are in 'detached HEAD' state. You can look around, make experimental | |
changes and commit them, and you can discard any commits you make in this | |
state without impacting any branches by performing another checkout. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pip install pycapnp==0.5.5 --user | |
Collecting pycapnp==0.5.5 | |
Using cached pycapnp-0.5.5.tar.gz | |
Building wheels for collected packages: pycapnp | |
Running setup.py bdist_wheel for pycapnp ... error | |
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-7a2mfU/pycapnp/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpg5TS8Fpip-wheel- --python-tag cp27: | |
running bdist_wheel | |
running build | |
running build_py | |
creating build |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/numenta/nupic.core.git | |
cd nupic.core | |
sudo apt-get update -y | |
sudo apt-get install cmake -y | |
sudo apt-get install python-dev -y | |
# Installs latest pip (apt-get repo is way outdated) | |
curl https://bootstrap.pypa.io/get-pip.py | sudo python | |
pip install -r ../../bindings/py/requirements.txt --user | |
# This installs 0.5.7, which is not actually the version we want (0.5.5), but it is necessary | |
# to do this because the nupic.core make step requires capnp to be installed, and this will |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
matt@matt-VirtualBox:~/nupic.core/build/scripts$ make | |
Scanning dependencies of target CapnProto | |
[ 0%] Creating directories for 'CapnProto' | |
[ 1%] Performing download step (git clone) for 'CapnProto' | |
Cloning into 'CapnProto'... | |
Note: checking out 'v0.5.3'. | |
You are in 'detached HEAD' state. You can look around, make experimental | |
changes and commit them, and you can discard any commits you make in this | |
state without impacting any branches by performing another checkout. |