This repository is the official implementation of Reliable Programmatic Weak Supervision with Confidence Intervals for Label Probabilities. This paper presents a methodology for programmatic weak supervision that can provide confidence intervals for label probabilities and obtain more reliable predictions. In particular, the methods proposed use uncertainty sets of distributions that encapsulate the information provided by LFs with unrestricted behavior and typology.
This is a fork of the wrench repository that focuses on aggregating the provided labeling functions for certain datasets.
-
create and activate conda environment WITHOUT using the
environment.yml
fileconda create --name wrench python=3.6
conda activate wrench
-
install wrench
pip install ws-benchmark==1.1.2rc0
-
install other dependencies
pip install -r requirements.txt
Verónica Álvarez
The proposed methods carry a MIT license.
If you find useful the code in your research, please include explicit mention of our work in your publication with the following corresponding entry in your bibliography:
[1] V. Alvarez, S. Mazuelas, S. An, S. Dasgupta. Reliable Programmatic Weak Supervision with Confidence Intervals for Label Probabilities