TeamHG-Memex / eli5

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

Sample weight sliced to work with cross validation, issue #358 #359

Closed rg2410 closed 4 years ago

rg2410 commented 4 years ago

Changes that could fix situation described in issue #358

codecov-io commented 4 years ago

Codecov Report

Merging #359 into master will increase coverage by <.01%. The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #359      +/-   ##
==========================================
+ Coverage   97.32%   97.32%   +<.01%     
==========================================
  Files          49       49              
  Lines        3138     3142       +4     
  Branches      584      585       +1     
==========================================
+ Hits         3054     3058       +4     
  Misses         44       44              
  Partials       40       40
Impacted Files Coverage Δ
eli5/sklearn/permutation_importance.py 100% <100%> (ø) :arrow_up:
rg2410 commented 4 years ago

Thanks for the suggestions @lopuhin, I've added them in the two last commits