shap / shap

A game theoretic approach to explain the output of any machine learning model.

Home Page:https://shap.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ENH: Display worst features with barplot

oasidorshin opened this issue · comments

Problem Description

Current plotting tools focus on showing top performing features. A lot of times in practice you also uses SHAP to find and remove some useless or badly performing features.

Even trying to use some workarounds I couldn't display the worst features using current plot tools, and ended up resorting to just displaying all features, and scrolling to the bottom.

Possible interfaces would be either additional parameter descending=False, or negative indexing with something like max_display=-20.

Alternative Solutions

No response

Additional Context

No response

Feature request checklist

  • I have checked the issue tracker for duplicate issues.
  • I'd be interested in making a PR to implement this feature