{
  "_id": "6acdfbefa14063b82c3adf1e",
  "Package": "tree.interpreter",
  "Type": "Package",
  "Title": "Random Forest Prediction Decomposition and Feature Importance\nMeasure",
  "Version": "0.1.3",
  "Date": "2025-09-18",
  "Authors@R": "person(given = \"Qingyao\",\nfamily = \"Sun\",\nrole = c(\"aut\", \"cre\"),\nemail = \"sunqingyao19970825@gmail.com\")",
  "Description": "An R re-implementation of the 'treeinterpreter' package on\nPyPI <https://pypi.org/project/treeinterpreter/>. Each\nprediction can be decomposed as 'prediction = bias +\nfeature_1_contribution + ... + feature_n_contribution'. This\ndecomposition is then used to calculate the Mean Decrease\nImpurity (MDI) and Mean Decrease Impurity using out-of-bag\nsamples (MDI-oob) feature importance measures based on the work\nof Li et al. (2019) <doi:10.48550/arXiv.1906.10845>.",
  "Encoding": "UTF-8",
  "License": "MIT + file LICENSE",
  "RoxygenNote": "7.0.2",
  "URL": "https://github.com/nalzok/tree.interpreter",
  "BugReports": "https://github.com/nalzok/tree.interpreter/issues",
  "VignetteBuilder": "knitr",
  "Repository": "https://nalzok.r-universe.dev",
  "Date/Publication": "2025-09-18 11:54:52 UTC",
  "RemoteUrl": "https://github.com/nalzok/tree.interpreter",
  "RemoteRef": "HEAD",
  "RemoteSha": "a295182b4937d223018a10f1a18f2fd327804b1b",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-13 09:19:17 UTC",
    "User": "root"
  },
  "Author": "Qingyao Sun [aut, cre]",
  "Maintainer": "Qingyao Sun <sunqingyao19970825@gmail.com>",
  "_user": "nalzok",
  "_type": "src",
  "_file": "tree.interpreter_0.1.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/1f3c6845bde464e206f63dd67c9e16f105bcb3fb9956be2da318e5e26ded7e13",
  "_filesize": 162169,
  "_sha256": "1f3c6845bde464e206f63dd67c9e16f105bcb3fb9956be2da318e5e26ded7e13",
  "_expires": "2027-01-21T09:37:49.000Z",
  "_created": "2026-10-13T09:19:17.000Z",
  "_published": "2026-10-13T09:37:51.152Z",
  "_buildurl": "https://github.com/r-universe/nalzok/actions/runs/38375086345",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 115222804185,
      "time": 123,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11800698282"
    },
    {
      "job": 115222803970,
      "time": 170,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11800629434"
    },
    {
      "job": 115222804201,
      "time": 125,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11800524655"
    },
    {
      "job": 115222804230,
      "time": 137,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11801470914"
    },
    {
      "job": 115222804063,
      "time": 119,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11802205154"
    },
    {
      "job": 115222804227,
      "time": 378,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11801835826"
    },
    {
      "job": 115222804150,
      "time": 116,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11802026811"
    },
    {
      "job": 115222804066,
      "time": 309,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11801481665"
    },
    {
      "job": 115221472974,
      "time": 201,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11801505445"
    },
    {
      "job": 115222804127,
      "time": 96,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11801086473"
    },
    {
      "job": 115222804029,
      "time": 339,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11801760880"
    },
    {
      "job": 115222804026,
      "time": 151,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11800544533"
    },
    {
      "job": 115222804019,
      "time": 110,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11800847316"
    },
    {
      "job": 115222804020,
      "time": 338,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11801466768"
    },
    {
      "job": 115222804009,
      "time": 115,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11801086520"
    }
  ],
  "_upstream": "https://github.com/nalzok/tree.interpreter",
  "_commit": {
    "id": "a295182b4937d223018a10f1a18f2fd327804b1b",
    "author": "Qingyao Sun <qs234@cornell.edu>",
    "committer": "Qingyao Sun <qs234@cornell.edu>",
    "message": "Fix warning: Using fallback compilation with Armadillo 14.6.3. Please consider defining -DARMA_USE_CURRENT. See GitHub issue #475 for more.\n",
    "time": 1758196492
  },
  "_maintainer": {
    "name": "Qingyao Sun",
    "email": "sunqingyao19970825@gmail.com",
    "login": "nalzok",
    "description": "Numerical linear algebra fanboy",
    "uuid": 13443062
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.2",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Suggests"
    },
    {
      "package": "randomForest",
      "role": "Suggests"
    },
    {
      "package": "ranger",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 2.1.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    }
  ],
  "_owner": "nalzok",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "data-science",
    "datascience",
    "interpretability",
    "machine-learning",
    "random-forest",
    "cpp"
  ],
  "_stars": 12,
  "_contributors": [
    {
      "user": "nalzok",
      "count": 58,
      "uuid": 13443062
    },
    {
      "user": "mnwright",
      "count": 1,
      "uuid": 9598192
    }
  ],
  "_userbio": {
    "uuid": 13443062,
    "type": "user",
    "name": "Qingyao Sun",
    "followers": 98,
    "description": "Numerical linear algebra fanboy"
  },
  "_downloads": {
    "count": 399,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/tree.interpreter"
  },
  "_mentions": 53,
  "_devurl": "https://github.com/nalzok/tree.interpreter",
  "_searchresults": 13,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/tree.interpreter.html",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/nalzok/tree.interpreter",
  "_realowner": "nalzok",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2019-10-30"
    },
    {
      "version": "0.1.1",
      "date": "2020-02-05"
    },
    {
      "version": "0.1.3",
      "date": "2025-09-18"
    }
  ],
  "_exports": [
    "featureContrib",
    "featureContribTree",
    "MDI",
    "MDIoob",
    "MDIoobTree",
    "MDITree",
    "tidyRF",
    "trainsetBias",
    "trainsetBiasTree"
  ],
  "_help": [
    {
      "page": "featureContrib",
      "title": "Feature Contribution",
      "topics": [
        "featureContrib",
        "featureContribTree"
      ]
    },
    {
      "page": "MDIoob",
      "title": "Debiased Mean Decrease in Impurity",
      "topics": [
        "MDIoob",
        "MDIoobTree"
      ]
    },
    {
      "page": "MDI",
      "title": "Mean Decrease in Impurity",
      "topics": [
        "MDI",
        "MDITree"
      ]
    },
    {
      "page": "tidyRF",
      "title": "Tidy Random Forest",
      "topics": [
        "tidyRF"
      ]
    },
    {
      "page": "trainsetBias",
      "title": "Trainset Bias",
      "topics": [
        "trainsetBias",
        "trainsetBiasTree"
      ]
    },
    {
      "page": "tree.interpreter",
      "title": "Random Forest Prediction Decomposition and Feature Importance Measure",
      "topics": [
        "tree.interpreter"
      ]
    }
  ],
  "_readme": "https://github.com/nalzok/tree.interpreter/raw/HEAD/README.md",
  "_rundeps": [
    "Rcpp",
    "RcppArmadillo"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "MDI.Rmd",
      "filename": "MDI.html",
      "title": "Calculating MDI and MDI-oob with tree.interpreter",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Saabas's Prediction Interpretation Algorithm",
        "MDI in $f_{T, k}(X)$",
        "MDI-oob in $f_{T, k}(X)$",
        "MDI and MDI-oob of the forest",
        "Examples",
        "Regression",
        "Classification",
        "References"
      ],
      "created": "2019-10-20 12:22:35",
      "modified": "2019-10-21 16:09:45",
      "commits": 4
    }
  ],
  "_score": 5.892094602690481,
  "_indexed": true,
  "_nocasepkg": "tree.interpreter",
  "_universes": [
    "nalzok"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-10-13T09:21:30.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "a295182b4937d223018a10f1a18f2fd327804b1b",
      "fileid": "https://r2.ropensci.org/68a1cbaaf5f3162028e3c0ce3d2c3e644e92a3c863cc1e71ca2113eee4eb2f8d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nalzok/actions/runs/38375086345"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-10-13T09:22:09.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "a295182b4937d223018a10f1a18f2fd327804b1b",
      "fileid": "https://r2.ropensci.org/e61bbc1efc37baaf48e4daa5b1ac71f06c946ae69386482e149086c25e057422",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nalzok/actions/runs/38375086345"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-10-13T09:21:32.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "a295182b4937d223018a10f1a18f2fd327804b1b",
      "fileid": "https://r2.ropensci.org/6a2acb53a1d780d2ef45f9ee04c4cb0efdd32f94d42dc46cd2d2030f14327ee6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nalzok/actions/runs/38375086345"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-10-13T09:21:45.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "a295182b4937d223018a10f1a18f2fd327804b1b",
      "fileid": "https://r2.ropensci.org/426ad575c76ffac46402234feed8b0a61175d9ddbaaf9f3864c1b3c97d65a5b9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nalzok/actions/runs/38375086345"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-10-13T09:37:03.000Z",
      "arch": "aarch64",
      "commit": "a295182b4937d223018a10f1a18f2fd327804b1b",
      "fileid": "https://r2.ropensci.org/d29439c115e62b4f9861825f6b5869d6accdb8976902c07d9e1ef0882a116b05",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nalzok/actions/runs/38375086345"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-10-13T09:26:48.000Z",
      "arch": "x86_64",
      "commit": "a295182b4937d223018a10f1a18f2fd327804b1b",
      "fileid": "https://r2.ropensci.org/a7df737608123419d6502b73bf883a14081bf6b86a454502bb4188ef7f142c08",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nalzok/actions/runs/38375086345"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-10-13T09:35:41.000Z",
      "arch": "aarch64",
      "commit": "a295182b4937d223018a10f1a18f2fd327804b1b",
      "fileid": "https://r2.ropensci.org/bd6e3adc0faf2bd0c0ba694281b53d92eb2451ba849b0e5a3caa4e706d553bce",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nalzok/actions/runs/38375086345"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-10-13T09:25:52.000Z",
      "arch": "x86_64",
      "commit": "a295182b4937d223018a10f1a18f2fd327804b1b",
      "fileid": "https://r2.ropensci.org/feb18ccf03b1eb27adb35238b6e7eee294f603c75271f7b102692c3eaf70fef3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nalzok/actions/runs/38375086345"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.3",
      "date": "2026-10-13T09:21:16.000Z",
      "arch": "emscripten",
      "commit": "a295182b4937d223018a10f1a18f2fd327804b1b",
      "fileid": "https://r2.ropensci.org/08d2cea88d5e8e77cf5e7184a33c5960d31e92746017a275315c350e6edd4b1e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/nalzok/actions/runs/38375086345"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-10-13T09:24:22.000Z",
      "arch": "aarch64",
      "commit": "a295182b4937d223018a10f1a18f2fd327804b1b",
      "fileid": "https://r2.ropensci.org/727fd40e7fd5ea88700fcd8e4b513634642421aee6eb5b26ba02125c29ae5216",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nalzok/actions/runs/38375086345"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-10-13T09:20:44.000Z",
      "arch": "x86_64",
      "commit": "a295182b4937d223018a10f1a18f2fd327804b1b",
      "fileid": "https://r2.ropensci.org/c3b0fc5abeb600d35e136994c8368672a84d2c334a1f772a6b1c0ac30d3ef411",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nalzok/actions/runs/38375086345"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-10-13T09:20:44.000Z",
      "arch": "x86_64",
      "commit": "a295182b4937d223018a10f1a18f2fd327804b1b",
      "fileid": "https://r2.ropensci.org/018d808a34c96d03de0b8deee52fd0f058f375d9cfcc73fffbda714a8126d06e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nalzok/actions/runs/38375086345"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-10-13T09:24:17.000Z",
      "arch": "aarch64",
      "commit": "a295182b4937d223018a10f1a18f2fd327804b1b",
      "fileid": "https://r2.ropensci.org/5c57fff24f700494b565ad8f47283f2fba23cb1481e64b7f474d4003e0e9a42d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nalzok/actions/runs/38375086345"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-10-13T09:20:46.000Z",
      "arch": "x86_64",
      "commit": "a295182b4937d223018a10f1a18f2fd327804b1b",
      "fileid": "https://r2.ropensci.org/d8b9e4b8353c0a74513f67a11ee1b0f18f895e8b352bd6d3871bd699e7c79a8f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nalzok/actions/runs/38375086345"
    }
  ]
}