Skip to content

Commit

Permalink
Add example for infer as well
Browse files Browse the repository at this point in the history
  • Loading branch information
scottpurdy committed Jan 11, 2018
1 parent 94e5f62 commit 38c9c7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nupic/algorithms/knn_classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 38c9c7e

Please sign in to comment.