Allow for Nans in input of Permutation Importance#381
Allow for Nans in input of Permutation Importance#381Matgrb wants to merge 2 commits intoTeamHG-Memex:masterfrom
Conversation
Codecov Report
@@ Coverage Diff @@
## master #381 +/- ##
===========================================
- Coverage 97.32% 80.58% -16.75%
===========================================
Files 49 49
Lines 3142 3142
Branches 585 585
===========================================
- Hits 3058 2532 -526
- Misses 44 569 +525
- Partials 40 41 +1
|
|
This PR is ready for review |
lopuhin
left a comment
There was a problem hiding this comment.
Thanks @Matgrb PR looks great 👍
But for that I would also need to increase sklearn version in the requirements to at least 0.20.
Yes makes sense, it would need to be updated in setup.py and requirements.txt, and also we'd need to adjust or remove py36-legacy in tox.ini
Codecov Report
@@ Coverage Diff @@
## master #381 +/- ##
===========================================
- Coverage 97.32% 80.58% -16.75%
===========================================
Files 49 49
Lines 3142 3142
Branches 585 585
===========================================
- Hits 3058 2532 -526
- Misses 44 569 +525
- Partials 40 41 +1
|
|
Hi @lopuhin , sorry for the delay. I have implemented the suggestions from your comment. |
|
Thanks you! This were merged in eli5-org/eli5#2 and released to PyPI with v0.11 |
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #381 +/- ##
===========================================
- Coverage 97.32% 80.58% -16.75%
===========================================
Files 49 49
Lines 3142 3142
Branches 585 585
===========================================
- Hits 3058 2532 -526
- Misses 44 569 +525
- Partials 40 41 +1
🚀 New features to boost your workflow:
|
Closes #262
So far i used
force_all_finite=False, but even better would be force_all_finite='allow-nan'. But for that I would also need to increase sklearn version in the requirements to at least 0.20.