Skip to content

fairness

Algorithmic Fairness Metrics

v1.2.3 · Dec 13, 2025 · MIT + file LICENSE

Description

Offers calculation, visualization and comparison of algorithmic fairness metrics. Fair machine learning is an emerging topic with the overarching aim to critically assess whether ML algorithms reinforce existing social biases. Unfair algorithms can propagate such biases and produce predictions with a disparate impact on various sensitive groups of individuals (defined by sex, gender, ethnicity, religion, income, socioeconomic status, physical or mental disabilities). Fair algorithms possess the underlying foundation that these groups should be treated similarly or have similar prediction outcomes. The fairness R package offers the calculation and comparisons of commonly and less commonly used fairness metrics in population subgroups. These methods are described by Calders and Verwer (2010) <doi:10.1007/s10618-010-0190-x>, Chouldechova (2017) <doi:10.1089/big.2016.0047>, Feldman et al. (2015) <doi:10.1145/2783258.2783311> , Friedler et al. (2018) <doi:10.1145/3287560.3287589> and Zafar et al. (2017) <doi:10.1145/3038912.3052660>. The package also offers convenient visualizations to help understand fairness metrics.

Downloads

406

Last 30 days

9309th

1.3K

Last 90 days

7K

Last year

Trend: +7.7% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (1)

suggests

jfa

Dependency Network

Dependencies Reverse dependencies caret ggplot2 pROC jfa fairness

Version History

new 1.2.3 Mar 10, 2026
updated 1.2.3 ← 1.2.2 diff Dec 13, 2025
updated 1.2.2 ← 1.2.1 diff Apr 13, 2021
updated 1.2.1 ← 1.2.0 diff Mar 30, 2021
updated 1.2.0 ← 1.1.1 diff Nov 18, 2020
updated 1.1.1 ← 1.1.0 diff Jul 25, 2020
updated 1.1.0 ← 1.0.1 diff May 1, 2020
new 1.0.1 Sep 26, 2019