{
  "_id": "6a2e52aa3efcd9bda43096fc",
  "Package": "e2tree",
  "Title": "Explainable Ensemble Trees",
  "Version": "1.2.0",
  "Authors@R": "c(\nperson(given = \"Massimo\",\nfamily = \"Aria\",\nrole = c(\"aut\", \"cre\", \"cph\"),\nemail = \"aria@unina.it\",\ncomment = c(ORCID = \"0000-0002-8517-9411\")),\nperson(given = \"Agostino\",\nfamily = \"Gnasso\",\nrole = c(\"aut\", \"cph\"),\nemail = \"agostino.gnasso@unina.it\",\ncomment = c(ORCID = \"0000-0002-8046-3923\"))\n)",
  "Description": "The Explainable Ensemble Trees 'e2tree' approach has been\nproposed by Aria et al. (2024)\n<doi:10.1007/s00180-022-01312-6>. It aims to explain and\ninterpret decision tree ensemble models using a single\ntree-like structure. 'e2tree' is a new way of explaining an\nensemble tree trained through 'randomForest' or 'xgboost'\npackages.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/massimoaria/e2tree",
  "BugReports": "https://github.com/massimoaria/e2tree/issues",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.0.0",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-14 07:00:45 UTC",
    "User": "root"
  },
  "Author": "Massimo Aria [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-8517-9411>), Agostino Gnasso [aut,\ncph] (ORCID: <https://orcid.org/0000-0002-8046-3923>)",
  "Maintainer": "Massimo Aria <aria@unina.it>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-05-15 15:32:34 UTC",
  "RemoteUrl": "https://github.com/cran/e2tree",
  "RemoteRef": "HEAD",
  "RemoteSha": "d42b7b325230b96f7862016b6673d18dca682a91",
  "MD5sum": "6f6e5ee485d3d018be3172af35b4cf54",
  "_user": "cran",
  "_type": "src",
  "_file": "e2tree_1.2.0.tar.gz",
  "_fileid": "0432d2fe69a51b84711b700d22e7b68a04d482ec5e3a3cfe474bb1a00db86434",
  "_filesize": 4191918,
  "_sha256": "0432d2fe69a51b84711b700d22e7b68a04d482ec5e3a3cfe474bb1a00db86434",
  "_created": "2026-06-14T07:00:45.000Z",
  "_published": "2026-06-14T07:05:14.386Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 81257000961,
      "time": 194,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7618468551"
    },
    {
      "job": 81257000932,
      "time": 179,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7618466552"
    },
    {
      "job": 81257000956,
      "time": 223,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7618471719"
    },
    {
      "job": 81257000939,
      "time": 180,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7618466727"
    },
    {
      "job": 81256805949,
      "time": 170,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7618443825"
    },
    {
      "job": 81257000923,
      "time": 133,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7618460904"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27491219981",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/e2tree",
  "_commit": {
    "id": "d42b7b325230b96f7862016b6673d18dca682a91",
    "author": "Massimo Aria <aria@unina.it>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.2.0\n",
    "time": 1778859154
  },
  "_maintainer": {
    "name": "Massimo Aria",
    "email": "aria@unina.it",
    "login": "massimoaria",
    "description": "Massimo Aria is a full professor in Statistics for Social Sciences at the Department of Economics and Statistics of the University of Naples Federico II",
    "uuid": 16023543,
    "orcid": "0000-0002-8517-9411"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "ape",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "future.apply",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "partitions",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rpart.plot",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "doParallel",
      "role": "Suggests"
    },
    {
      "package": "foreach",
      "role": "Suggests"
    },
    {
      "package": "htmlwidgets",
      "role": "Suggests"
    },
    {
      "package": "jsonlite",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "partykit",
      "role": "Suggests"
    },
    {
      "package": "gbm",
      "role": "Suggests"
    },
    {
      "package": "lightgbm",
      "role": "Suggests"
    },
    {
      "package": "randomForest",
      "role": "Suggests"
    },
    {
      "package": "ranger",
      "role": "Suggests"
    },
    {
      "package": "xgboost",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "RSpectra",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "visNetwork",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-29",
      "n": 1
    },
    {
      "week": "2026-11",
      "n": 1
    },
    {
      "week": "2026-20",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.2.0",
      "date": "2025-07-16"
    },
    {
      "name": "1.0.0",
      "date": "2026-03-13"
    },
    {
      "name": "1.2.0",
      "date": "2026-05-15"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "massimoaria",
      "count": 4,
      "uuid": 16023543
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 606,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 628,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/e2tree"
  },
  "_devurl": "https://github.com/massimoaria/e2tree",
  "_searchresults": 13,
  "_topics": [
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/e2tree.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/massimoaria/e2tree",
  "_realowner": "massimoaria",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.2",
      "date": "2025-04-12"
    },
    {
      "version": "0.2.0",
      "date": "2025-07-16"
    },
    {
      "version": "1.0.0",
      "date": "2026-03-13"
    },
    {
      "version": "1.2.0",
      "date": "2026-05-15"
    }
  ],
  "_exports": [
    "as.rpart",
    "createDisMatrix",
    "e2splits",
    "e2tree",
    "ePredTree",
    "eValidation",
    "extract_terminal_nodes",
    "get_ensemble_predictions",
    "get_ensemble_type",
    "loi",
    "loi_perm",
    "measures",
    "nodes",
    "plot_e2tree",
    "plot_e2tree_click",
    "plot_e2tree_vis",
    "print_e2tree_summary",
    "proximity",
    "roc",
    "rpart2Tree",
    "save_e2tree_html",
    "vimp"
  ],
  "_datasets": [
    {
      "name": "credit",
      "title": "Credit Scoring Dataset",
      "object": "credit",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Type_of_client",
        "Client_Age",
        "Family_Situation",
        "Account_Tenure",
        "Salary_Credited_to_Bank_Account",
        "Ammount_of_Savings",
        "Customer_Occupation",
        "Average_Account_Balance",
        "Average_Account_Turnover",
        "Credit_Card_Transaction_Count_Monthly",
        "Authorized_Overdraft_Limit",
        "Authorized_to_Issue_Bank_Checks"
      ],
      "rows": 468,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "as.rpart",
      "title": "Convert an E2Tree Object to rpart Format",
      "topics": [
        "as.rpart",
        "as.rpart.e2tree"
      ]
    },
    {
      "page": "createDisMatrix",
      "title": "Create a Dissimilarity Matrix from an Ensemble Model",
      "topics": [
        "createDisMatrix"
      ]
    },
    {
      "page": "credit",
      "title": "Credit Scoring Dataset",
      "topics": [
        "credit"
      ]
    },
    {
      "page": "e2splits",
      "title": "Extract Split Information from an E2Tree Model",
      "topics": [
        "e2splits",
        "e2splits.e2tree"
      ]
    },
    {
      "page": "e2tree",
      "title": "Explainable Ensemble Tree",
      "topics": [
        "e2tree"
      ]
    },
    {
      "page": "ePredTree",
      "title": "Predict Responses Using an Explainable Ensemble Tree",
      "topics": [
        "ePredTree"
      ]
    },
    {
      "page": "eValidation",
      "title": "Validate an E2Tree Model via Proximity Matrix Comparison",
      "topics": [
        "eValidation"
      ]
    },
    {
      "page": "extract_terminal_nodes",
      "title": "Extract Terminal Node Assignments from an Ensemble Model",
      "topics": [
        "extract_terminal_nodes"
      ]
    },
    {
      "page": "fitted.e2tree",
      "title": "Extract Fitted Values from an E2Tree Model",
      "topics": [
        "fitted.e2tree"
      ]
    },
    {
      "page": "get_ensemble_predictions",
      "title": "Get Training Predictions from an Ensemble Model",
      "topics": [
        "get_ensemble_predictions"
      ]
    },
    {
      "page": "get_ensemble_type",
      "title": "Determine Task Type from a Trained Ensemble Model",
      "topics": [
        "get_ensemble_type"
      ]
    },
    {
      "page": "loi",
      "title": "Loss of Interpretability (LoI) Index",
      "topics": [
        "loi"
      ]
    },
    {
      "page": "loi_perm",
      "title": "Permutation Test for LoI",
      "topics": [
        "loi_perm"
      ]
    },
    {
      "page": "measures",
      "title": "Extract Validation Measures",
      "topics": [
        "measures",
        "measures.eValidation"
      ]
    },
    {
      "page": "nodes",
      "title": "Extract Tree Node Information",
      "topics": [
        "nodes",
        "nodes.e2tree"
      ]
    },
    {
      "page": "plot_e2tree",
      "title": "Quick E2Tree Plot (Non-Interactive)",
      "topics": [
        "plot_e2tree"
      ]
    },
    {
      "page": "plot_e2tree_click",
      "title": "Interactive E2Tree Plot for R Graphics Device",
      "topics": [
        "plot_e2tree_click"
      ]
    },
    {
      "page": "plot_e2tree_vis",
      "title": "Interactive E2Tree Plot with visNetwork",
      "topics": [
        "plot_e2tree_vis"
      ]
    },
    {
      "page": "plot.e2tree",
      "title": "Plot an E2Tree model",
      "topics": [
        "plot.e2tree"
      ]
    },
    {
      "page": "predict.e2tree",
      "title": "Predict Responses from an E2Tree Model",
      "topics": [
        "predict.e2tree"
      ]
    },
    {
      "page": "print_e2tree_summary",
      "title": "Print E2Tree Summary",
      "topics": [
        "print_e2tree_summary"
      ]
    },
    {
      "page": "print.e2tree",
      "title": "Print an E2Tree model",
      "topics": [
        "print.e2tree"
      ]
    },
    {
      "page": "proximity",
      "title": "Extract Proximity Matrices",
      "topics": [
        "proximity",
        "proximity.eValidation"
      ]
    },
    {
      "page": "residuals.e2tree",
      "title": "Extract Residuals from an E2Tree Model",
      "topics": [
        "residuals.e2tree"
      ]
    },
    {
      "page": "roc",
      "title": "ROC Curve",
      "topics": [
        "roc"
      ]
    },
    {
      "page": "rpart2Tree",
      "title": "Convert an E2Tree Object to rpart Format",
      "topics": [
        "rpart2Tree"
      ]
    },
    {
      "page": "save_e2tree_html",
      "title": "Save E2Tree visNetwork Plot to HTML",
      "topics": [
        "save_e2tree_html"
      ]
    },
    {
      "page": "summary.e2tree",
      "title": "Summary of an E2Tree model",
      "topics": [
        "summary.e2tree"
      ]
    },
    {
      "page": "vimp",
      "title": "Variable Importance",
      "topics": [
        "vimp"
      ]
    }
  ],
  "_readme": "https://github.com/cran/e2tree/raw/HEAD/README.md",
  "_rundeps": [
    "ape",
    "cli",
    "codetools",
    "cpp11",
    "digest",
    "dplyr",
    "farver",
    "future",
    "future.apply",
    "generics",
    "ggplot2",
    "globals",
    "glue",
    "gmp",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "listenv",
    "magrittr",
    "Matrix",
    "nlme",
    "parallelly",
    "partitions",
    "pillar",
    "pkgconfig",
    "polynom",
    "purrr",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "Rdpack",
    "rlang",
    "rpart",
    "rpart.plot",
    "S7",
    "scales",
    "sets",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_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"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_vignettes": [
    {
      "source": "e2tree-introduction.Rmd",
      "filename": "e2tree-introduction.html",
      "title": "Introduction to e2tree: Explainable Ensemble Trees",
      "author": "Massimo Aria, Agostino Gnasso",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Installation",
        "Workflow",
        "Classification Example",
        "Step 1: Prepare data and train ensemble",
        "Step 2: Compute dissimilarity matrix",
        "Step 3: Build the E2Tree",
        "Step 4: Inspect the tree",
        "Step 5: Visualization",
        "Step 6: Prediction",
        "Step 7: Variable importance",
        "Regression Example",
        "Validation of the E2Tree Structure",
        "Association vs. Agreement",
        "The Mantel Test",
        "Divergence and Similarity Measures",
        "Visualizing the Reconstruction",
        "The Normalized Loss of Interpretability (nLoI)",
        "LoI Decomposition: Diagnosing Reconstruction Quality",
        "Permutation Test for LoI",
        "Validation of the Regression Example",
        "Comparison with Related Packages",
        "Session Info"
      ],
      "created": "2026-05-15 15:32:34",
      "modified": "2026-05-15 15:32:34",
      "commits": 1
    },
    {
      "source": "models.Rmd",
      "filename": "models.html",
      "title": "Using e2tree with XGBoost, GBM, LightGBM, and CatBoost",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "XGBoost",
        "Classification (iris)",
        "Regression (mtcars)",
        "GBM",
        "Classification (iris, binary)",
        "LightGBM",
        "Adding a new backend"
      ],
      "created": "2026-05-15 15:32:34",
      "modified": "2026-05-15 15:32:34",
      "commits": 1
    }
  ],
  "_score": 3.5910646070264995,
  "_indexed": false,
  "_nocasepkg": "e2tree",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://massimoaria.r-universe.dev/e2tree",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-06-14T07:03:32.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "d42b7b325230b96f7862016b6673d18dca682a91",
      "fileid": "575c993ae8ee6ad97c93f0164f63dbebaf8e59950a7c8f79748c7149464d6f1d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27491219981"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-06-14T07:03:09.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "d42b7b325230b96f7862016b6673d18dca682a91",
      "fileid": "33046c96b6765144849367c185aba0add2902e4a3f951792689124f44585d2bb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27491219981"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-06-14T07:03:56.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "d42b7b325230b96f7862016b6673d18dca682a91",
      "fileid": "68f165eec0a5b2a490e2f212d47cd4c8a5b4d1ce52a2ea30336eee4a4a60e518",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27491219981"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-06-14T07:03:11.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "d42b7b325230b96f7862016b6673d18dca682a91",
      "fileid": "b3eb67a9d2579e4769c9539a9eb0c8307016e15febf96f90cec4c0054fa69e22",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27491219981"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.0",
      "date": "2026-06-14T07:03:18.000Z",
      "arch": "emscripten",
      "commit": "d42b7b325230b96f7862016b6673d18dca682a91",
      "fileid": "512fcf0c57512962965c43946ffc35ec04937c2233b9e2b548a5386073890f09",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27491219981"
    }
  ]
}