Package: glex 0.4.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.4.0.9000.tar.gz
glex_0.4.0.9000.zip(r-4.5)glex_0.4.0.9000.zip(r-4.4)glex_0.4.0.9000.zip(r-4.3)
glex_0.4.0.9000.tgz(r-4.4-x86_64)glex_0.4.0.9000.tgz(r-4.4-arm64)glex_0.4.0.9000.tgz(r-4.3-x86_64)glex_0.4.0.9000.tgz(r-4.3-arm64)
glex_0.4.0.9000.tar.gz(r-4.5-noble)glex_0.4.0.9000.tar.gz(r-4.4-noble)
glex_0.4.0.9000.tgz(r-4.4-emscripten)glex_0.4.0.9000.tgz(r-4.3-emscripten)
glex.pdf |glex.html
glex/json (API)
NEWS

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

Peer review:

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

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

On CRAN:

4.86 score 5 stars 16 scripts 10 exports 36 dependencies

Last updated 19 days agofrom:7cdc418ef7. Checks:OK: 6 NOTE: 2 ERROR: 1. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 18 2024
R-4.5-win-x86_64NOTEOct 18 2024
R-4.5-linux-x86_64NOTEOct 18 2024
R-4.4-win-x86_64OKOct 18 2024
R-4.4-mac-x86_64OKOct 18 2024
R-4.4-mac-aarch64ERROROct 18 2024
R-4.3-win-x86_64OKOct 18 2024
R-4.3-mac-x86_64OKOct 18 2024
R-4.3-mac-aarch64OKOct 18 2024

Exports:glexglex_explainglex_viplot_main_effectplot_pdpplot_threeway_effectsplot_twoway_effectssubset_component_namessubset_componentstheme_glex

Dependencies:backportscheckmateclicodetoolscolorspacedata.tablefansifarverforeachggplot2gluegtableisobanditeratorslabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigR6RColorBrewerRcpprlangscalesscicotibbleutf8vctrsviridisLitewithr

glex

Rendered fromglex.Rmdusingknitr::rmarkdownon Oct 18 2024.

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

Readme and manuals

Help Manual

Help pageTopics
Plot Prediction Componentsautoplot.glex plot_main_effect plot_threeway_effects plot_twoway_effects
Plot glex Variable Importancesautoplot.glex_vi
Bikesharing databike
Global explanations for tree-based models.glex glex.ranger glex.rpf glex.xgb.Booster
Explain a single predictionglex_explain
Variable Importance for Main and Interaction Termsglex_vi
Partial Dependence Plotplot_pdp
Print glex objectsprint.glex
Subset componentssubset_components subset_component_names
A ggplot2 theme for glex plotstheme_glex