-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #754 from zacg/master
Readme for Spatial Pooler Example
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# ![Numenta Logo](http://numenta.org/images/numenta-icon128.png) NuPIC | ||
|
||
## Basic Spatial Pooler Example | ||
|
||
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) |