Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Jupyter Notebook
Python
Permalink
| Failed to load latest commit information. | |||
|
|
.gitignore |
|
|
|
|
Compas Analysis.ipynb |
|
|
|
|
Cox with interaction term and independent variables.ipynb |
|
|
|
|
README |
|
|
|
|
compas-scores-raw.csv |
|
|
|
|
compas-scores-two-years-violent.csv |
|
|
|
|
compas-scores-two-years.csv |
|
|
|
|
compas-scores.csv |
|
|
|
|
compas.db |
|
|
|
|
cox-parsed.csv |
|
|
|
|
cox-violent-parsed.csv |
|
|
|
|
truth_tables.py |
|
|
README
Low High
+---------+
Didn't Reoffend |____|____|
Reoffended | | |
+---------+
This repository contains a Jupyter notebook and data for the ProPublica story "Machine Bias."
Story:
https://www.propublica.org/article/machine-bias-risk-assessments-in-criminal-sentencing/
Methodology:
https://www.propublica.org/article/how-we-analyzed-the-compas-recidivism-algorithm/
Notebook (you'll probably want to follow along in the methodology):
https://github.com/propublica/compas-analysis/blob/master/Compas%20Analysis.ipynb
Main Dataset:
compas.db - a sqlite3 database containing criminal history, jail and prison time, demographics and COMPAS risk scores for defendants from Broward County.
Other files as needed for the analysis.