Git Product home page Git Product logo

abstention's Introduction

Abstention, Calibration & Label Shift

Algorithms for abstention, calibration and domain adaptation to label shift.

Associated papers:

Shrikumar A*†, Alexandari A*, Kundaje A†, A Flexible and Adaptive Framework for Abstention Under Class Imbalance

Alexandari A*, Kundaje A†, Shrikumar A*†, Maximum Likelihood with Bias-Corrected Calibration is Hard-To-Beat at Label Shift Adaptation

*co-first authors † co-corresponding authors

Examples

See https://github.com/blindauth/abstention_experiments and https://github.com/blindauth/labelshiftexperiments for colab notebooks reproducing the experiments in the papers.

Installation

pip install abstention

Algorithms implemented

For calibration:

  • Platt Scaling
  • Isotonic Regression
  • Temperature Scaling
  • Vector Scaling
  • Bias-Corrected Temperature Scaling
  • No-Bias Vector Scaling

For domain adaptation to label shift:

  • Expectation Maximization (Saerens et al., 2002)
  • Black-Box Shift Learning (BBSL) (Lipton et al., 2018)
  • Regularized Learning under Label Shifts (RLLS) (Azizzadenesheli et al., 2019)

For abstention:

Contact

If you have any questions, please contact:

Avanti Shrikumar: avanti [dot] shrikumar [at] gmail.com

Amr Alexandari: amr [dot] alexandari [at] gmail.com

Anshul Kundaje: akundaje [at] stanford [dot] edu

abstention's People

Contributors

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