Package: glex 0.4.2

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.2.tar.gz
glex_0.4.2.zip(r-4.5)glex_0.4.2.zip(r-4.4)glex_0.4.2.zip(r-4.3)
glex_0.4.2.tgz(r-4.4-x86_64)glex_0.4.2.tgz(r-4.4-arm64)glex_0.4.2.tgz(r-4.3-x86_64)glex_0.4.2.tgz(r-4.3-arm64)
glex_0.4.2.tar.gz(r-4.5-noble)glex_0.4.2.tar.gz(r-4.4-noble)
glex_0.4.2.tgz(r-4.4-emscripten)glex_0.4.2.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 10 hours agofrom:8ac13a83e6. Checks:OK: 1 NOTE: 8. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 21 2024
R-4.5-win-x86_64NOTENov 21 2024
R-4.5-linux-x86_64NOTENov 21 2024
R-4.4-win-x86_64NOTENov 21 2024
R-4.4-mac-x86_64NOTENov 21 2024
R-4.4-mac-aarch64NOTENov 21 2024
R-4.3-win-x86_64NOTENov 21 2024
R-4.3-mac-x86_64NOTENov 21 2024
R-4.3-mac-aarch64NOTENov 21 2024

Exports:glexglex_explainglex_viplot_main_effectplot_pdpplot_threeway_effectsplot_twoway_effectssubset_component_namessubset_componentstheme_glex

Dependencies:backportscheckmateclicodetoolscolorspacedata.tablefansifarverforeachggplot2gluegtableisobanditeratorslabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigR6RColorBrewerRcpprlangscalesscicotibbleutf8vctrsviridisLitewithr

glex

Rendered fromglex.Rmdusingknitr::rmarkdownon Nov 21 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