-
Notifications
You must be signed in to change notification settings - Fork 851
ODSC Immersive AI 2019 Tutorial
Date: Fri, June 28, 2019
Time: 12:45 PM - 3:45 PM
Location: New York City, New York
Presenters: Samuel C. Hoffman, Kush R. Varshney, Yunfeng Zhang
Conference link
Please join the slack channel dedicated to this tutorial
- Join the AIF360 slack channel: Instructions
- Subscribe to the #odsc-tutorial-2019 channel. You can do this by clicking on the "channels" word and searching for "odsc-tutorial-2019"
The slack channel contains important information to aid you with this hands-on tutorial, including the installation files we will be using for the tutorial. Thanks!
In the following, we will describe how to install the AI Fairness 360 (AIF360) toolkit on Windows, Linux, or MacOS systems for the purposes of the ODSC Immersive AI Session. Please ask any questions in the slack channel or to an instructor.
- Anaconda
- Access to command prompt/terminal
This guide will only cover installation via Anaconda. See previous installation guides for other cases. To see if you already have Anaconda installed try
conda help
If not, download Miniconda from the link above.
- Create and activate a new conda environment
conda create -n aif360 python=3.5.6
conda activate aif360
(older versions of conda may use source activate aif360
). The shell should now look like:
(aif360)$ _
To exit this environment, use:
conda deactivate
Do not deactivate until you are finished doing experiments with AIF360. The conda environment keeps dependencies we install separate from the rest of the machine so we can install and uninstall packages without affecting other projects. However, they will only be available when the environment is activated.
- Install the latest stable version of AIF360
pip install aif360
- Download the
tutorial_files.zip
from the #odsc-tutorial-2019 channel on slack.
Unzip it and enter the tutorial_files
directory, i.e.:
Windows:
cd C:\Users\%USERNAME%\Downloads\tutorial_files
Linux/MacOS
cd ~/Downloads/tutorial_files
- Run the
copy_datasets.py
script which will copy the necessary datasets to the correct location in the AIF360 toolbox.
python copy_datasets.py
NOTE: By running this script, you acknowledge the responsibility for reading and abiding by any copyright/usage rules and restrictions as stated on the corresponding links:
- Adult / Census Income
- German Credit Data
- ProPublica Recidivism/COMPAS
- Medical Expenditure Panel Survey (MEPS)
- Install additional dependencies
pip install --upgrade numpy
pip install -r requirements.txt
Enjoy!