GithubHelp home page GithubHelp logo

petehunt / nupic Goto Github PK

View Code? Open in Web Editor NEW

This project forked from numenta/nupic-legacy

1.0 3.0 0.0 66 MB

License: GNU General Public License v3.0

Shell 0.02% Python 34.21% PowerShell 0.01% Scala 0.01% C++ 62.56% Objective-C 0.01% C 3.12% Fortran 0.02% Scheme 0.03% OCaml 0.03% Perl 0.01% Ruby 0.01% C# 0.01%

nupic's Introduction

Numenta Platform for Intelligent Computing (NuPIC)

NuPIC is a library that provides the building blocks for online prediction systems. The library contains the Cortical Learning Algorithm (CLA), but also the Online Prediction Framework (OPF) that allows clients to build prediction systems out of encoders, models, and metrics.

OPF Basics

Encoders turn raw values into sparse distributed representations (SDRs). A good encoder will capture the semantics of the data type in the SDR using overlapping bits for semantically similar elements.

Models take sequences of SDRs and make predictions. The CLA is implemented as an OPF model.

Metrics take input values and predictions and output scalar representations of the quality of the predictions. Different metrics are suitable for different problems.

Clients take input data and feed it through encoders, models, and metrics and store or report the resulting predictions or metric results.

Installation

NuPIC requires Python 2.6, GCC, and Make.

Add an environment variable that points to your installation directory and update PATH and PYTHONPATH to reference install locations:

export NTA=$HOME/nta/install
export PATH=$NTA/bin:$PATH
export NUPIC=/path/to/repo
# Convenience variable for temporary build files.
export BUILDDIR=$HOME/build

Build and install NuPIC:

pushd $NUPIC/build_system
python setup.py --autogen
mkdir $BUILDDIR
cd $BUILDDIR
$NUPIC/configure
make install
popd

NuPIC should now be installed in $NTA!

Try it out!

Run the C++ tests:

$NTA/bin/htmtest
$NTA/bin/testeverything

You can run the examples using the OpfRunExperiment OPF client:

python $NUPIC/examples/opf/bin/OpfRunExperiment.py $NUPIC/examples/opf/experiments/multistep/hotgym/

nupic's People

Contributors

rhyolight avatar scottpurdy avatar

Stargazers

 avatar

Watchers

 avatar  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.