From 3523f9a45cd3d004dfcf085ae824abfa95504f94 Mon Sep 17 00:00:00 2001 From: Zac Gross Date: Sat, 29 Mar 2014 01:08:37 -0400 Subject: [PATCH] Adding content to spatial pooler example readme --- examples/sp/README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/examples/sp/README.md b/examples/sp/README.md index 6815965ba8..d5752fea83 100644 --- a/examples/sp/README.md +++ b/examples/sp/README.md @@ -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) \ No newline at end of file