Basic Spatial Pooler Example
SpatialPoolerExample.java contains a simple spatial pooler demonstration written in Java.
This script provides 3 examples demonstrating the effects of the spatial pooler on the following 3 sets of input values:
- Displaying the output SDRs of 3 randomized input values.
- Displaying 3 SDR's generated from the same input value.
- Displaying 3 SDR's generated with slightly different input values, by adding 10% and 20% noise to the original input vector.
The script uses a simple binary vector for input.
After running this example and reading through the output you should have a basic understanding of the relationship between input and output of the spatial pooler.
Further reading: Encoders