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

Providing negative classification for multi-class classification. #1064

Open
mhigginslp opened this issue Feb 21, 2019 · 5 comments
Open

Providing negative classification for multi-class classification. #1064

mhigginslp opened this issue Feb 21, 2019 · 5 comments
Labels
feature request no-stale Auto-stale bot skips this issue

Comments

@mhigginslp
Copy link

In many cases, it would be useful to say when a particular instance is not a member of a particular class. For instance, an LF might want to say if a text contains the word w, then its corresponding class is not X. In the binary case, the suggested label would just be -1 but I don't see how that would work in the multi-class setting.

@ajratner
Copy link
Contributor

Hi @mhigginslp great suggestion! We don't have this feature right now, but certainly want to put it in as a PR at some point soon.

Basically, in Snorkel we learn the LF accuracies (in the generative model) by observing the agreements and disagreements between the LFs- so nothing fundamental in our approach changes here. More generally, at some point we want to let LFs output probability distributions over the possible labels, which captures your setting (0 prob. on class X, uniform over the other ones). Again, no fundamental changes to the approach (at least in the basic way of doing this).

@ajratner ajratner added the Q&A label Feb 22, 2019
@iou2much
Copy link

iou2much commented Mar 9, 2019

would be useful, looking forward to this feature. Thanks a lot

@vincentschen vincentschen removed the Q&A label Aug 15, 2019
@rjurney
Copy link

rjurney commented Oct 17, 2019

This would be very helpful.

@vincentschen vincentschen added the no-stale Auto-stale bot skips this issue label Nov 18, 2019
@regstrtn
Copy link

Looking forward to this feature.

@ImenGBY
Copy link

ImenGBY commented Feb 23, 2020

is there any news about this feature in the new snorkel version? thks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request no-stale Auto-stale bot skips this issue
Projects
None yet
Development

No branches or pull requests

7 participants