fairmetrics: An R package for group fairness evaluation
fairmetrics: An R package for group fairness evaluation - Published in JOSS (2025)
Science Score: 95.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
Found .zenodo.json file -
✓DOI references
Found 4 DOI reference(s) in README and JOSS metadata -
✓Academic publication links
Links to: arxiv.org, joss.theoj.org, zenodo.org -
✓Committers with academic emails
3 of 8 committers (37.5%) from academic institutions -
○Institutional organization owner
-
✓JOSS paper metadata
Published in Journal of Open Source Software
Repository
Basic Info
- Host: GitHub
- Owner: jianhuig
- License: other
- Language: R
- Default Branch: main
- Homepage: https://jianhuig.github.io/fairmetrics/
- Size: 14 MB
Statistics
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 2
- Releases: 7
Metadata Files
README.md
fairmetrics: Fairness evaluation metrics with confidence intervals for binary protected attributes 
A collection of functions for computing fairness metrics for machine learning and statistical models, including confidence intervals for each metric. The package supports the evaluation of group-level fairness criterion commonly used in fairness research, particularly in healthcare for binary protected attributes. It is based on the overview of fairness in machine learning written by Gao et al (2024) (https://arxiv.org/abs/2406.09307).
Installation
To install the latest CRAN release run:
r
install.packages("fairmetrics")
To install the package from the Github repository run:
r
devtools::install_github("jianhuig/fairmetrics")
Citation
To cite package ‘fairmetrics’ in publications use:
Gao J, Smith B, Chou B, Gronsbell J (2025). fairmetrics: Fairness Evaluation Metrics with Confidence Intervals. https://github.com/jianhuig/fairmetrics.
Smith, Gao, and Gronsbell (2025). fairmetrics: An R package for group fairness evaluation. arXiv:2506.06243.
Gao et al. (2024). What is Fair? Defining Fairness in Machine Learning for Health. arXiv:2406.09307.
A BibTeX entry for LaTeX users is
``` bibentry( bibtype = "Manual", title = "fairmetrics: Fairness Evaluation Metrics with Confidence Intervals for Binary Protected Attributes", author = c( person("Jianhui", "Gao"), person("Benjamin", "Smith"), person("Benson", "Chou"), person("Jessica", "Gronsbell") ), year = "2025", url = "https://github.com/jianhuig/fairmetrics" )
bibentry( bibtype = "Misc", key = "SmithGaoGronsbell_2025", title = "fairmetrics: An R package for group fairness evaluation", author = c( person("Benjamin", "Smith"), person("Jianhui", "Gao"), person("Jessica", "Gronsbell") ), year = "2025", month = "jun", note = "arXiv:2506.06243", url = "https://arxiv.org/abs/2506.06243", textVersion = "Smith, Gao, and Gronsbell (2025). fairmetrics: An R package for group fairness evaluation. arXiv:2506.06243."
)
bibentry( bibtype = "Misc", key = "GaoChouMcCawThurstonVargheseHongGronsbell_2024", title = "What is Fair? Defining Fairness in Machine Learning for Health", author = c( person("Jianhui", "Gao"), person("Benson", "Chou"), person("Zachary R.", "McCaw"), person("Hilary", "Thurston"), person("Paul", "Varghese"), person("Chuan", "Hong"), person("Jessica", "Gronsbell") ), year = "2024", month = "jun", note = "arXiv:2406.09307", url = "https://arxiv.org/abs/2406.09307", textVersion = "Gao et al. (2024). What is Fair? Defining Fairness in Machine Learning for Health. arXiv:2406.09307." ) ```
Similar Works
References
- Gao, J. et al. What is Fair? Defining Fairness in Machine Learning for Health. arXiv.org https://arxiv.org/abs/2406.09307 (2024).
Owner
- Name: Jianhui Gao
- Login: jianhuig
- Kind: user
- Location: Toronto
- Company: University of Toronto
- Website: https://sites.google.com/view/jianhuigao
- Repositories: 1
- Profile: https://github.com/jianhuig
PhD student in statistics at the University of Toronto. Interested in semi-supervised learning and statistical genetics.
JOSS Publication
fairmetrics: An R package for group fairness evaluation
Authors
Tags
Fairness Machine Learning SoftwareGitHub Events
Total
- Create event: 5
- Release event: 3
- Issues event: 18
- Watch event: 3
- Issue comment event: 36
- Public event: 1
- Push event: 117
- Pull request event: 1
- Fork event: 1
Last Year
- Create event: 5
- Release event: 3
- Issues event: 18
- Watch event: 3
- Issue comment event: 36
- Public event: 1
- Push event: 117
- Pull request event: 1
- Fork event: 1
Committers
Last synced: 5 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| benyamindsmith | b****h@g****m | 143 |
| Jianhui Gao | 5****g@u****m | 79 |
| Benson-chou | b****u@m****a | 39 |
| benyamindsmith | b****n@a****m | 38 |
| jianhuig | j****o@m****a | 34 |
| Jesse Gronsbell | 7****s@u****m | 19 |
| Benjamin Smith | 4****h@u****m | 17 |
| Nikoleta-v3 | g****i@e****e | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 14
- Total pull requests: 1
- Average time to close issues: 28 days
- Average time to close pull requests: N/A
- Total issue authors: 3
- Total pull request authors: 1
- Average comments per issue: 2.79
- Average comments per pull request: 0.0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 14
- Pull requests: 1
- Average time to close issues: 28 days
- Average time to close pull requests: N/A
- Issue authors: 3
- Pull request authors: 1
- Average comments per issue: 2.79
- Average comments per pull request: 0.0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- vankesteren (8)
- benyamindsmith (5)
- StevenGolovkine (1)
Pull Request Authors
- Nikoleta-v3 (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 369 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 7
- Total maintainers: 1
cran.r-project.org: fairmetrics
Fairness Evaluation Metrics with Confidence Intervals for Binary Protected Attributes
- Homepage: https://jianhuig.github.io/fairmetrics/
- Documentation: http://cran.r-project.org/web/packages/fairmetrics/fairmetrics.pdf
- License: MIT + file LICENSE
-
Latest release: 1.0.6
published 6 months ago
Rankings
Maintainers (1)
Dependencies
- JamesIves/github-pages-deploy-action v4.5.0 composite
- actions/checkout v4 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
- R >= 2.10 depends
- dplyr * imports
- magrittr * imports
- knitr * suggests
- rmarkdown * suggests
- testthat >= 3.0.0 suggests
