Skip to content

Commit

Permalink
Adding content to spatial pooler example readme
Browse files Browse the repository at this point in the history
  • Loading branch information
zacg committed Mar 29, 2014
1 parent f00f3f3 commit 3523f9a
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions examples/sp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,21 @@

hello_sp.py contains a simple spatial pooler demonstration written in python.

#### To run
python hello_sp.py


#### 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](https://github.com/numenta/nupic/wiki/Sparse-Distributed-Representations) of 3 randomized input values.
2. Displaying 3 [SDR's](https://github.com/numenta/nupic/wiki/Sparse-Distributed-Representations) generated from the same input value.
3. Displaying 3 [SDR's](https://github.com/numenta/nupic/wiki/Sparse-Distributed-Representations) 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](https://github.com/numenta/nupic/wiki/Encoders)

0 comments on commit 3523f9a

Please sign in to comment.