Package: tree.interpreter 0.1.3

tree.interpreter: Random Forest Prediction Decomposition and Feature Importance Measure

An R re-implementation of the 'treeinterpreter' package on PyPI <https://pypi.org/project/treeinterpreter/>. Each prediction can be decomposed as 'prediction = bias + feature_1_contribution + ... + feature_n_contribution'. This decomposition is then used to calculate the Mean Decrease Impurity (MDI) and Mean Decrease Impurity using out-of-bag samples (MDI-oob) feature importance measures based on the work of Li et al. (2019) <doi:10.48550/arXiv.1906.10845>.

Authors:Qingyao Sun [aut, cre]

tree.interpreter_0.1.3.tar.gz
tree.interpreter_0.1.3.zip(r-4.7)tree.interpreter_0.1.3.zip(r-4.6)tree.interpreter_0.1.3.zip(r-4.5)
tree.interpreter_0.1.3.tgz(r-4.6-x86_64)tree.interpreter_0.1.3.tgz(r-4.6-arm64)tree.interpreter_0.1.3.tgz(r-4.5-x86_64)tree.interpreter_0.1.3.tgz(r-4.5-arm64)
tree.interpreter_0.1.3.tar.gz(r-4.7-arm64)tree.interpreter_0.1.3.tar.gz(r-4.7-x86_64)tree.interpreter_0.1.3.tar.gz(r-4.6-arm64)tree.interpreter_0.1.3.tar.gz(r-4.6-x86_64)
tree.interpreter_0.1.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
tree.interpreter/json (API)
NEWS

# Install 'tree.interpreter' in R:
install.packages('tree.interpreter', repos = c('https://nalzok.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/nalzok/tree.interpreter/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

data-sciencedatascienceinterpretabilitymachine-learningrandom-forestcpp

5.78 score 12 stars 8 scripts 201 downloads 53 mentions 9 exports 2 dependencies

Last updated from:a295182b49. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK127
linux-devel-x86_64OK146
source / vignettesOK237
linux-release-arm64OK130
linux-release-x86_64OK132
macos-release-arm64OK164
macos-release-x86_64OK323
macos-oldrel-arm64OK148
macos-oldrel-x86_64OK426
windows-develOK128
windows-releaseOK125
windows-oldrelOK129
wasm-releaseOK113

Exports:featureContribfeatureContribTreeMDIMDIoobMDIoobTreeMDITreetidyRFtrainsetBiastrainsetBiasTree

Dependencies:RcppRcppArmadillo

Calculating MDI and MDI-oob with tree.interpreter

Rendered fromMDI.Rmdusingknitr::rmarkdownon May 16 2026.

Last update: 2019-10-21
Started: 2019-10-20