Skip to content

pawel-czyz/labelshift

Repository files navigation

Project Status: Concept – Minimal or no implementation has been done yet, or the repository is only intended to be a limited example, demo, or proof-of-concept. Venue build Code style: black

Bayesian quantification with black-box estimators

Quantification is the problem of estimating the label prevalence from an unlabeled data set. In this repository we provide the code associated with our manuscript, which can be used to reproduce the experiments.

Installation

We recommend using Micromamba to set a new Python 3.11 environment. Then, the package can be installed with:

$ pip install -e .

To reproduce the experiments, install Snakemake using the instructions provided. Then, install additional dependencies:

$ pip install -r requirements.txt

The experiments can be reproduced by running:

$ snakemake -c4 -s workflows/WORKFLOW_NAME.smk