ModelOriented / treeshap

Compute SHAP values for your tree-based models using the TreeSHAP algorithm
https://modeloriented.github.io/treeshap/
GNU General Public License v3.0
78 stars 22 forks source link

Fixes for checks, improved implementation for ranger random survival forest #29

Closed krzyzinskim closed 9 months ago

krzyzinskim commented 9 months ago

PR aimed at preparing a new version for CRAN release.

Changes:

codecov-commenter commented 9 months ago

Codecov Report

Merging #29 (f14a490) into master (8ee465f) will increase coverage by 1.61%. Report is 7 commits behind head on master. The diff coverage is 92.85%.

:exclamation: Current head f14a490 differs from pull request most recent head b31ce32. Consider uploading reports for the commit b31ce32 to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

@@            Coverage Diff             @@
##           master      #29      +/-   ##
==========================================
+ Coverage   68.13%   69.74%   +1.61%     
==========================================
  Files          18       19       +1     
  Lines         819      876      +57     
==========================================
+ Hits          558      611      +53     
- Misses        261      265       +4     
Files Coverage Δ
R/treeshap.R 83.33% <ø> (ø)
R/unify_catboost.R 89.33% <100.00%> (ø)
R/unify_gbm.R 97.29% <100.00%> (ø)
R/unify_lightgbm.R 94.00% <ø> (ø)
R/unify_ranger.R 96.77% <100.00%> (+0.34%) :arrow_up:
R/unify_randomForest.R 94.11% <0.00%> (ø)
R/unify_ranger_surv.R 92.59% <92.59%> (ø)