Permalink
Browse files

Add example for infer as well

  • Loading branch information...
scottpurdy committed Jan 11, 2018
1 parent 94e5f62 commit 38c9c7e1d7b161d9a4b2378cdae3652af704a481
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/nupic/algorithms/knn_classifier.py
@@ -664,7 +664,7 @@ def infer(self, inputPattern, computeScores=True, overCategories=True,
winning category index as well as a distribution over all categories.
:param inputPattern: (list or array) The pattern to be classified. This
must be a dense array.
must be a dense representation of the array (e.g. [0, 0, 1, 1, 0, 1]).
:param computeScores: NO EFFECT

0 comments on commit 38c9c7e

Please sign in to comment.