Skip to content

fairmodels

1.2.2Package record

Flexible Tool for Bias Detection, Visualization, and Mitigation

0packages dependsuggested by 1
7.2Kdownloads / year
85.5%test coverage
13/13flavors OK

Overview

About

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.

Changes in 1.2.2

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 5.9 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.2.2
READMEYes · 559 wordsVignettesYes · 2 · dynamicNEWSYes · 100% structured · mentions 1.2.2Citation fileYes · cites a publicationWebsiteYes
Cites an R Journal article
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

7.2K
CRAN downloads in the past year
Rank #6,096 · ~20/day · ~598/mo
Daily download trend is not available in this view yet.
44330 days
1.4K90 days
7.2K1 year
Compare downloads with other packages →
Also on114 r2u6 autocran643 conda_forge

Repository

85Stars
16Forks
4Open issues
0Open PRs
8Releases
234Commits
5Commit identities
fairnessexplainable-mlexplain-classifiersfairness-mlfairness-comparisonmodel-evaluation
License file reads as GPL-3.0 · 234 commits · Last activity 2025-10-31
Responsiveness
How these are sampled
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
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (3)
pkgdown

GitHub Pages site last deployed 2021-10-08 · The repository has a site deploy workflow

Coverage (1)
Coverage reporting (Codecov)
Lint, format, editor (1)
RStudio project
Show all practicesHide 1 practice
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
13 external dependencies (excludes base and recommended)

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.

Depends (1)
R >= 3.5
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Suggested by 1
Suggests, most downloaded first

Datasets

People & History

People (2)
Author, Maintainer since 0.1.1 (2020)
Releases (8)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.2.2Latest
    record
    2025-11-30 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 1.2.1
    record
    2022-08-23 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 1.2.0
    record
    2021-10-08 · diff ↗
  • 1.1.0
    record
    2021-05-31 · diff ↗ ·
    added 2 exports
    fairness_check_regression, regression_metrics
  • R
    R 4.1.0 released · 2021-05-18
  • 1.0.1
    record
    2021-04-14 · diff ↗
  • 0.2.4
    record
    2020-12-12 · diff ↗
  • 0.2.2
    record
    2020-09-21 · diff ↗
  • 0.1.1
    record
    2020-08-20
  • R
    R 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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for fairmodels version 1.2.2 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy