JoeyAndres / sdm

Sparse distributed memory, aka Kanerva Coding.
GNU General Public License v3.0
0 stars 1 forks source link

Automatic hamming distance selection #6

Open JoeyAndres opened 7 years ago

JoeyAndres commented 7 years ago

SDM needs a no-arg constructor in which the hamming distance is estimated base on the "rule of thumb"

Activated location should not exceed the square root of the total number of memory locations.

JoeyAndres commented 7 years ago

Throw a compile/run-time warning if hamming ddistance is more than the value above.

JoeyAndres commented 7 years ago

This proved to be hard. The distribution of hamming distance in space N is simply not ideal. It's hard to imagine using this with big address, especially with the property that as n in 2^n grows, the bell curve gets skinnier and are within the mean.

JoeyAndres commented 7 years ago

See n-gram