-
Notifications
You must be signed in to change notification settings - Fork 4
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
"compute_all_importances_cy" data type mismatch #3
Comments
Hi, I just ran the notebook again but I didn't encounter the same issue, could you please try again with the latest notebook in the readme file? If the error persists, I can look deeper into this. Best regards, |
Hi @xzyaoi , I still have the same problem with the new version. In the demo notebook when the line: |
@babak-1990 Interesting, I still cannot reproduce this error, even with a newly created colab environment (see https://colab.research.google.com/drive/1RdArqm0ZpYR_Tq5rKMDu8U7KxsgNEhNl#scrollTo=8b974636-7c3e-4b82-8401-ff541a47a002). I am now thinking this is due to your local compiler, which may have a different behavior about However, I don't have a Windows PC at hand, could you please try to change the If it works please let me know so I can release a stable fix on this. If it doesn't please also feel free to reach out! Best regards, |
Hi @xzyaoi, I already read this potential solution and I tried to fix it by assigning different DTYPE but it didn't work out. My local computer OS is windows. you are right this is due to my local compiler. Changing this line https://github.com/easeml/datascope/blob/main/datascope/importance/shapley_cy.pyx#L30? won't fix the problem because the error happens before entering function In that time, I though maybe changing lines
and
will fix the problem but it didn't. |
@babak-1990, Thanks for your reply! I can reproduce this error with a Windows Setup. I am trying to fix this error, and it should be soon. I will update here if I made a progress :) |
Thanks for this great library. I followed the instruction in readme.md file and run the setup.
I get the following error when trying to test on the notebook "DataScope-Demo-1.ipynb":
It seems there is an issue with type when calling the compute_all_importances_cy function. It expects integer but receives float(double?).
I tried to modify compute_all_importances_cy in shapley_cy.pyx but I had no luck to fix this bug.
The text was updated successfully, but these errors were encountered: