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

Fix OPF prediction models #3665

Merged
merged 11 commits into from
Jun 7, 2017
Merged

Fix OPF prediction models #3665

merged 11 commits into from
Jun 7, 2017

Conversation

scottpurdy
Copy link
Contributor

@scottpurdy scottpurdy commented Jun 5, 2017

This changes "predictedFieldIdx" to just "predictedField" so network clients don't have to try to figure out the index of the predicted field (which may vary based on the dataSource in the encoder). Additionally, missing links for the HTMPredictionModel classifier are added to fix broken prediction capability.

@ywcui1990 - fyi, not sure if this conflicts with your changes

fixes NUP-2448

@scottpurdy scottpurdy requested a review from rhyolight June 5, 2017 18:24
Copy link
Member

@rhyolight rhyolight left a comment

Choose a reason for hiding this comment

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

I had one comment, otherwise 👍 💯.

description="The field to be predicted. This will result in the "
"outputs actValueOut and bucketIdxOut not being "
"populated.",
dataType="Byte",
Copy link
Member

Choose a reason for hiding this comment

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

The dataType is confusing because it's a string. Should the description say "The field name to be predicted..."?

@scottpurdy
Copy link
Contributor Author

@rhyolight - Added a major commit that removes the CLAClassifier and derivatives. Tests for CLAClassifier are removed but other usages are replaced with the SDRClassifier.

@rhyolight
Copy link
Member

Great, assuming you get tests passing, LTGM.

@scottpurdy
Copy link
Contributor Author

I'm going to wait until #3669 is merged, revalidate this PR, and then merge.

@scottpurdy scottpurdy merged commit e6da897 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