GithubHelp home page GithubHelp logo

benjamn / nupic Goto Github PK

View Code? Open in Web Editor NEW

This project forked from numenta/nupic-legacy

0.0 2.0 0.0 289.86 MB

Numenta Platform for Intelligent Computing: a brain-inspired machine intelligence platform, and biologically accurate neural network based on cortical learning algorithms.

Home Page: http://numenta.org/

License: GNU General Public License v3.0

nupic's Introduction

Numenta Logo NuPIC

Numenta Platform for Intelligent Computing

NuPIC is a library that provides the building blocks for online prediction and anomaly detection systems. The library contains the Cortical Learning Algorithm (CLA), but also the [Online Prediction Framework (OPF)] (https://github.com/numenta/nupic/wiki/Online-Prediction-Framework) that allows clients to build prediction systems out of encoders, models, and metrics.

For more information, see numenta.org or the NuPIC wiki.

Installation

For all installation options, see the Installing and Building NuPIC wiki page.

Currently supported platforms:

  • Linux (32/64bit)
  • Mac OSX
  • Raspberry Pi (ARMv6)
  • Chromebook (Ubuntu ARM, Crouton) (ARMv7)
  • VM images

Dependencies:

  • Python (2.6-2.7) (with development headers)
  • GCC (4.6-4.8), or Clang
  • Make or any IDE supported by CMake (Visual Studio, Eclipse, XCode, KDevelop, etc)

The dependencies are included in platform-specific repositories for convenience. Installing from these repositories is not required if the dependencies defined above have been manually installed or already exist on your system.

Complete set of python requirements are documented in requirements.txt, compatible with pip:

Installing Python Dependencies

pip install -r external/common/requirements.txt

Note: If using pip 1.5 or later:

pip install --allow-all-external --allow-unverified PIL --allow-unverified psutil -r external/common/requirements.txt

Note: If you get a "permission denied" error when using pip, you may add the --user flag to install to a location in your home directory, which should resolve any permissions issues. Doing this, you may need to add this location to your PATH and PYTHONPATH. Alternatively, you can run pip with sudo.

Installing NuPIC

Move into the NuPIC installation directory and run:

python setup.py install

Note: If you get a "permission denied" error when using this, you may add the --user flag to install to a location in your home directory, which should resolve any permissions issues. Doing this, you may need to add this location to your PATH and PYTHONPATH. Alternatively, you can run this with sudo.

Once it is installed, you can import NuPIC library to your python script using:

import nupic

For examples, tutorials, and screencasts about using NuPIC, see the Using NuPIC wiki page.

Developer instructions

If you want develop, debug, or simply test NuPIC, clone it and follow the instructions:

Using command line

This assumes the NUPIC environment variable is set to the directory where the NuPIC source code exists.

cd $NUPIC
python setup.py build
python setup.py develop

To run the tests:

cd $NUPIC/build/scripts
# all C++ unit tests
make cpp_unit_tests
# C++ HTM Network API tests
make tests_cpphtm
# Python HTM Network API tests
make tests_pyhtm
# Python OPF unit tests
make python_unit_tests
# Python OPF integration tests
make python_integration_tests
# Python OPF swarming tests (requires mysql)
make python_swarming_tests
# Run all tests!
make tests_all

Using an IDE

See our Development Tips wiki page for details.

To run the tests:

  • Run any test project from your IDE (check output panel to see the results).

For more tips, please see Development-Tips

nupic's People

Contributors

akamlani avatar allanino avatar baroobob avatar breznak avatar chetan51 avatar csimons avatar danstanton avatar david-ragazzi avatar dbrody avatar gilsho avatar gpierris avatar iandanforth avatar jefffohl avatar jordandm avatar keithcom avatar kevinmartinjos avatar lithix-src avatar lscheinkman avatar macrintr avatar mrcslws avatar numenta-ci avatar oxtopus avatar rhyolight avatar scottpurdy avatar simjega avatar subutai avatar syl20bnr avatar utensil avatar vsinha avatar zacg avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.