Package: glex 0.7.0.9000

Marvin N. Wright

glex: Global Explanations for Tree-Based Models

Global explanations for tree-based models by decomposing regression or classification functions into the sum of main components and interaction components of arbitrary order. Calculates SHAP values and q-interaction SHAP for all values of q for tree-based models such as xgboost.

Authors:Marvin N. Wright [aut, cre], Joseph Theo Meyer [aut], Munir Hiabu [aut], Lukas Burk [aut], Jinyang Liu [aut]

glex_0.7.0.9000.tar.gz
glex_0.7.0.9000.zip(r-4.7-x86_64)glex_0.7.0.9000.zip(r-4.7-arm64)glex_0.7.0.9000.zip(r-4.6-x86_64)glex_0.7.0.9000.zip(r-4.6-arm64)glex_0.7.0.9000.zip(r-4.5-x86_64)
glex_0.7.0.9000.tgz(r-4.6-x86_64)glex_0.7.0.9000.tgz(r-4.6-arm64)glex_0.7.0.9000.tgz(r-4.5-x86_64)glex_0.7.0.9000.tgz(r-4.5-arm64)
glex_0.7.0.9000.tar.gz(r-4.7-arm64)glex_0.7.0.9000.tar.gz(r-4.7-x86_64)glex_0.7.0.9000.tar.gz(r-4.6-arm64)glex_0.7.0.9000.tar.gz(r-4.6-x86_64)
glex_0.7.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
glex/json (API)

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

Bug tracker:https://github.com/plantedml/glex/issues

Pkgdown/docs site:https://plantedml.com

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:
  • bike - Bikesharing data

On CRAN:

Conda:

cpp

5.82 score 8 stars 39 scripts 15 exports 31 dependencies

Last updated from:c30470ed21. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK201
linux-devel-x86_64OK222
source / vignettesOK337
linux-release-arm64OK190
linux-release-x86_64OK207
macos-release-arm64OK213
macos-release-x86_64OK475
macos-oldrel-arm64OK188
macos-oldrel-x86_64OK593
windows-devel-arm64OK336
windows-devel-x86_64OK369
windows-release-arm64OK329
windows-release-x86_64OK346
windows-oldrel-x86_64OK339
wasm-releaseOK100

Exports:dummy_groupsglexglex_explainglex_vigroup_componentsplot_forceplot_main_effectplot_pdpplot_shap_decompositionplot_threeway_effectsplot_twoway_effectsplot_waterfallsubset_component_namessubset_componentstheme_glex

Dependencies:backportscheckmateclicodetoolscpp11crayondata.tablefarverforeachggplot2gluegtablehmsisobanditeratorsjsonlitelabelinglifecyclepkgconfigprettyunitsprogressR6RColorBrewerRcpprlangS7scalesscicovctrsviridisLitewithr

Categorical features: native factors, one-hot groups and semantic groups
Native factors | Dummy encoding fragments the decomposition | Re-assembling the factor with group_components() | Other encoding schemes | Semantic groups

Last update: 2026-11-11
Started: 2026-10-03

glex

Last update: 2023-02-24
Started: 2023-02-24