Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow SDR classifier to handle multiple category #1339

Merged
merged 4 commits into from
Jun 7, 2017

Conversation

ywcui1990
Copy link
Contributor

@ywcui1990 ywcui1990 commented Jun 7, 2017

Fixes: #1340
Implement the SDR classifier change as in numenta/nupic-legacy#3669
Allows SDR classifier to handle multiple categories with a single compute call

@scottpurdy Please review.

Copy link
Contributor

@scottpurdy scottpurdy left a comment

Choose a reason for hiding this comment

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

Great work!

NTA_THROW << "the record number has to increase monotonically";
}
// update pattern history if this is a new record
if(recordNumHistory_.size() ==0 || recordNum > lastRecordNum)
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: add space after if and ==

@scottpurdy
Copy link
Contributor

Let me know when you're ready to merge

@ywcui1990
Copy link
Contributor Author

@scottpurdy This is ready to be merged.

@scottpurdy scottpurdy merged commit 1b6520f into numenta:master Jun 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants