Giter VIP home page Giter VIP logo

llp-variants-kdd's Introduction

Dependence and Model Selection in LLP: The Problem of Variants

Repository for reproducing the results of the paper "Dependence and Model Selection in LLP: The Problem of Variants" from KDD23

The Split-Bag methods proposed at this paper are implemented at llp-learn

Requirements

  • Python 3.8 or higher (developed on Python 3.8)
  • R version 4.2.1
pip3 install -r requirements.txt

To use LMM1 it is necessary to get its code:

git clone https://github.com/giorgiop/almostnolabel.git

To install the R libraries:

install_r_libraries.py

Run an single experiment

python3 kdd_experiment.py -d {dataset_name} -m {model} -l {loss} -n {n_splits} -v {validation_size_percentage} -s {splitter} -e {execution_number}

As an example, we have:

python3 kdd_experiment.py -d mnist-digits-6-7-naive-3bags-cluster-None-None -m lmm -l abs -n 3 -v 0.5 -s split-bag-bootstrap -e 0

For $k$-fold based methods, the validation_size_percentage is not used

python3 kdd_experiment.py -d mnist-digits-6-7-naive-3bags-cluster-None-None -m lmm -l abs -n 3 -s split-bag-k-fold -e 0

Run all the paper experiments

./paper_run_all_experiments.sh

Each execution produces one parquet file. After running all the experiments, they can be combined into one single file (kdd-experiment-results.parquet) as following:

python3 aggregate_results.py

Produce all the plots in the paper

./paper_plot_results.sh

The plots are saved in the plots folder.

Produce the results and extra information about the datasets in LaTeX table format

./paper_table_results.sh

The tables are saved in the tables folder.

Footnotes

  1. Patrini, Giorgio, et al. "(Almost) no label no cry." Advances in Neural Information Processing Systems 27 (2014). โ†ฉ

llp-variants-kdd's People

Contributors

gaabrielfranco avatar

Watchers

James Cloos avatar Mark Crovella avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.