numenta/htm.java

SpatialPooler's 2 derived values never configured properly

Closed this issue · 0 comments

  • synPermBelowStimulusInc
  • synPermTrimThreshold

... are derived values calculated during SpatialPooler construction as such:

synPermBelowStimulusInc = synPermConnected / 10.0
synPermTrimThreshold = synPermActiveInc / 2.0

However, in the Java SpatialPooler, the above calculations take place before the dependent variables, (synPermConnected and synPermActiveInc) get set by the call to Parameters.apply(Connections c).

These are two essential variable that affect SpatialPooler initialization and learning behavior.