Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

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
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.