Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: SP potentialRadius should default to -1 #3368

Open
mrcslws opened this issue Sep 28, 2016 · 1 comment
Open

Proposal: SP potentialRadius should default to -1 #3368

mrcslws opened this issue Sep 28, 2016 · 1 comment

Comments

@mrcslws
Copy link
Contributor

mrcslws commented Sep 28, 2016

Proposal:

  • In the SpatialPooler, support potentialRadius=-1. This value would disable any topology relationship between columns and inputs. This would save everyone from having to figure out their input width and setting potentialRadius=inputWidth.
  • Change the default potentialRadius value from 16 to -1.
  • Remove the code in the SPRegion which is already forcing everyone into this default. Respect people's model parameters -- allow them to set the potentialRadius when using the Network API.

Who this would break:

  • Anybody using the raw SpatialPooler who is depending on the default value of 16.

Alternate fixes:

  • When globalInhibition is true, ignore the potentialRadius.
    • This would also work, but some people might want to experiment with using a potential radius with global inhibition. It adds some structure to the randomness.
    • This would be much more dramatic breaking change than changing the default value of potentialRadius.

Related links:

@cogmission
Copy link
Contributor

FYI, I already implemented this in HTM.Java and it works very well. If the potentialRadius > -1 then the NAPI lets the configured value stand; if its -1, then it is set automatically in the background to be the inputWidth. I think this is very convenient...

@rhyolight rhyolight assigned rhyolight and unassigned rhyolight Nov 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants