A high school civics curriculum created for Human-Centered Machine Learning (Fall 2020) with Dr. Stevie Chancellor at Northwestern University
This one-week civics curriculum engages high school students in an exploration of machine learning applications through multiple points of entry: learners are guided through some of the histories, challenges, ethics, possibilities and consequences afforded by machine learning. Additionally, we situate the unit within a real-life example: the ProPublica investigation of recidivism prediction with the COMPAS software, alongside an interactive Jupyter notebook and exploratory model of our own.
In structuring our unit, we draw heavily on transformative justice as a guiding pedagogical framework. We’re inspired by the Reparations Won curriculum – developed in collaboration with Chicago Public Schools and the Chicago Torture Justice Memorial Center – which leverages restorative justice practices to guide learners through difficult material.
The curriculum is composed of two key components:
- The Faciliator Curriculum Unit Slides, meant to be adaptable to hybrid- or online-learning scenarios
- The WOKE ML Lab Jupyter notebook
A detailed explanation of our theory, metholodology, and user study supporting this curriculum can be found in our Association for Computing Machinery (ACM) workshop pre-print:
The Jupyter notebook for this curriculum was tested with Python 3.7 - 3.8 on MacOS. We recommend the instructor or teaching assistants walk through the installation steps with the students, or complete the installation ahead of classtime.
- Go to the
Applications
folder on your computer, and openTerminal
to access the commandline - Enter the command
brew install graphviz
to use Homebrew to installgraphviz
on Mac OS (see here if you don't have Homebrew installed) - In the Terminal, navigate to the directory you want to install the workshop files to by running the command
cd <directory_path>
. For example, if I wanted to download everything to my Desktop, I'd runcd ~/Desktop
- Now you should be in the right directory! Run
pwd
to ensure you're in the directory you want to be in - Great! Pull down the workshop files by running
git clone https://github.com/vbursztyn/hcml-fairml-curriculum.git
- Run
ls
, this lists the files in the directory you're in. You should see the hcml-fairml-curriculum folder cd
into the folder by runningcd hcml-fairml-curriculum
- Now, run
pip install -r requirements.txt
to install Python dependencies to the environment of your choice. We'd recommend setting up a virtual environment - Run
jupyter nbextension enable --py widgetsnbextension
to make sure interactive widgets are enabled - Run
jupyter notebook
to run Jupyter from the main folder - Execute notebook
WOKE ML Lab.ipynb
to run the lab and interact with the decision tree
References: