Skip to content

ResponsiblyAI/responsibly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

715c13f Β· Apr 2, 2021
Apr 2, 2021
Aug 2, 2018
Apr 2, 2021
Apr 1, 2021
Jul 17, 2019
Aug 16, 2018
Sep 16, 2018
Jul 17, 2019
Jun 3, 2019
Aug 10, 2018
Apr 8, 2019
Aug 16, 2018
Apr 2, 2021
Sep 14, 2020
Apr 2, 2021
Aug 17, 2018
Aug 25, 2018
Jul 17, 2019
Apr 1, 2021
Sep 14, 2020
Apr 1, 2021
Apr 2, 2021
Sep 14, 2020
Jul 17, 2019
Sep 14, 2020
Apr 1, 2021

Repository files navigation

Responsibly

Join the chat at https://gitter.im/ResponsiblyAI/responsibly

Toolkit for Auditing and Mitigating Bias and Fairness of Machine Learning Systems πŸ”ŽπŸ€–πŸ§°

Responsibly is developed for practitioners and researchers in mind, but also for learners. Therefore, it is compatible with data science and machine learning tools of trade in Python, such as Numpy, Pandas, and especially scikit-learn.

The primary goal is to be one-shop-stop for auditing bias and fairness of machine learning systems, and the secondary one is to mitigate bias and adjust fairness through algorithmic interventions. Besides, there is a particular focus on NLP models.

Responsibly consists of three sub-packages:

  1. responsibly.dataset
    Collection of common benchmark datasets from fairness research.
  2. responsibly.fairness
    Demographic fairness in binary classification, including metrics and algorithmic interventions.
  3. responsibly.we
    Metrics and debiasing methods for bias (such as gender and race) in word embedding.

For fairness, Responsibly's functionality is aligned with the book Fairness and Machine Learning - Limitations and Opportunities by Solon Barocas, Moritz Hardt and Arvind Narayanan.

If you would like to ask for a feature or report a bug, please open a new issue or write us in Gitter.

Requirements

  • Python 3.6+

Installation

Install responsibly with pip:

$ pip install responsibly

or directly from the source code:

$ git clone https://github.com/ResponsiblyAI/responsibly.git
$ cd responsibly
$ python setup.py install

Citation

If you have used Responsibly in a scientific publication, we would appreciate citations to the following:

@Misc{,
  author = {Shlomi Hod},
  title =  {{Responsibly}: Toolkit for Auditing and Mitigating Bias and Fairness of Machine Learning Systems},
  year =   {2018--},
  url =    "http://docs.responsibly.ai/",
  note =   {[Online; accessed <today>]}
}