Package: fairml 0.8

Marco Scutari

fairml: Fair Models in Machine Learning

Fair machine learning regression models which take sensitive attributes into account in model estimation. Currently implementing Komiyama et al. (2018) <http://proceedings.mlr.press/v80/komiyama18a/komiyama18a.pdf>, Zafar et al. (2019) <https://www.jmlr.org/papers/volume20/18-262/18-262.pdf> and my own approach from Scutari, Panero and Proissl (2022) <https://link.springer.com/content/pdf/10.1007/s11222-022-10143-w.pdf> that uses ridge regression to enforce fairness.

Authors:Marco Scutari [aut, cre]

fairml_0.8.tar.gz
fairml_0.8.tar.gz(r-4.5-noble)fairml_0.8.tar.gz(r-4.4-noble)
fairml_0.8.tgz(r-4.4-emscripten)fairml_0.8.tgz(r-4.3-emscripten)
fairml.pdf |fairml.html
fairml/json (API)

# Install 'fairml' in R:
install.packages('fairml', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Datasets:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

1.84 score 1 stars 1 packages 23 scripts 464 downloads 12 exports 10 dependencies

Last updated 2 years agofrom:f1dac101d2. Checks:OK: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 08 2024
R-4.5-linuxOKNov 08 2024

Exports:cv.foldscv.losscv.unfairnessfairml.cvfairness.profile.plotfgrrmfrrmnclmzlmzlm.origzlrmzlrm.orig

Dependencies:codetoolsforeachglmnetiteratorslatticeMatrixRcppRcppEigenshapesurvival

Readme and manuals

Help Manual

Help pageTopics
Fair models in machine learningfairml-package fairml
Census Incomeadult
Bank Marketingbank
Communities and Crime Data Setcommunities.and.crime
Criminal Offenders Screened in Floridacompas
Drug Consumptiondrug.consumption
Cross-Validation for Fair Modelscv.folds cv.loss cv.unfairness fairml.cv
Profile Fair Models with Respect to Tuning Parametersfairness.profile.plot
Obesity Levelsflchain
Fair Ridge Regression Modelfgrrm frrm
German Credit Datagerman.credit
Health and Retirement Surveyhealth.retirement
Law School Admission Council datalaw.school.admissions
Extract information from fair.model objectsall.equal.fair.model coef.fair.model deviance.fair.model fitted.fair.model logLik.fair.model methods for fair.model objects nobs.fair.model plot.fair.model predict.fgrrm predict.frrm predict.nclm predict.zlm predict.zlrm print.fair.model residuals.fair.model sigma.fair.model summary.fair.model
Income and Labour Market Activitiesnational.longitudinal.survey
Nonconvex Optimization for Regression with Fairness Constraintsnclm
Obesity Levelsobesity.levels
Synthetic data set to test fair modelsvu.test
Zafar's Linear and Logistic Regressionszlm zlm.orig zlrm zlrm.orig