oegedijk / explainerdashboard

Quickly build Explainable AI dashboards that show the inner workings of so-called "blackbox" machine learning models.
http://explainerdashboard.readthedocs.io
MIT License
2.32k stars 332 forks source link

ValueError: Must pass 2-d input. #283

Open rtzy7 opened 1 year ago

rtzy7 commented 1 year ago

image image

Hi, the model I'm using is a lightgbm regression model but I'm getting an error with the shape of the get_shap_values_df method presumably.

This works fine with the original shap library, I am able to generate plots perfectly fine.

Does anyone know how I can solve this? Thank you.

oegedijk commented 11 months ago

Do you have more of the original stack trace? A bit hard to figure out where it went wrong from here. Also why are you not passing any labels y?