Trusted-AI / AIF360

A comprehensive set of fairness metrics for datasets and machine learning models, explanations for these metrics, and algorithms to mitigate bias in datasets and models.
https://aif360.res.ibm.com/
Apache License 2.0
2.46k stars 840 forks source link

Update tutorial_bias_advertising.ipynb #486

Open msdokania opened 1 year ago

msdokania commented 1 year ago

Addresses 1/3rd of #389

anupamamurthi commented 1 year ago

Hi @msdokania

I see that you have added a badge but I am unable to run the notebook.

I see two issues

  1. You will need to pip install aif360 as part of the notebook

Install AIF360 !pip install 'aif360'

  1. you will also need "ad_campaign_data.csv" to be downloaded as part of the notebook. I would recommend using a wget or use python's request module to grab bias-in-advertising.tar.gz
  2. Finally, u will still need code to unarchive the above file to obtain ad_campaign_data.csv