numenta / nupic-legacy

Numenta Platform for Intelligent Computing is an implementation of Hierarchical Temporal Memory (HTM), a theory of intelligence based strictly on the neuroscience of the neocortex.
http://numenta.org/
GNU Affero General Public License v3.0
6.33k stars 1.56k forks source link

SimHash Distributed Encoders (Scalar, Document) for Old NuPIC. #3872

Closed brev closed 5 years ago

brev commented 5 years ago

SimHashing Encoders

For Old NuPIC. This PR may not be for actual merging, as NuPIC is currently frozen. But, this resource should help people get this code up and running as simply as possible.

Scalar Encoder:

Document Encoder:

See Scalar Encoder links for lots of good details first.

breznak commented 5 years ago

@brev Thanks for publishing the code! I'll review this later, you might consider a PR to nupic.py and nupic.cpp where I'd accept the new code :+1: Also, please review https://github.com/htm-community/nupic.cpp/pull/278 https://github.com/htm-community/nupic.cpp/issues/258#issuecomment-466446149 for @ctrl-z-9000-times implemented RDSE using a hashing function (I have really only briefly looked at your code, but seems there might be some similarity?)

brev commented 5 years ago

Working on a version for nupic.cpp and nupic.py next, will link to it here when done.