MAIF / shapash

🔅 Shapash: User-friendly Explainability and Interpretability to Develop Reliable and Transparent Machine Learning Models
https://maif.github.io/shapash/
Apache License 2.0
2.71k stars 331 forks source link

Can't display xpl.plot.contribution_plot() when missing data #489

Closed ThomasBouche closed 1 year ago

ThomasBouche commented 1 year ago

When the column contains missing data, the contribution_plot is not displayed. What's more, when using the webapp, nothing happens when we click on this column and we get an error log in the notebook (if the webapp is launched from a notebook).

This error occurs with the feature "MasVnrType" of dataset house price

xpl.plot.contribution_plot(col="MasVnrType")

image

Python version :3.10

Shapash version :2.3.5

Operating System :Linux