Skip to content

a tutorial about model decision interpretability

License

Notifications You must be signed in to change notification settings

Shaboodi/right_but_why

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Right, but Why?!

THINKING

This was a 3 hours workshop on machine learning model interpretation conducted on May 27, 2018 in the Data Science Summit 2018 Workshop day in the IDC, Herzliya.

Authors

  • First Session: Hanan Shteingart, PhD
  • Second Session: Yigal Wienberger

Table of Content

A. Interpretable Models, by Hanan Shteingart, PhD

  1. Introduction slides - talks about the motivation for this workshop: when you want to be able to understand why the model has predicted what ever it has predicted.
  2. Naive Bayes notebook - a naive bayes multinomial classifier interpretation example on a newsgroups 20 dataset. It shows how one can easily compute $P(class=c|feature x_i)$ thus marking words supporting the true and predicted classes.
  3. Tree Ensemble notebook - random forest is commonly regarded as blackbox. This is false. One can use decision paths in order to learn about the contribution of each feature to the final decision. I will show how this method can be used on the iris data set.
  4. Linear pitfalls notebook - many believe a linear model is easily interpertable. However, linear coefficient are far from intuitive. Specifically, coefficient are sensitive to scaling. However, even if you normalize your features, due to mulitcolinearity, features which are positively correlated with the class may end up having a negative coefficient and vice versa. I show how can the importance of each feature can be estimated using bootstrap shuffeling.

B. Black Box approach using LIME, by Yigal Wienberger

  1. Deck: Peering into the blackbox
  2. notebooks:
    1. MI as the product
    2. MI for Ethics
    3. MI for model improvement

About

a tutorial about model decision interpretability

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published