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

329

Last 30 days

9658th

329

Last 90 days

329

Last year

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 (14 non-OK)
OK 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

*


            
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
OK r-release-macos-x86_64

*


            
OK r-release-windows-x86_64

*


            

Check History

ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 9, 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 --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 crea

Dependency Network

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

Version History

new 1.0.0 Mar 9, 2026