I created a simple example to recognize digits using the spatial pooler, it's available on github here:
https://github.com/tleyden/nupic-digitrecognizer It was able to get exact matches with SDR's, and I didn't need to use the KNNClassifier. Having said that, the test data was relatively "easy", in that I just went through the training data and removed a few pixels. However when I tried to recognize a digit that's been entirely shifted to the right by a few pixels (original<http://cl.ly/image/2G1D1U3f2u16/0-original.png> - shifted <http://cl.ly/image/2S3f3B0e0M3I/0-shifted.png>) it wasn't able to find a match. What are some suggested approaches to add spatial invariance so it can handle this? I did see this mailing list thread<http://lists.numenta.org/pipermail/nupic_lists.numenta.org/2013-July/000538.html> but so far no simple answer has jumped out at me. Also thanks to all the folks who responded to my questions, those were useful pointers.
_______________________________________________ nupic mailing list [email protected] http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org
