Coder Social home page Coder Social logo

aai-institute / classwise-calibration-experiments Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 0.0 465 KB

Experiments for the paper "Class-wise and reduced calibration methods", ICMLA 2022

License: GNU Lesser General Public License v3.0

Jupyter Notebook 47.47% Shell 0.45% Python 50.94% Dockerfile 1.13%
calibration machine-learning classifier-calibration transferlab icmla icmla-2022

classwise-calibration-experiments's Introduction

Experiments for "Class-wise and Reduced Calibration Methods"

Code Quality

This repository contains the experiments for the paper by Panchenko, Benmerzoug and de Benito Delgado, Class-wise and reduced calibration methods, submitted to the 21st IEEE International Conference on Machine Learning and Applications (ICMLA 2022).

Pre-requisites

This project uses Poetry for dependency management. More specifically version 1.2.0 of Poetry.

Start by installing it and then proceed to installing the requirements:

poetry install --no-root

And then activating the created virtual environment:

poetry shell

As an alternative you could build a docker image from the Dockerfile:

docker build . -t classwise-calibration:local

And then simply start a container:

docker container run -it --rm classwise-calibration:local

To start the notebooks from within the container use:

docker run -it --rm -p 8888:8888 classwise-calibration:local jupyter notebook --NotebookApp.default_url=/lab/ --ip=0.0.0.0 --port=8888

Experiments

Experiment Binder
Random Forest on Synthetic Data badge
LightGBM on Sorel20M badge
ResNet56 on CIFAR10 badge
DistilBERT on IMDB badge
DeiT on RVL-CDIP badge

Running the Experiments

To run the experiments use:

python -m src.experiments.<Experiment Module>

Where you would replace with the name of one of experiments' module.

For example, to run the Random Forest experiment with Synthetic Data use:

python -m src.experiments.random_forest_synthetic

Notebooks

You could also use the notebooks if we to interactively run the experiments.

They are generated from the experiment scripts as follows:

bash scripts/generate_notebooks.sh

License

This repository is distributed under LGPL-3.0. A complete version can be found in two files: here and here.

All contributions will be distributed under this license.

classwise-calibration-experiments's People

Contributors

anesbenmerzoug avatar mdbenito avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.