You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The RandomDistributedScalarEncoder needs ability to set numBuckets #443
I don't believe this is necessary. Alex mentioned that they are "auto-configured" from the numBuckets parameter... as seen here and here (numBuckets == maxBuckets, deeper in the code)
I'm not averse to having encoder params at all. We do it for the DateEncoder (due to it's need for varied configuration), so we can do it for others as well?
For instance, the NAB assumes that the numBuckets parameter is sufficient and doesn't specify resolution specifically, however HTM.Java doesn't have this so it thinks the resolution parameter is missing and throws java.lang.AnnoyingAsHellException :-P
My fix for this was to add resolution to the NAB JSON config file, but if we were going to do it the NuPIC way, we would allow the numBuckets parameter to be picked up and usher in the configuration.
Activity
rhyolight commentedon Jul 25, 2016
So will
Parametershave access to the input data to calculate the min / max values required to calculate theresolution?cogmission commentedon Jul 25, 2016
I don't believe this is necessary. Alex mentioned that they are "auto-configured" from the
numBucketsparameter... as seen here and here (numBuckets == maxBuckets, deeper in the code)I'm not averse to having encoder params at all. We do it for the DateEncoder (due to it's need for varied configuration), so we can do it for others as well?
cogmission commentedon Jul 25, 2016
For instance, the NAB assumes that the
numBucketsparameter is sufficient and doesn't specifyresolutionspecifically, however HTM.Java doesn't have this so it thinks theresolutionparameter is missing and throwsjava.lang.AnnoyingAsHellException:-PMy fix for this was to add
resolutionto the NAB JSON config file, but if we were going to do it the NuPIC way, we would allow thenumBucketsparameter to be picked up and usher in the configuration.