numenta / nupic-legacy

Numenta Platform for Intelligent Computing is an implementation of Hierarchical Temporal Memory (HTM), a theory of intelligence based strictly on the neuroscience of the neocortex.
http://numenta.org/
GNU Affero General Public License v3.0
6.34k stars 1.56k forks source link

Handle scalar values in the sdr classifier region #3698

Closed ywcui1990 closed 7 years ago

ywcui1990 commented 7 years ago

Fixes: https://github.com/numenta/nupic/issues/3225

@scottpurdy @rhyolight Please review.

I changed the SDR classifier region to handle scalar values when it is available. I also added a test that uses the SDR classifier region for scalar predictions.

ywcui1990 commented 7 years ago

@scottpurdy Feel free to merge at any time.