sdmdl
sdmdl copied to clipboard
SHAP version 0.30.0 value error
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.