PyCon 2019 in Cleveland, Ohio

Thursday 1:20 p.m.–4:40 p.m. in Room 15

Open the Black Box: an Introduction to Model Interpretability in Python

Kevin Lemagnen


What's the use of sophisticated machine learning models if you can't interpret them? In fact, many industries including finance and healthcare require clear explanations of why a decision is made. This tutorial covers recent model interpretability techniques that are essentials in your data scientist toolbox: Eli5, LIME (Local Interpretable Model-Agnostic Explanations) and SHAP (SHapley Additive exPlanations). You will learn how to apply these techniques in Python on real-world data science problems in order to debug your models and explain their decisions. You will also learn the conceptual background behind these techniques so you can better understand when they are appropriate.

Student Handout

No handouts have been provided yet for this tutorial