Skip to content

Commit

Permalink
Python MNSIT example: use better topology
Browse files Browse the repository at this point in the history
SP had dimensions of (X, 1)
Changed to (sqrt(X), sqrt(X))
This helps because the input images are 2-D

Measurements:

 Num Evals | Mean Score | Parameters
        44 |   0.9542   | Before
        20 |   0.9554   | After

P-Value of null hypothesis: 0.000793
  • Loading branch information
ctrl-z-9000-times committed Jul 16, 2019
1 parent 6e3f871 commit 9c48edd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/htm/examples/mnist.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def load_images(file_name):
default_parameters = {
'potentialRadius': 7,
'boostStrength': 7.0,
'columnDimensions': (28*28*8, 1),
'columnDimensions': (79, 79),
'dutyCyclePeriod': 1402,
'localAreaDensity': 0.1,
'minPctOverlapDutyCycle': 0.2,
Expand Down

0 comments on commit 9c48edd

Please sign in to comment.