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.33k stars 1.56k forks source link

KNN Classifier Unittests #2270

Open ryanjmccall opened 9 years ago

ryanjmccall commented 9 years ago

There are several possible instances of KNN Classifier that one can make by specifying the following constructor arguments and, ideally, we should have adequate test coverage for the different possibilities. At a minimum I feel we should test learn() and infer() for these possibilities.

useSparseMemory (boolean

distanceMethod (string)

See related issue: https://github.com/numenta/nupic/issues/2172

ryanjmccall commented 9 years ago

@mihail911 @BoltzmannBrain FYI, recreating the tasks here. Edit: @mihail911 FYI, when working on one of these check boxes, create a new issue for a particular check box. then mention that sub issue in the related PR. don't mention this issue, otherwise this whole issue will be closed. (don't make my mistake =))