https://github.com/amazon-science/fair-ordinal-regression
Science Score: 23.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
✓Academic publication links
Links to: arxiv.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.0%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: amazon-science
- License: apache-2.0
- Language: Roff
- Default Branch: main
- Size: 65.4 KB
Statistics
- Stars: 1
- Watchers: 6
- Forks: 1
- Open Issues: 2
- Releases: 0
Metadata Files
README.md
Pairwise Fairness for Ordinal Regression
This repository contains code for our AISTATS 2022 paper Pairwise Fairness for Ordinal Regression.
In order to reproduce the experiments of Section 5.1 of the paper, do the following:
1) install all required packages as specified in requirements.txt
2) run prepare_drug_consumption.py and prepare_communities_and_crime.py in order to download and prepare the data sets
3) set the parameters at the top of run_experiment.py and run the script in order to produce plots like in Fig. 1 of our paper
Remarks
1) The predictions produced by the POM model trained in Matlab are provided in Results/PredictionsMATLAB. If you have Matlab on your system, you can generate these on your own by running `runPOMmodelMATLAB.m`.
2) In our paper, we present results averaged over a large number of splits and for a large number of different parameters --- creating these results is quite time consuming and we did so by running our code on numerous machines in parallel. The code provided here is intended to be run on a single machine, and we recommend to run it with parameters different from the ones that we used (see the top of run_experiment.py). Note that this will result in slightly worse results than those reported in our paper.
Citation
If you publish material that uses this code, please cite our paper:
js
@inproceedings{kleindessner2022fairordreg,
title={Pairwise Fairness for Ordinal Regression},
author={Kleindessner, Matthäus and Samadi, Samira and Zafar, Muhammad Bilal and Kenthapadi, Krishnaram and Russell, Chris},
year={2022},
booktitle={International Conference on Artificial Intelligence and Statistics (AISTATS)}
}
Security
See CONTRIBUTING for more information.
License
This project is licensed under the Apache-2.0 License.
Owner
- Name: Amazon Science
- Login: amazon-science
- Kind: organization
- Website: https://amazon.science
- Twitter: AmazonScience
- Repositories: 80
- Profile: https://github.com/amazon-science
GitHub Events
Total
- Fork event: 1
Last Year
- Fork event: 1
Issues and Pull Requests
Last synced: about 1 year ago
All Time
- Total issues: 0
- Total pull requests: 6
- Average time to close issues: N/A
- Average time to close pull requests: 10 days
- Total issue authors: 0
- Total pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.67
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 6
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
- dependabot[bot] (5)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- fairlearn ==0.6.1
- matplotlib ==3.4.2
- numpy ==1.20.1
- pandas ==1.2.4
- pip ==21.0.1
- python ==3.8.8
- requests ==2.26.0
- scikit-learn ==0.24.1
- scipy ==1.6.3
- tqdm ==4.62.2