Skip to main content

Using fuzzy-rough sets to measure bias in pattern classification problems

This python package contains a bias metric based on the paper "A fuzzy-rough uncertainty measure to discover bias encoded explicitly or implicitly in features of structured pattern classification datasets" (Link to publication).

This bias metric measures the extent to which a feature in a dataset influences the outcome variable.

fairfru (see here) is a Python package providing algorithms able to quantify fairness in automated decision making using the fuzzy-rough set theory.

Installation

Use the package manager pip to install FairFRU.

pip install fairfru

Usage

import fairfru

See the Measuring_bias.ipynb file for an example of how to use this approach.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

Metadata

Release files for fairfru 1.9.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fairfru 1.9.2
File Size Uploaded Provenance
fairfru-1.9.2.tar.gz 8.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for fairfru 1.9.2
File Interpreter ABI Platform
fairfru-1.9.2-py3-none-any.whl Python 3 none any Details

Total release size: 17.0 kB

Release files / fairfru-1.9.2.tar.gz

Download URL fairfru-1.9.2.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
37df9be9059484e020e37b269c7a2d540875b46b489c24336998d7e524d296b4
BLAKE2b-256 checksum
How to use checksums
25d29778b68d5cbd037b575055d34a072bc2e442993b0ee596d517dfcfa47620
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release files / fairfru-1.9.2-py3-none-any.whl

Download URL fairfru-1.9.2-py3-none-any.whl
Size 8.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6895f01eb70ffcb8bd07bcac627e15a3dcbded5b286be93524db3d1551ecb712
BLAKE2b-256 checksum
How to use checksums
d2d97d2075a13c3c1345ef3a9d0c55f119394a0968b0b48b5873ad2bb7df631c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Security for fairfru 1.9.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.9.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page