Observed since 20 Oct, 20:26 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
A library for detecting and mitigating bias in machine learning models, with a focus on interoperability with scikit-learn, Pandas, and PyTorch.
This library provides a set of tools for measuring and improving fairness in machine learning models, covering a variety of fairness metrics, pre-processing, in-processing, and post-processing techniques.
Complete Workflow Example Notebook
The library will provide some fairness metrics to perform various analyses. Plus a number of pre-processing, in-processing and post-processing algorithms.
Overview of the project structure:
<root directory>
├── fairlib/ # Main package for the project
│ ├── __init__.py # Package marker
│ ├── metrics/ # Fairness metrics implementations
│ ├── preprocessing/ # Pre-processing techniques for fairness
│ └── inprocessing/ # In-processing debiasing algorithms
├── tests/ # Unit tests for the library
│ ├── metrics/ # Unit tests for fairness metrics
│ ├── preprocessing/ # Unit tests for pre-processing methods
│ └── inprocessing/ # Unit tests for in-processing techniques
├── examples/ # Jupyter notebooks with examples
├── .github/ # GitHub workflows for CI/CD
│ └── workflows/
│ ├── test.yml # Run tests on multiple Python versions
│ └── deploy.yml # Deploy to PyPI if tests succeed
├── pyproject.toml # Project configuration file managed by Poetry
├── LICENSE # License file (Apache 2.0 by default)
├── README.md # Project documentation (this file)
├── renovate.json # Configuration of Renovate bot, for automatic dependency updates
├── requirements.txt # Only declares a dependency on Poetry. DO NOT EDIT THIS FILE
└── release.config.js # Script to release on PyPi, and GitHub via semantic-release
pip install -r requirements.txt
poetry install
poetry run poe test
Tests are automatically run in CI, on all pushes on all branches. There, tests are executed on multiple OS (Win, Mac, Ubuntu) and on multiple Python versions.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 2.8.2 | 22 Jun 2025 | 7 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 20:26 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:7a563c831f72d6c8f854f3b0d407aa45aaff89ee74bf7d347e3733af61e7cc88