Skip to main content

Ethos AI Guardian: Automated bias detection and mitigation for machine learning models.

Project description

Ethos AI Guardian

Ethos AI Guardian is a powerful, automated bias detection and mitigation toolkit for machine learning models. Built specifically for data scientists, it provides a seamless pipeline to identify historical, confounding, and selection biases in your datasets, and mitigates them using state-of-the-art techniques.

Features

  • Automated Bias Detection: Quickly scan datasets for Statistical Parity, Disparate Impact, and Equal Opportunity differences.
  • Deep Contextual Debiasing: Pro-level Tabular Transformers to understand contextual bias in categorical and numerical features.
  • Adversarial Mitigation: Uses an adversarial debiasing architecture to enforce fairness without sacrificing predictive power.
  • Pipelines: Easy-to-use Scikit-Learn style pipelines for integrating into your existing workflow.

Installation

You can install ethos_ai_guardian using pip:

pip install ethos_ai_guardian

Quick Start

import pandas as pd
from ethos_ai_guardian import AntiBiasPipeline

# Load your dataset
df = pd.read_csv("your_data.csv")

# Initialize the pipeline
pipeline = AntiBiasPipeline(model_type='logistic')

# Run automated bias mitigation
results = pipeline.train_and_evaluate(
    df=df, 
    features=['age', 'income', 'education'], 
    sensitive_attr='gender', 
    target_col='approved'
)

print(results["fairness_metrics"])

License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ethos_ai_guardian-0.1.0.tar.gz (18.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ethos_ai_guardian-0.1.0-py3-none-any.whl (23.1 kB view details)

Uploaded Python 3

File details

Details for the file ethos_ai_guardian-0.1.0.tar.gz.

File metadata

  • Download URL: ethos_ai_guardian-0.1.0.tar.gz
  • Upload date:
  • Size: 18.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for ethos_ai_guardian-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ea2eb243d2aa4e9fefa83def67c8e8e9754c2490e1951d3b7686715667ade4d1
MD5 aab42c6145b384780b84b54cd97a6e6e
BLAKE2b-256 2dc4efd1602e25edd34a816f50fbb635a4e6d5061e0a338ae0f2f5c9916ab98d

See more details on using hashes here.

File details

Details for the file ethos_ai_guardian-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ethos_ai_guardian-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d4d9796a3093195090ba8979c4e71f455806cd718bbf2021c08ebf52adc42aa4
MD5 9f1555662b4b0b9dd7f7e33bae88af46
BLAKE2b-256 127cc40c4e8b9d38d6a9c3ee50349dcf8a09ba1b4afcdc4f3635a54cd9f9083e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page