Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed

Conversation

Projects
None yet
2 participants
@brev
Copy link
Contributor

commented Apr 19, 2019

SimHashing Encoders

  • SimHash Distributed Scalar Encoder (SHaDSE), and,
  • SimHash Distributed Document Encoder (SHaDDE)

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.

  • I would love any Code Reviews, as this is my first real Python project. Thanks.
  • I'll also open a PR to put these Python files temporarily into NuPIC.cpp, until C++ version (next).
  • I'll create C++ versions of these for Community NuPIC.cpp after that.

Scalar Encoder:

Document Encoder:

See Scalar Encoder links for lots of good details first.

brev added some commits Apr 19, 2019

SimHash Distributed Scalar Encoder (SHaDSE) for O.G. 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.

I'll post about this to the HTM Community on Discourse in
a few moments.

Original Article:
http://www.luxrota.com/articles/2019/04/18/simhash-distributed-scalar-encoder-for-htm.html

@brev brev changed the title SimHash Distributed Scalar Encoder (SHaDSE) for O.G. NuPIC. SimHash Distributed Scalar & Document Encoders for Old NuPIC. Apr 24, 2019

@brev brev changed the title SimHash Distributed Scalar & Document Encoders for Old NuPIC. SimHash Distributed Encoders (Scalar, Document) for Old NuPIC. Apr 24, 2019

@breznak

This comment has been minimized.

Copy link
Member

commented May 31, 2019

@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 👍
Also, please review htm-community/htm.core#278
htm-community/htm.core#258 (comment)
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

This comment has been minimized.

Copy link
Contributor Author

commented Jun 10, 2019

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

@brev brev closed this Jun 10, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.