numenta / htmresearch-core

Numenta's experimental C++ research code. Please see htmresearch for more details.

Home Page:https://github.com/numenta/htmresearch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

htmresearch-core

This repository contains the C++ source code for Numenta's htmresearch repository. Please read the htmresearch README.md for more context. All of those disclaimers also apply to this repository.

Build:

Environment:

  • $NUPIC_CORE is the current location of the nupic.core repository that you downloaded from GitHub.
  • $HTMRESEARCH_CORE is the current location of this repository that you downloaded from GitHub.

First, build nupic.core.

mkdir -p $NUPIC_CORE/build/scripts_release
cd $NUPIC_CORE/build/scripts_release
cmake ../.. -DCMAKE_INSTALL_PREFIX=../release -DCMAKE_BUILD_TYPE=Release -DNUPIC_IWYU=OFF -DNUPIC_TOGGLE_INSTALL=ON -DPY_EXTENSIONS_DIR=$NUPIC_CORE/bindings/py/src/nupic/bindings
make -j6
make install

Then:

mkdir -p $HTMRESEARCH_CORE/build/scripts_release
cd $HTMRESEARCH_CORE/build/scripts_release
cmake ../.. -DCMAKE_INSTALL_PREFIX=../release -DCMAKE_BUILD_TYPE=Release -DNUPIC_IWYU=OFF -DLOCAL_NUPIC_CORE_INSTALL_DIR=$NUPIC_CORE/build/release -DPY_EXTENSIONS_DIR=$HTMRESEARCH_CORE/bindings/py/src/htmresearch_core
make -j6
make install

Install nupic.bindings and htmresearch_core Python libraries:

cd $NUPIC_CORE
ARCHFLAGS="-arch x86_64" pip install --user -e .
cd $HTMRESEARCH_CORE
ARCHFLAGS="-arch x86_64" pip install --user -e .

About

Numenta's experimental C++ research code. Please see htmresearch for more details.

https://github.com/numenta/htmresearch

License:GNU Affero General Public License v3.0


Languages

Language:C++ 71.0%Language:CMake 16.5%Language:Shell 6.0%Language:Python 4.5%Language:PowerShell 1.1%Language:Cap'n Proto 0.7%Language:Dockerfile 0.3%Language:C 0.0%