Package: glex 0.5.2
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.5.2.tar.gz
glex_0.5.2.zip(r-4.7)glex_0.5.2.zip(r-4.6)glex_0.5.2.zip(r-4.5)
glex_0.5.2.tgz(r-4.6-x86_64)glex_0.5.2.tgz(r-4.6-arm64)glex_0.5.2.tgz(r-4.5-x86_64)glex_0.5.2.tgz(r-4.5-arm64)
glex_0.5.2.tar.gz(r-4.7-arm64)glex_0.5.2.tar.gz(r-4.7-x86_64)glex_0.5.2.tar.gz(r-4.6-arm64)glex_0.5.2.tar.gz(r-4.6-x86_64)
glex_0.5.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
glex/json (API)
NEWS
| # 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:f2fd40abb7. Checks:11 OK, 2 ERROR. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 168 | ||
| linux-devel-x86_64 | OK | 182 | ||
| source / vignettes | OK | 324 | ||
| linux-release-arm64 | OK | 182 | ||
| linux-release-x86_64 | OK | 167 | ||
| macos-release-arm64 | OK | 184 | ||
| macos-release-x86_64 | OK | 398 | ||
| macos-oldrel-arm64 | OK | 234 | ||
| macos-oldrel-x86_64 | OK | 532 | ||
| windows-devel | ERROR | 155 | ||
| windows-release | ERROR | 151 | ||
| windows-oldrel | OK | 153 | ||
| wasm-release | OK | 125 |
Exports:glexglex_explainglex_viplot_main_effectplot_pdpplot_threeway_effectsplot_twoway_effectssubset_component_namessubset_componentstheme_glex
Dependencies:backportscheckmateclicodetoolscpp11crayondata.tablefarverforeachggplot2gluegtablehmsisobanditeratorslabelinglifecyclepkgconfigprettyunitsprogressR6RColorBrewerRcpprlangS7scalesscicovctrsviridisLitewithr
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 |
| Global explanations for tree-based models. | glex glex.default glex.ranger glex.rpf glex.xgb.Booster |
| Explain a single prediction | glex_explain |
| Variable Importance for Main and Interaction Terms | glex_vi |
| 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 |
