snorkel-team / snorkel

A system for quickly generating training data with weak supervision
https://snorkel.org
Apache License 2.0
5.79k stars 859 forks source link

Basic categorical support #629

Closed ajratner closed 7 years ago

ajratner commented 7 years ago

Simple first step:

Optionally: Can make the Candidate object fancier by either accepting an integer -- in which case this is the cardinality -- or a list of strings, which will now be the different categorical values

@bach Our thinking is to just support similarity deps for now, sound good?

@thodrek Do you need sparse repr. of L? Discuss with @bryan-he . Also anything else?

TODOs:

ajratner commented 7 years ago

Merged in dev branch with PR #646; to be merged into master with next release