{
  "_id": "6a1f21a9b401979e734206de",
  "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-05-16 07:25:46 UTC",
    "User": "root"
  },
  "Author": "Qingyao Sun [aut, cre]",
  "Maintainer": "Qingyao Sun <sunqingyao19970825@gmail.com>",
  "MD5sum": "4c13bd60b659b7193880daf4c6d140df",
  "_user": "nalzok",
  "_type": "src",
  "_file": "tree.interpreter_0.1.3.tar.gz",
  "_fileid": "3f661f6236c964f35906ffbb4c95c024440d7fa8f60c6e0676e6db6db3d6e707",
  "_filesize": 161349,
  "_sha256": "3f661f6236c964f35906ffbb4c95c024440d7fa8f60c6e0676e6db6db3d6e707",
  "_created": "2026-05-16T07:25:46.000Z",
  "_published": "2026-06-02T18:32:09.990Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79144017835,
      "time": 127,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7031579508"
    },
    {
      "job": 79144017977,
      "time": 146,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7031581476"
    },
    {
      "job": 79144018504,
      "time": 130,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031579772"
    },
    {
      "job": 79144018427,
      "time": 132,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031580118"
    },
    {
      "job": 79144017844,
      "time": 148,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7031579631"
    },
    {
      "job": 79144018721,
      "time": 426,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7031605764"
    },
    {
      "job": 79144017504,
      "time": 164,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031580072"
    },
    {
      "job": 79144017841,
      "time": 323,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031596145"
    },
    {
      "job": 79144017208,
      "time": 237,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031566098"
    },
    {
      "job": 79144017039,
      "time": 113,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7366534500"
    },
    {
      "job": 79144017519,
      "time": 128,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7031579659"
    },
    {
      "job": 79144017740,
      "time": 129,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7031579687"
    },
    {
      "job": 79144017866,
      "time": 125,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031579309"
    }
  ],
  "_buildurl": "https://github.com/r-universe/nalzok/actions/runs/25956037041",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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",
    "uuid": 13443062
  },
  "_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": [
    {
      "week": "2025-38",
      "n": 3
    }
  ],
  "_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",
    "description": "Numerical linear algebra fanboy"
  },
  "_downloads": {
    "count": 201,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/tree.interpreter"
  },
  "_mentions": 53,
  "_devurl": "https://github.com/nalzok/tree.interpreter",
  "_searchresults": 8,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/tree.interpreter.html",
    "manual.pdf"
  ],
  "_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": "14.2.0-4ubuntu2~24.04.1",
      "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.778151250383644,
  "_indexed": true,
  "_nocasepkg": "tree.interpreter",
  "_universes": [
    "nalzok"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-05-16T07:27:56.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "a295182b4937d223018a10f1a18f2fd327804b1b",
      "fileid": "bf56b968efa3c54b691eb8dcde939a3cf954e399f9f72d993d9187e75f826e2d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nalzok/actions/runs/25956037041"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-05-16T07:28:07.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "a295182b4937d223018a10f1a18f2fd327804b1b",
      "fileid": "3c3db613692a1c408be2aeee8318327672236f4700c71245c797a0bf06e0f39a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nalzok/actions/runs/25956037041"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-05-16T07:27:58.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "a295182b4937d223018a10f1a18f2fd327804b1b",
      "fileid": "1ec7e51d9d226afdac66daac0c6c2588694db0db4c3c8e53d9a12cc4b777b254",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nalzok/actions/runs/25956037041"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-05-16T07:28:01.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "a295182b4937d223018a10f1a18f2fd327804b1b",
      "fileid": "6d49f081285b805c100ab13b937d779378facd3317ea2876aac00204b2c3af0d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nalzok/actions/runs/25956037041"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-05-16T07:28:04.000Z",
      "arch": "aarch64",
      "commit": "a295182b4937d223018a10f1a18f2fd327804b1b",
      "fileid": "e5c29487ce010959f074d784f43d0484738b6139e4ea58ed53c5ab4b53e84330",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nalzok/actions/runs/25956037041"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-05-16T07:31:05.000Z",
      "arch": "x86_64",
      "commit": "a295182b4937d223018a10f1a18f2fd327804b1b",
      "fileid": "fb6e99bb68a62339e4e0dcd3d902736fb387aa9b8dbaa3a50fcc3fc8219a27d8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nalzok/actions/runs/25956037041"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-05-16T07:28:06.000Z",
      "arch": "aarch64",
      "commit": "a295182b4937d223018a10f1a18f2fd327804b1b",
      "fileid": "577e4475c7d5a16c6600084450c4219af568a9df00d6abe18055499a0d889b38",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nalzok/actions/runs/25956037041"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-05-16T07:29:54.000Z",
      "arch": "x86_64",
      "commit": "a295182b4937d223018a10f1a18f2fd327804b1b",
      "fileid": "dbe883a15c23749414ab5d02ada9f1f02c9b770e9309cc54538a6f52c4798e9c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nalzok/actions/runs/25956037041"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-05-16T07:27:18.000Z",
      "arch": "x86_64",
      "commit": "a295182b4937d223018a10f1a18f2fd327804b1b",
      "fileid": "47bda9d9aea300eda6189fc1269f874e53ec1d4484d51af82f52417fe5964a30",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nalzok/actions/runs/25956037041"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-05-16T07:27:25.000Z",
      "arch": "x86_64",
      "commit": "a295182b4937d223018a10f1a18f2fd327804b1b",
      "fileid": "08d46eef8434d06b9712054b27ec2d7c9cd11b66d2699152a83cc492b00e0e5f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nalzok/actions/runs/25956037041"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-05-16T07:27:16.000Z",
      "arch": "x86_64",
      "commit": "a295182b4937d223018a10f1a18f2fd327804b1b",
      "fileid": "2cbc69142f6fc1a5f622c4d2eabdc4fbf5e28197f59162bc534c5f203f00157d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nalzok/actions/runs/25956037041"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.3",
      "date": "2026-06-02T18:31:34.000Z",
      "arch": "emscripten",
      "commit": "a295182b4937d223018a10f1a18f2fd327804b1b",
      "fileid": "7360857b4ea34a4614334dfdaaafc812269c302bcf3f150757b035064c088923",
      "status": "success",
      "buildurl": "https://github.com/r-universe/nalzok/actions/runs/25956037041"
    }
  ]
}