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

Error when running shapr 1.0.0 #419

Open
juliakro opened this issue Nov 18, 2024 · 2 comments
Open

Error when running shapr 1.0.0 #419

juliakro opened this issue Nov 18, 2024 · 2 comments

Comments

@juliakro
Copy link

Hei,
first of all thank you for a great package.

I was trying to get explanations for my gpboost model with grouped features with shapr 1.0.0. I got the following error trying to run it with the following input parameters.
Screenshot 2024-11-18 at 15 04 23
Screenshot 2024-11-18 at 15 04 35

I also tried with xgboost thinking the problem was with my gpboost prediction function but got the same error message.
I am very grateful for any type of help with this issue.
Many thanks in advance.

@martinju
Copy link
Member

Hi!
Not sure what this is, but I am guessing it has to do with your specific predict_function.
If you can create a fully runnable reproducible example, I can try to take a look.

@juliakro
Copy link
Author

Hei,
when I was trying to run the example on my local computer, there was no error message anymore. Difference between the local computer and the virtual machine were the R versions with 4.3.1 for the local computer vs 4.2.1 for the virtual machine. I wasn't able to test the code on the VM with 4.3.1. as of yet, but I am guessing that might be the problem.

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