Flexible Tool for Bias Detection, Visualization, and Mitigation
Overview
Measure fairness metrics in one place for many models. Check how big is model's bias towards different races, sex, nationalities etc. Use measures such as Statistical Parity, Equal odds to detect the discrimination against unprivileged groups. Visualize the bias using heatmap, radar plot, biplot, bar chart (and more!). There are various pre-processing and post-processing bias mitigation algorithms implemented. Package also supports calculating fairness metrics for regression models. Find more details in (Wiśniewski, Biecek (2021)) doi:10.48550/arXiv.2104.00507.
- changed *ifelse* statements in
fairness_heatmapas per https://github.com/ModelOriented/fairmodels/issues/57 - updated documentation formatting
- updated Description
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 53
- Examples that run
- 100%46 run in a plain check
- Exported functions with examples
- 88%
- Documented parameters
- 100%
- Return-value docs
- 96%
- Help pages citing references
- 13%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 5
- Median days to close, 50 most recently updated closed PRs
- 0
8 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/modeloriented/fairmodels on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2021-10-08 · The repository has a site deploy workflow
Show all practicesHide 1 practice
Dependencies
Installing fairmodels adds 32 packages (9 with compiled code, 23 MB of source tarballs). Heaviest: ggplot2 6.0 MB, patchwork 3.2 MB, ingredients 2.4 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 1.2.2Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 1.2.12022-08-23 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 1.2.02021-10-08 · diff ↗
- 1.1.0
- RR 4.1.0 released · 2021-05-18
- 1.0.12021-04-14 · diff ↗
- 0.2.42020-12-12 · diff ↗
- 0.2.22020-09-21 · diff ↗
- 0.1.12020-08-20
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2020-08-20
- Total releases
- 8 / 6 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.5
- Bundled data
- 354 KB / 4 files
- Download size
- 2.1 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("fairmodels")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.32614/rj-2022-019.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.