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

Supporting "default" class #208

Closed
astarostap opened this issue Aug 27, 2019 · 1 comment
Closed

Supporting "default" class #208

astarostap opened this issue Aug 27, 2019 · 1 comment
Assignees

Comments

@astarostap
Copy link

astarostap commented Aug 27, 2019

Say you have a binary classification task. I've seen many use-cases in which the model should predict the negative by default unless an example hits a bunch of positive LFs.

However, if you only have positive LFs, then the Snorkel model seems to always predict positive.

Have others run into this? Am I missing something?

One potential solution would be to add an LF for the default class that votes True for all examples so as to default the predictions towards the default class.

@brahmaneya brahmaneya self-assigned this Sep 4, 2019
@brahmaneya
Copy link

Duplicate question answered in snorkel-team/snorkel#1433

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

No branches or pull requests

3 participants