Giter VIP home page Giter VIP logo

swap_auditor's Introduction

Swap Auditor

NELS empirical data analysis fairness.

Notebook

Run through vscode or jupyter to walk through some examples of Stability measures on the original dataset using

Running Metrics and Generating Plots

Below are instructions to replicate the plots we generated. In order to generate our plots, we leveraged the infrastructure built by Friedler et. al. (https://github.com/algofairness/fairness-comparison) for their paper "A comparative study of fairness-enhancing interventions in machine learning." We added our stability metric to their existing metrics, and modified their framework to run with the NELS:88 education dataset. We are thankful that they shared their code, which allowed us to perform many metric comparisons with relatively low effort.

Run Algorithms and Track Metrics

From the top directory, run python fairness/runner.py. Results from the run will appear in: /fairness/data/results/results/

Correlation Plot

To recreate correlation, cd into analysis/correlation-vis. Make sure the proper data files are included in the directory. Then, run: python combine_results_files.py education_Race_original.csv education_Race-Sex_original.csv education_Sex_original.csv education_cor.csv

Other plots

Move the the data files from /fairness/data/results/results/ to /fairness/ Then run: python fairness/runner_analysis.py

swap_auditor's People

Contributors

e-mckinnie avatar lurosenb avatar mnpham0417 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

e-mckinnie

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.