Package: glex 0.7.0.9000
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:
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
- bike - Bikesharing data
Last updated from:ccffa061ba. Checks:15 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 158 | ||
| linux-devel-x86_64 | OK | 184 | ||
| source / vignettes | OK | 244 | ||
| linux-release-arm64 | OK | 162 | ||
| linux-release-x86_64 | OK | 190 | ||
| macos-release-arm64 | OK | 147 | ||
| macos-release-x86_64 | OK | 443 | ||
| macos-oldrel-arm64 | OK | 132 | ||
| macos-oldrel-x86_64 | OK | 266 | ||
| windows-devel-arm64 | OK | 303 | ||
| windows-devel-x86_64 | OK | 226 | ||
| windows-release-arm64 | OK | 259 | ||
| windows-release-x86_64 | OK | 171 | ||
| windows-oldrel-x86_64 | OK | 151 | ||
| wasm-release | OK | 114 |
Exports:dummy_groupsglexglex_explainglex_vigroup_componentsplot_main_effectplot_pdpplot_threeway_effectsplot_twoway_effectssubset_component_namessubset_componentstheme_glex
Dependencies:backportscheckmateclicodetoolscpp11crayondata.tablefarverforeachggplot2gluegtablehmsisobanditeratorsjsonlitelabelinglifecyclepkgconfigprettyunitsprogressR6RColorBrewerRcpprlangS7scalesscicovctrsviridisLitewithr
Last update: 2026-10-03
Started: 2026-10-03
Last update: 2023-02-24
Started: 2023-02-24
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Plot Prediction Components | autoplot.glex plot_main_effect plot_threeway_effects plot_twoway_effects |
| Plot glex Variable Importances | autoplot.glex_vi |
| Bikesharing data | bike |
| Derive feature groups from the factors behind a dummy encoding | dummy_groups |
| Global explanations for tree-based models. | glex glex.default glex.ranger glex.rpf glex.xgb.Booster |
| Explain a single prediction | glex_explain |
| Package options for glex plots | glex_options |
| Variable Importance for Main and Interaction Terms | glex_vi |
| Group features of a decomposition | group_components |
| Partial Dependence Plot | plot_pdp |
| Print glex objects | print.glex |
| Subset components | subset_components subset_component_names |
| A ggplot2 theme for glex plots | theme_glex |
