interpretml / DiCE

Generate Diverse Counterfactual Explanations for any machine learning model.
https://interpretml.github.io/DiCE/
MIT License
1.3k stars 183 forks source link

Raise user error when any of the query instances has missing values #403

Closed gaugup closed 9 months ago

gaugup commented 9 months ago

Looks like missing values in query instances cause weird failures when attempting to do predict()/predict_proba(). Hence, asking the user to impute the values for missing values.

github-actions[bot] commented 9 months ago

Unit Test Results

288 tests  ±0   278 :heavy_check_mark: ±0   4m 59s :stopwatch: +4s     1 suites ±0     10 :zzz: ±0      1 files   ±0       0 :x: ±0 

Results for commit 623ac9cc. ± Comparison against base commit e5d2e279.

:recycle: This comment has been updated with latest results.

codecov-commenter commented 9 months ago

Codecov Report

Patch coverage is 100.00% of modified lines.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Files Changed Coverage
dice_ml/explainer_interfaces/explainer_base.py 100.00%

:loudspeaker: Thoughts on this report? Let us know!.