Open icfly2 opened 3 years ago
As with #397, changing the requirements and setup to require sklearn >= 0.20 would maintain compatibility.
sklearn version bump in requirements.txt and setup.py in #397
Merging #398 (c211550) into master (017c738) will decrease coverage by
23.58%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## master #398 +/- ##
===========================================
- Coverage 97.32% 73.74% -23.59%
===========================================
Files 49 49
Lines 3142 3142
Branches 585 585
===========================================
- Hits 3058 2317 -741
- Misses 44 777 +733
- Partials 40 48 +8
Impacted Files | Coverage Δ | |
---|---|---|
eli5/sklearn/transform.py | 94.28% <100.00%> (-5.72%) |
:arrow_down: |
eli5/keras/gradcam.py | 0.00% <0.00%> (-100.00%) |
:arrow_down: |
eli5/xgboost.py | 4.26% <0.00%> (-95.13%) |
:arrow_down: |
eli5/formatters/image.py | 5.47% <0.00%> (-94.53%) |
:arrow_down: |
eli5/sklearn_crfsuite/explain_weights.py | 7.40% <0.00%> (-92.60%) |
:arrow_down: |
eli5/keras/explain_prediction.py | 4.81% <0.00%> (-91.57%) |
:arrow_down: |
eli5/lightgbm.py | 4.27% <0.00%> (-90.60%) |
:arrow_down: |
eli5/lightning.py | 5.00% <0.00%> (-90.00%) |
:arrow_down: |
eli5/formatters/as_dataframe.py | 5.79% <0.00%> (-89.86%) |
:arrow_down: |
eli5/ipython.py | 11.42% <0.00%> (-88.58%) |
:arrow_down: |
... and 17 more |
Thanks you! This were merged in eli5-org/eli5#2 and released to PyPI with v0.11
Made import compliant with newer API as per warning:
Yes this breaks backward compatibility for sklearn but will allow eli5 to continue to work with the next version of sklearn 0.24