Hashing Function for RDSE



Trying to write RDSE from scratch in Python 3, can’t figure out how to implement the hashing function. From what I read, you need a uniform hash function, is that right? But how do you map the hash to the matrix?


Not sure if this helps, but I have written one in JavaScript. Most is original code, although some of it is almost identical to NuPIC. But my comments are a little different, so maybe they’ll help you?