mlr3fairness
0.4.0Fairness Auditing and Debiasing for 'mlr3'
Overview
Integrates fairness auditing and bias mitigation methods for the 'mlr3' ecosystem. This includes fairness metrics, reporting tools, visualizations and bias mitigation techniques such as "Reweighing" described in 'Kamiran, Calders' (2012) doi:10.1007/s10115-011-0463-8 and "Equalized Odds" described in 'Hardt et al.' (2016) https://papers.nips.cc/paper/2016/file/9d2682367c3935defcb1f9e247a97c0d-Paper.pdf. Integration with 'mlr3' allows for auditing of ML models as well as convenient joint tuning of machine learning algorithms and debiasing methods.
Install
Health
- OK2026-06-0913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0812 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-05-1713 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- WARNING2026-05-1012 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 100%
- Return-value docs
- 46%
- References docs
- 31%
Downloads
Repository
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Repository practices
7 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/mlr-org/mlr3fairness on 2026-07-19.
Show all practices
Dependencies
Code & Tests
- Cyclomatic complexity
- 1.0 median / 5 max
- Test cases
- 71 / 0.43 per code line
Test coverage
Line coverage
93%
Expression
92.6%
Tests / Examples
92.6% / 71% ex
Functions
42 13 exported
Complexity
1.9 avg / 5 max
Call network
42 nodes / 14 edges
Call graph
Open call graph →Lowest coverage
42 functions| Function | Cyclo | Coverage |
|---|---|---|
| compute_metrics exp | 5 | 0% |
| fairness_tensor.ResampleResult | 1 | 0% |
| tabular | 2 | 0% |
| fairness_prediction_density.PredictionClassif | 5 | 63% |
| report_fairness exp | 3 | 69% |
| assert_pta_task | 4 | 80% |
People & History
4 releases. Pick two to compare their code metrics. R releases are shown for context.
Package metadata
- First published
- 2022-05-12
- Total releases
- 4 / 4 yrs
- License
- LGPL-3 OSI
- Minimum R
- ≥ 3.4.0
- Bundled data
- 226 KB / 3 files
- Download size
- 540 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet