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
I can find examples of scatter plots that show categoricals yet they are label encoded and use the display_features of shap.dependence_plot to simulate categories.
When I create models with categories (with XGBoost or CatBoost), I use 'category' types for the columns.
This fails if I try to create a scatter plot and view the impact of the category.
Issue Description
I can find examples of scatter plots that show categoricals yet they are label encoded and use the
display_features
ofshap.dependence_plot
to simulate categories.When I create models with categories (with XGBoost or CatBoost), I use 'category' types for the columns.
This fails if I try to create a scatter plot and view the impact of the category.
Minimal Reproducible Example
Traceback
Expected Behavior
I would love to see a scatterplot like the
dependence_plot
examples on this page: https://shap.readthedocs.io/en/latest/example_notebooks/tabular_examples/tree_based_models/Census%20income%20classification%20with%20XGBoost.htmlBug report checklist
Installed Versions
0.46.0
The text was updated successfully, but these errors were encountered: