Switch to using .getAlgorithmInstance() instead of accessing private member variable _knn directly.
Switch to using .getAlgorithmInstance() instead of accessing private
member variable _knn directly.

numenta-archive/htmresearch,numenta-archive/htmresearch,numenta-archive/htmresearch,numenta-archive/htmresearch,numenta-archive/htmresearch,numenta-archive/htmresearch