ModelOriented / randomForestExplainer

A set of tools to understand what is happening inside a Random Forest
https://ModelOriented.github.io/randomForestExplainer/
230 stars 37 forks source link

Allow custom output html name via the "path" argument #17

Closed Yue-Jiang closed 5 years ago

Yue-Jiang commented 5 years ago

fixes #16

Usage example

set.seed(2019)
forest_rf_class <- randomForest(Species ~ ., data = iris, localImp = T)
explain_forest(forest_rf_class, interactions = T, data = iris, path = "~/Desktop/forest_rf_class_explained.html")
codecov-io commented 5 years ago

Codecov Report

Merging #17 into master will decrease coverage by 0.26%. The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #17      +/-   ##
==========================================
- Coverage   84.51%   84.25%   -0.27%     
==========================================
  Files           4        4              
  Lines         633      635       +2     
==========================================
  Hits          535      535              
- Misses         98      100       +2
Impacted Files Coverage Δ
R/explain_forest.R 0% <0%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 9b69dbe...4051227. Read the comment docs.