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

Drop NaN before partial dependence grid generation #3235

Merged
merged 4 commits into from
Jan 13, 2022

Conversation

freddyaboulton
Copy link
Contributor

@freddyaboulton freddyaboulton commented Jan 12, 2022

Pull Request Description

Fixes #3226

Model understanding perf tests here:
report.html.zip


After creating the pull request: in order to pass the release_notes_updated check you will need to update the "Future Release" section of docs/source/release_notes.rst to include this pull request by adding :pr:123.

@codecov
Copy link

codecov bot commented Jan 12, 2022

Codecov Report

Merging #3235 (1e88d65) into main (d174eda) will increase coverage by 0.1%.
The diff coverage is 100.0%.

Impacted file tree graph

@@           Coverage Diff           @@
##            main   #3235     +/-   ##
=======================================
+ Coverage   99.8%   99.8%   +0.1%     
=======================================
  Files        326     326             
  Lines      31395   31405     +10     
=======================================
+ Hits       31304   31314     +10     
  Misses        91      91             
Impacted Files Coverage Δ
evalml/model_understanding/_partial_dependence.py 98.8% <100.0%> (+0.1%) ⬆️
...del_understanding_tests/test_partial_dependence.py 100.0% <100.0%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d174eda...1e88d65. Read the comment docs.

@freddyaboulton freddyaboulton force-pushed the 3226-nan-feature-values-part-dep branch 2 times, most recently from 78d38ee to 2f83e52 Compare January 13, 2022 15:21
@freddyaboulton freddyaboulton marked this pull request as ready for review January 13, 2022 18:55
Copy link
Contributor

@chukarsten chukarsten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, Freddy!

Copy link
Contributor

@eccabay eccabay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@freddyaboulton freddyaboulton enabled auto-merge (squash) January 13, 2022 21:01
@freddyaboulton freddyaboulton merged commit 2dd2e3f into main Jan 13, 2022
@freddyaboulton freddyaboulton deleted the 3226-nan-feature-values-part-dep branch January 13, 2022 22:05
@chukarsten chukarsten mentioned this pull request Jan 18, 2022
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

Successfully merging this pull request may close these issues.

Partial Dependence Returns all nan feature_values when input data has NaN
3 participants