snorkel-team / snorkel

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

Question (not an issue): Using snorkel.classification #1528

Closed haroonhassan closed 4 years ago

haroonhassan commented 4 years ago

Hi, was wondering if there are any examples of snorkel classifier out of the box? The tutorials showcase the keras api with probabilistic labels, but curious to compare with the snorkel package. Any help appreciated. Thanks.

bhancock8 commented 4 years ago

Yep! The multitask tutorial demonstrates how to use the MultitaskClassifier that comes with Snorkel.

I should note though that our general recommendation is to use other great third-party tools (such as Keras, scikit-learn, Ludwig, etc.) for single-task problems. The MultitaskClassifier is designed specifically for tackling advanced use cases (such as multi-task learning, multi-modal inputs, or slice-aware models), so while you can certainly use it for a simple single-task use case where its advanced features aren't necessarily required, you may find it a little more cumbersome to use than models that are targeted specifically at single tasks.

github-actions[bot] commented 4 years ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.