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

Update KNN classifier documentation to make the input pattern require… #3791

Merged
merged 3 commits into from Jan 11, 2018

Conversation

scottpurdy
Copy link
Contributor

…ments clear in both learn and infer

@subutai - please review

isSparse is the length of the dense representation
:param isSparse: (int) If 0, the input pattern is a dense representation.
If isSparse > 0, the input pattern is a list of non-zero indices of
the active bits and isSparse is the number of total bits (n).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you mean by number of total bits? The number of ON bits or the length of the equivalent dense vector? Maybe good to give a small example.

@scottpurdy scottpurdy merged commit 17db904 into numenta:master Jan 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants