You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
shap.plots.bar doesn't seem to use .display_data when plotting which is useful when categorical features have been encoded.
Alternative Solutions
I've added a PR here: #3386 that uses the same logic as the waterfall plot. The feature values will be taken from .display_data if it exists and then tries .data
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
The text was updated successfully, but these errors were encountered:
Problem Description
shap.plots.bar doesn't seem to use
.display_data
when plotting which is useful when categorical features have been encoded.Alternative Solutions
I've added a PR here: #3386 that uses the same logic as the waterfall plot. The feature values will be taken from
.display_data
if it exists and then tries.data
Additional Context
No response
Feature request checklist
The text was updated successfully, but these errors were encountered: