Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: Must pass 2-d input. #283

Open
rtzy7 opened this issue Nov 2, 2023 · 1 comment
Open

ValueError: Must pass 2-d input. #283

rtzy7 opened this issue Nov 2, 2023 · 1 comment

Comments

@rtzy7
Copy link

rtzy7 commented Nov 2, 2023

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
Copy link
Owner

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants