TeamHG-Memex / eli5

A library for debugging/inspecting machine learning classifiers and explaining their predictions
http://eli5.readthedocs.io
MIT License
2.75k stars 331 forks source link

Fix #298 Handle removal of sklearn randomized l1 models #302

Closed teabolt closed 5 years ago

teabolt commented 5 years ago

Fixes #298 Wrap import and decorators in a try-except block.

codecov-io commented 5 years ago

Codecov Report

Merging #302 into master will decrease coverage by 0.06%. The diff coverage is 71.42%.

@@            Coverage Diff             @@
##           master     #302      +/-   ##
==========================================
- Coverage   97.26%   97.19%   -0.07%     
==========================================
  Files          44       44              
  Lines        2851     2854       +3     
  Branches      541      541              
==========================================
+ Hits         2773     2774       +1     
- Misses         41       43       +2     
  Partials       37       37
Impacted Files Coverage Δ
eli5/sklearn/transform.py 94.28% <71.42%> (-5.72%) :arrow_down: