Skip to content

Repository files navigation

Gender Bias Mitigation in Income Prediction

Project Overview

This project demonstrates a novel approach to mitigating gender bias in machine learning models using dynamic dataset augmentation. Utilizing the Adult Income dataset, the code implements a machine learning pipeline that:

  • Loads and preprocesses income prediction data
  • Detects and quantifies gender bias in the dataset
  • Develops a dynamic augmentation strategy to reduce bias
  • Trains and evaluates models with and without bias mitigation
  • Generates visualizations to compare model fairness

How To Run

  1. Clone the repository
  2. Create a virtual environment (recommended):
python -m venv venv
source venv/bin/activate  #Activate on windows with `venv\Scripts\activate`
  1. Install Dependencies
pip install -r requirements.txt 
  1. Run
python main.py 

Example Results

fairness_metrics

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages