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

SHAP version 0.30.0 value error #238

Open
LMVaskimo opened this issue Jun 30, 2021 · 0 comments
Open

SHAP version 0.30.0 value error #238

LMVaskimo opened this issue Jun 30, 2021 · 0 comments

Comments

@LMVaskimo
Copy link
Collaborator

When running SDMDL, there is a very small chance of running into the following error:

ValueError: minvalue must be less than or equal to maxvalue 
in: color.py, cm.py, collections.py, artist.py

This error occurs in sdmdl/trainer.py, on lines 235-239 and/or 242-246 when figures are created in the validate_model function.

This traces back to SHAP being unable to create a figure using matplotlib, as features contribute to the model outcome equally.
This is fixed in SHAP version 0.34 and onwards, however, updating to this version would break the SDMDL package even further.

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

1 participant