Package: fairness
Title: Algorithmic Fairness Metrics
Version: 1.2.3
Authors@R: c(person('Nikita', 'Kozodoi', email = 'n.kozodoi@icloud.com', role = c('aut', 'cre')),
            person('Tibor', 'V. Varga', email = 'tirgit@hotmail.com', role = c('aut'), comment = c(ORCID = '0000-0002-2383-699X')))
Maintainer: Nikita Kozodoi <n.kozodoi@icloud.com>
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.
License: MIT + file LICENSE
Language: en-US
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.2.0
URL: https://www.kozodoi.me/blog/algorithmic-fairness-in-r
BugReports: https://github.com/kozodoi/fairness/issues
Depends: R (>= 3.5.0)
Imports: caret, ggplot2, pROC
Suggests: devtools, testthat, knitr, rmarkdown
VignetteBuilder: knitr
NeedsCompilation: no
Packaged: 2025-12-13 18:19:49 UTC; nikita.kozodoi
Author: Nikita Kozodoi [aut, cre],
  Tibor V. Varga [aut] (ORCID: <https://orcid.org/0000-0002-2383-699X>)
Repository: CRAN
Date/Publication: 2025-12-14 06:40:12 UTC
Built: R 4.6.0; ; 2026-04-30 11:07:19 UTC; unix
