Package: glex 0.4.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.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')) |
Bug tracker:https://github.com/plantedml/glex/issues
- bike - Bikesharing data
Last updated 10 hours agofrom:8ac13a83e6. Checks:OK: 1 NOTE: 8. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 21 2024 |
R-4.5-win-x86_64 | NOTE | Nov 21 2024 |
R-4.5-linux-x86_64 | NOTE | Nov 21 2024 |
R-4.4-win-x86_64 | NOTE | Nov 21 2024 |
R-4.4-mac-x86_64 | NOTE | Nov 21 2024 |
R-4.4-mac-aarch64 | NOTE | Nov 21 2024 |
R-4.3-win-x86_64 | NOTE | Nov 21 2024 |
R-4.3-mac-x86_64 | NOTE | Nov 21 2024 |
R-4.3-mac-aarch64 | NOTE | Nov 21 2024 |
Exports:glexglex_explainglex_viplot_main_effectplot_pdpplot_threeway_effectsplot_twoway_effectssubset_component_namessubset_componentstheme_glex
Dependencies:backportscheckmateclicodetoolscolorspacedata.tablefansifarverforeachggplot2gluegtableisobanditeratorslabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigR6RColorBrewerRcpprlangscalesscicotibbleutf8vctrsviridisLitewithr
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.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 |