{"id":17317955,"url":"https://github.com/marty1885/htmhelper","last_synced_at":"2025-03-27T02:26:10.792Z","repository":{"id":88405805,"uuid":"156350625","full_name":"marty1885/HTMHelper","owner":"marty1885","description":"Header only NuPIC.core wrapper for low level HTM algorithm abstraction","archived":false,"fork":false,"pushed_at":"2018-11-13T08:25:51.000Z","size":27,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-01T08:12:28.754Z","etag":null,"topics":["artificial-intelligence","hierarchical-temporal-memory","machine-intelligence"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marty1885.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-06T08:25:56.000Z","updated_at":"2018-11-24T19:03:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"9370435f-8ca8-4629-af09-788d7d38a69d","html_url":"https://github.com/marty1885/HTMHelper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marty1885%2FHTMHelper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marty1885%2FHTMHelper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marty1885%2FHTMHelper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marty1885%2FHTMHelper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marty1885","download_url":"https://codeload.github.com/marty1885/HTMHelper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245768381,"owners_count":20669010,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["artificial-intelligence","hierarchical-temporal-memory","machine-intelligence"],"created_at":"2024-10-15T13:18:21.254Z","updated_at":"2025-03-27T02:26:10.768Z","avatar_url":"https://github.com/marty1885.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HTMHelper\nHeader only NuPIC.core wrapper for low level HTM algorithm abstraction\n\n## Fratures\n * Python like interface for C++ NuPIC.core users\n * Header only\n   * No need to deal with yet another linker issue\n * Easy to use\n   * No more dealing with std::vector when it should be a N-D array\n   * No more switching between dense/indexed SDR\n   * Fimilar patterns for Deep Learning developers\n\n## Dependencies\n * NuPIC.core - https://github.com/numenta/nupic.core\n * xtensor - https://github.com/QuantStack/xtensor\n * CMake (To build the exmaples) - https://cmake.org/\n * A C++14 capable compiler\n\n## Supported Layers and Encoders\n * Layers\n   * SpatialPooler\n   * TemporalMemory\n   * TemporalPooler (Cells4)\n * Encoders\n   * ScalarEncoder\n   * CategoryEncoder\n     * Including a decocder!\n * Classifers\n   * SDRClassifer\n * Other\n   * Raw anomoly\n\n## Build and install\nYou don't need ot build! It is header only. Still, CMake build examples and installs header foor you.\n``` sh\nmkdir build\ncd build\ncmake ..\nmake\nsudo make install\n```\n\n### NOTE: Building NuPIC.core\nNuPIC.core is a bit annoning to build. Here is how\n``` sh\ngit clone https://github.com/numenta/nupic.core\ncd nupic.core\nexport NUPIC_CORE=`pwd`\ncd $NUPIC_CORE/build/scripts\ncmake $NUPIC_CORE -DCMAKE_BUILD_TYPE=Release -NUPIC_TOGGLE_INSTALL=ON -DPY_EXTENSIONS_DIR=$NUPIC_CORE/bindings/py/src/nupic/bindings .\nmake -j4\nsudo make install\n```\n\nAnd since NuPIC has problems installing all the headers. You’ll need to copy them manually.\n\n``` sh\ncd $NUPIC_CORE\nsudo cp -r src/nupic /usr/local/include\nsudo cp -r build/scripts/src/nupic /usr/local/include\n```\n\n\n## Todo\n - [ ] Saving and loading models\n - [ ] More encoders\n - [ ] More classifers\n - [ ] Python binding via cookiecutter and pybind11 (?)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarty1885%2Fhtmhelper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarty1885%2Fhtmhelper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarty1885%2Fhtmhelper/lists"}