GithubHelp home page GithubHelp logo

alessandro1802 / analysis-of-fairness-measures Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 2.0 35.79 MB

Analysis of (group) fairness measures. How fair can you get under class imbalance. Representation bias and stereotypical bias. Histogram visualizations and analyses.

Python 0.40% Jupyter Notebook 99.60%
balanced-data fairness-ml machine-learning probability visualization

analysis-of-fairness-measures's People

Contributors

aksenyuk avatar alessandro1802 avatar giminosk avatar

Watchers

 avatar  avatar

Forkers

giminosk aksenyuk

analysis-of-fairness-measures's Issues

Plot differences

y = count, x = FM on 0.01, 0.1, 0.5 ... for FM: MinR. GR, SB ... (test e.g equality of % of hires of group1 and group2)

  1. play with the number of bins
  2. normalize y axis to probabilities tricky
  3. find where NULLs occur while computing FMs, count them, keep them out of hists (plot aside) very tricky

Generate confusion matrix data

For a given n generate all possible binary group confusion matrices, e.g for n = 10

TP_m TN_m FP_m FN_m TP_f TNf_ FP_f FN_f
10 0 0 0 0 0 0 0
9 1 0 0 0 0 0 0
... ... ... ... ... ... ... ...

Update readme

Write the goal of the project, mention original repo, add environment set up tutorial.

Create tests

Check if the the data is generated correctly. GR measure may be used.

Compute fairness measures

Precess dataset with appropriate names.
Create functions for computing, make plots (MinR, GR, SB ...).

Add sample data

  1. Populate calculations dir with computation for smaller n as an example.
  2. Come up with a way of storing and accessing the main data remotely.

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.