Skip to content

e2tree

1.2.0

Explainable Ensemble Trees

0packages depend
3.7Kdownloads / year
23.0%test coverage
13/13checks pass

Overview

About
Maintained by Massimo AriaFirst published 2025-04-124 releasesCRAN page ↗GitHub ↗

The Explainable Ensemble Trees 'e2tree' approach has been proposed by Aria et al. (2024) doi:10.1007/s00180-022-01312-6. It aims to explain and interpret decision tree ensemble models using a single tree-like structure. 'e2tree' is a new way of explaining an ensemble tree trained through 'randomForest' or 'xgboost' packages.

Install

Health

CRAN checks
13OK
Slowest check: 5.3 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.33
23.0%
Coverage · measured lines
100%
Documentation · exports
11
Dependencies · direct
Check history
  • OK2026-04-22
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 953 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
0%
Documented parameters
96%
Return-value docs
91%
References docs
0%

Downloads

3.7K
CRAN downloads in the past year
Rank #6,749 · ~10/day · ~311/mo
Daily download trend is not available in this view yet.
37530 days
1.5K90 days
3.7K1 year
Compare downloads with other packages →
Also on450 r2u29 autocran

Repository

Repository
8Stars
3Forks
0Open issues
0Open PRs
3Releases
158Commits
6Contributors
explainable-machine-learning
158 commits · Last activity 2026-05-16 · 0% stars, 30d

Stars over time

2025-06-07 · 62026-07-07 · 8

Repository practices

Upstream repositoryBeta

2 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/massimoaria/e2tree on 2026-07-19.

Continuous integration (1)
GitHub Actions
Docs source (1)
README.Rmd
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
25 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5
LinkingTo (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Code Composition
R 8,029 (73%)Rd 1,597 (15%)Vignettes 740 (7%)C++ 577 (5%)
Code characteristics
Object systems
S344
Cyclomatic complexity
2.0 median / 101 max
Test cases
71 / 0.33 per code line

Test coverage

Line coverage

23%

Expression

26.1%

Tests / Examples

23.0% / 0% ex

Functions

135 22 exported

Complexity

5.2 avg / 101 max

Call network

135 nodes / 110 edges

Loading call graph…

Lowest coverage

135 functions
FunctionCycloCoverage
as.rpart exp10%
e2splits exp10%
eValidation exp140%
loi exp90%
loi_perm exp80%
measures exp10%

Datasets

Bundled datasets · 1
NameClassRows × ColsAlso ships in
credittbl_df/tbl/data.frame468 × 12

People & History

People (2)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (2)
Author, Maintainer, Copyright holder
Author, Copyright holder
Copyright holders (2)
Author, Maintainer, Copyright holder
Author, Copyright holder
Package Timeline

4 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 1.2.0Latest
    2026-05-15 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.0
    2026-03-13 · diff ↗
  • 0.2.0
    2025-07-16 · diff ↗
  • 0.1.2
    2025-04-12
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2025-04-12
Total releases
4 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.5
Bundled data
2.1 KB / 1 file
Download size
1.8 MB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →