Skip to content

fairml

0.9.1Package record

Fair Models in Machine Learning

1packages dependsuggested by 2
29.8Kdownloads / year
–test coverage
7/13flavors OK

Overview

About

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) doi:10.1007/s11222-022-10143-w that uses ridge regression to enforce fairness.

Install

Health

CRAN checks
1WARNING5NOTE7OK
Check messages
WARNINGdependencies in R coder-oldrel-macos-x86_64
Missing or unexported object: ‘CVXR::status’
NOTEdependencies in R coder-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64

r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Base package in Suggests/Enhances imported in NAMESPACE:
  ‘parallel’

r-devel-windows-x86_64

Base package in Suggests/Enhances imported in NAMESPACE:
  'parallel'

CRAN check page ↗

Slowest check: 2.4 min · r-oldrel-macos-x86_64
Status changes
  • WARNING7 OK, 5 NOTE, 1 WARNINGNow
  • WARNING10 OK, 4 WARNING2026-03-10
Advisories

none known

Documentation

In release 0.9.1
READMENoVignettesNoNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
20includes a package overview page
Examples that run
100%14 run in a plain check
Exported functions with examples
40%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
75%

Downloads

29.8K
CRAN downloads in the past year
Rank #2,600 · ~82/day · ~2.5K/mo
Daily download trend is not available in this view yet.
2K30 days
6.1K90 days
29.8K1 year
Compare downloads with other packages →
Also on128 r2u4 autocran

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)

Installing fairml adds 6 packages (3 with compiled code, 7.2 MB of source tarballs). Heaviest: glmnet 2.7 MB, Rcpp 1.8 MB, RcppEigen 1.7 MB.

Depends (1)
R >= 3.5.0
Imports (2)
methodsglmnet
LinkingTo (0)
none
Suggests (6)
latticegridExtraparallelcccpCVXRsurvival
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Depends 1
Suggested by 2
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (1)
Author, Maintainer since 0.2 (2020)
Releases (12)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.9.1Latest
    record
    2026-03-09 · current release · diff ↗
  • 0.9
    record
    2025-04-30 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.8
    record
    2023-05-14 · diff ↗ ·
    added 2 exports
    zlm.orig, zlrm.orig
  • R
    R 4.3.0 released · 2023-04-21
  • 0.7
    record
    2022-09-10 · diff ↗
  • 0.6.3
    record
    2022-05-09 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.6.2
    record
    2022-04-14 · diff ↗
  • 0.6.1
    record
    2022-01-24 · diff ↗
  • 0.6
    record
    2021-08-09 · diff ↗ ·
    added 2 exports
    fgrrm, zlm
  • 0.5
    record
    2021-06-16 · diff ↗ ·
    added 1 export
    zlrm
  • R
    R 4.1.0 released · 2021-05-18
  • 0.4
    record
    2021-04-15 · diff ↗ ·
    removed 1 export
    loss
    added 4 exports
    frrm, cv.loss, cv.unfairness, cv.folds
Show 3 earlier eventsHide 3 earlier events
  • 0.3
    record
    2020-09-09 · diff ↗ ·
    added 2 exports
    fairml.cv, loss
  • 0.2
    record
    2020-08-06
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2020-08-06
Total releases
12 / 6 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.5.0
Bundled data
2.5 MB / 11 files
Download size
2.3 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("fairml")
Scutari, M. (2026). fairml: Fair Models in Machine Learning (Version 0.9.1) [Computer software]. https://doi.org/10.32614/CRAN.package.fairml

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for fairml version 0.9.1 [Data set]. HJJB, LLC. Data release v2026-10-26. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy