-
-
Notifications
You must be signed in to change notification settings - Fork 168
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
Error when examining aggregated SHAP values in R using tidymodels #570
Comments
@hbaniecki I see there is an Inavalid! label added to my post. Have I posted incorrectly? |
Hi, thanks for raising the issue. Invalid is meant to denote a bug / something not working as intended. |
Oh I understand now. As you might guess, I am an enthusiastic amateur in this world. I am a medical doctor exploring machine learning in Critical Care. Thank you for clarifying! |
@hbaniecki According to https://docs.github.com/en/issues/using-labels-and-milestones-to-track-work/managing-labels, "invalid" means that the issue/PR is no longer relevant. Maybe we can replace it by "Bug"? |
Labels are described in https://github.com/ModelOriented/DALEX/labels and you can hover over them to read the description. I wouldn't change their names, even if only because it will override labels on all previous issues. |
Hi @e05bf027 Thank you for raising the issue. Unfortunately, I'm afraid that without a reproducible example, I won't be able to help. I've tried to create a parsnip C5 model using some dummy dataset, and it worked without any issue both using DALEXtra and the custom function you've provided
can you please provide some more details about your issue? |
I have trained and fitted a C5.0 model with adaptive boosting to predict a binary outcome. This was performed using
tidymodels
and theparsnip
package.I am now trying to evaluate the model in more detail using
DALEX
andDALEXtra
.The outcome variable is "yes/no" so I have converted these to binary "1/0". I have created an explainer using the following code with the
DALEXtra
package:I have also created an explainer using only the
DALEX
package, and encounter the exact same issue:These run without error. However, when I try to run a command to interrogate additive SHAP values I get the following error:
Error message is always the same, no matter what I try:
I have tried processing the data slightly differently, tried using the training data (rather than test), etc. The error message is always this way so I assume I am making a fairly fundamental error. I cannot understand why I am getting this error.
Does anyone reading this have any idea?
The text was updated successfully, but these errors were encountered: