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

Classifier region #766

Merged
merged 4 commits into from
Dec 22, 2019
Merged

Classifier region #766

merged 4 commits into from
Dec 22, 2019

Conversation

dkeeney
Copy link

@dkeeney dkeeney commented Dec 10, 2019

The ClassifierRegion is a new built-in Region for the SDRClassifier algorithm.
Reference Issue #761

Ok, guys, check this carefully to make sure I understood how the SDRClassifier works and implemented it correctly.

This should work with both the RDSE Encoder and the Scaler Encoder.
Note that I had to add a bucket output to the RDSERegion in order to have something for the ClassifierRegion to learn. The values are the quantized input rather than an index so the ClassifierRegion does not need to know what radius was used by the encoder and it can handle negative numbers.

I tried it with doubles and Categories. This classifier would also work with the Document encoder if we used some sort of external table of text values. The index would be the bucket value.

@dkeeney dkeeney self-assigned this Dec 10, 2019
@dkeeney dkeeney added enhancement New feature or request NetworkAPI ready labels Dec 10, 2019
Copy link
Collaborator

@ctrl-z-9000-times ctrl-z-9000-times left a comment

Choose a reason for hiding this comment

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

I think that the new code for buckets is correct.
This looks good to me. +1

@dkeeney
Copy link
Author

dkeeney commented Dec 22, 2019

Thanks for the review.

@dkeeney dkeeney merged commit 0722aa8 into master Dec 22, 2019
@dkeeney dkeeney deleted the classifierRegion branch December 22, 2019 23:12
Copy link
Member

@breznak breznak left a comment

Choose a reason for hiding this comment

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

Hey, this is really nice work on the region, thank you David!

Also, cheers in the new year 2020! 👋 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants