Visualizing the Feature Importance for Black Box Models

Giuseppe Casalicchio, Christoph Molnar, Bernd Bischl
4/18/2018
stat.MLcs.AIcs.LG

Official code: giuseppec/featureImportance (33 stars, R, last commit 2021-05-30).

Abstract

In recent years, a large amount of model-agnostic methods to improve the transparency, trustability and interpretability of machine learning models have been developed. We introduce local feature importance as a local version of a recent model-agnostic global feature importance method.

Show full abstract

Based on local feature importance, we propose two visual tools: partial importance (PI) and individual conditional importance (ICI) plots which visualize how changes in a feature affect the model performance on average, as well as for individual observations. Our proposed methods are related to partial dependence (PD) and individual conditional expectation (ICE) plots, but visualize the expected (conditional) feature importance instead of the expected (conditional) prediction. Furthermore, we show that averaging ICI curves across observations yields a PI curve, and integrating the PI curve with respect to the distribution of the considered feature results in the global feature importance. Another contribution of our paper is the Shapley feature importance, which fairly distributes the overall performance of a model among the features according to the marginal contributions and which can be used to compare the feature importance across different models.

View on arXivView PDF

Code Implementations(1)

An R package to assess feature importance

339RFeb 13, 20185 years agoNOASSERTION

Similar Papers

Cite this paper

@article{casalicchio2018visualizing,
  title  = {Visualizing the Feature Importance for Black Box Models},
  author = {Giuseppe Casalicchio and Christoph Molnar and Bernd Bischl},
  year   = {2018},
  eprint = {1804.06620},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1804.06620}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1804.06620.svg)](https://codeofpaper.com/paper/1804.06620)

Discussion