interpretml / DiCE

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

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

Closed gaugup closed 1 year ago

gaugup commented 1 year 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 1 year 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 1 year 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!.