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:
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')) |
- adult - Census Income
- bank - Bank Marketing
- communities.and.crime - Communities and Crime Data Set
- compas - Criminal Offenders Screened in Florida
- drug.consumption - Drug Consumption
- german.credit - German Credit Data
- health.retirement - Health and Retirement Survey
- law.school.admissions - Law School Admission Council data
- national.longitudinal.survey - Income and Labour Market Activities
- obesity.levels - Obesity Levels
- vu.test - Synthetic data set to test fair models
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated 2 years agofrom:f1dac101d2. Checks:OK: 2. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Dec 08 2024 |
R-4.5-linux | OK | Dec 08 2024 |
Exports:cv.foldscv.losscv.unfairnessfairml.cvfairness.profile.plotfgrrmfrrmnclmzlmzlm.origzlrmzlrm.orig
Dependencies:codetoolsforeachglmnetiteratorslatticeMatrixRcppRcppEigenshapesurvival
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Fair models in machine learning | fairml-package fairml |
Census Income | adult |
Bank Marketing | bank |
Communities and Crime Data Set | communities.and.crime |
Criminal Offenders Screened in Florida | compas |
Drug Consumption | drug.consumption |
Cross-Validation for Fair Models | cv.folds cv.loss cv.unfairness fairml.cv |
Profile Fair Models with Respect to Tuning Parameters | fairness.profile.plot |
Obesity Levels | flchain |
Fair Ridge Regression Model | fgrrm frrm |
German Credit Data | german.credit |
Health and Retirement Survey | health.retirement |
Law School Admission Council data | law.school.admissions |
Extract information from fair.model objects | all.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 Activities | national.longitudinal.survey |
Nonconvex Optimization for Regression with Fairness Constraints | nclm |
Obesity Levels | obesity.levels |
Synthetic data set to test fair models | vu.test |
Zafar's Linear and Logistic Regressions | zlm zlm.orig zlrm zlrm.orig |