Skip to content

fairadapt

Fair Data Adaptation with Quantile Preservation

v1.0.0 · Sep 6, 2024 · GPL (>= 3)

Description

An implementation of the fair data adaptation with quantile preservation described in Plecko & Meinshausen (JMLR 2020, 21(242), 1-44). The adaptation procedure uses the specified causal graph to pre-process the given training and testing data in such a way to remove the bias caused by the protected attribute. The procedure uses tree ensembles for quantile regression. Instructions for using the methods are further elaborated in the corresponding JSS manuscript, see <doi:10.18637/jss.v110.i04>.

Downloads

440

Last 30 days

8633rd

961

Last 90 days

3.6K

Last year

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

CRAN Check Status

1 ERROR
13 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 ERROR
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (1 non-OK)
ERROR r-release-macos-arm64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building ‘jss.Rmd’ using rmarkdown
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode

kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+57/600 --dpi 657 bbm10
mkdir: ././opt/tex/texmf-var/fonts/pk/ljfour/public: Permission denied
mktexpk: /opt/tex/texmf-dist/web2c/mktexdir /opt/tex/texmf-var/fonts/pk/ljfour/public/bbm failed.
kpathsea: Appending font creation commands to missfont.log.
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode

kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+57/600 --dpi 657 bbm10
mkdir: ././opt/tex/texmf-var/fonts/pk/ljfour/public: Permission denied
mktexpk: /opt/tex/texmf-dist/web2c/mktexdir /opt/tex/texmf-var/fonts/pk/ljfour/public/bbm failed.
kpathsea: Appending font creation commands to missfont.log.
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode

kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+57/600 --dpi 657 bbm10
mkdir: ././opt/tex/texmf-var/fonts/pk/ljfour/public: Permission denied
mktexpk: /opt/tex/texmf-dist/web2c/mktexdir /opt/tex/texmf-var/fonts/pk/ljfour/public/bbm failed.
kpathsea: Appending font creation commands to missfont.log.
Error: processing vignette 'jss.Rmd' failed with diagnostics:
LaTeX failed to compile /Volumes/Builds/packages/big-sur-arm64/results/4.5/fairadapt.Rcheck/vign_test/fairadapt/vignettes/jss.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips.
--- failed re-building ‘jss.Rmd’

SUMMARY: processing the following file failed:
  ‘jss.Rmd’

Error: Vignette re-building failed.
Execution halted

Check History

ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 10, 2026
ERROR r-release-macos-arm64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building ‘jss.Rmd’ using rmarkdown
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode

kpathsea: Running mktexpk -
...[truncated]...
k/vign_test/fairadapt/vignettes/jss.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips.
--- failed re-building ‘jss.Rmd’

SUMMARY: processing the following file failed:
  ‘jss.Rmd’

Error: Vignette re-building failed.
Execution halted

Dependency Network

Dependencies Reverse dependencies ranger assertthat quantreg qrnn igraph ggplot2 cowplot scales fairadapt

Version History

new 1.0.0 Mar 10, 2026
updated 1.0.0 ← 0.2.7 diff Sep 5, 2024
updated 0.2.7 ← 0.2.6 diff Oct 8, 2023
updated 0.2.6 ← 0.2.5 diff Aug 17, 2023
updated 0.2.5 ← 0.2.4 diff Mar 22, 2023
updated 0.2.4 ← 0.2.3 diff Jun 30, 2022
updated 0.2.3 ← 0.2.2 diff Jun 21, 2022
updated 0.2.2 ← 0.2.1 diff Apr 27, 2022
updated 0.2.1 ← 0.2.0 diff Oct 18, 2021
updated 0.2.0 ← 0.1.0 diff Jul 27, 2021
new 0.1.0 Nov 27, 2019