Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
HelloSP.java
README.md

README.md

NuPIC Logo

Basic Spatial Pooler Example

SpatialPoolerExample.java contains a simple spatial pooler demonstration written in Java.

Details

This script provides 3 examples demonstrating the effects of the spatial pooler on the following 3 sets of input values:

  1. Displaying the output SDRs of 3 randomized input values.
  2. Displaying 3 SDR's generated from the same input value.
  3. 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