Computes feature-specific R-squared (R2) contributions for boosting tree models using a Shapley-value-based decomposition of the total R-squared in polynomial time. Supports models fitted with 'XGBoost' and 'LightGBM', and provides efficient parallel implementations suitable for large-scale problems. Multiple visualization tools are included for interpreting and communicating feature contributions. The methodology is described in Jiang, Zhang, and Zhang (2025) <doi:10.48550/arXiv.2407.03515>.
| Version: | 1.0 |
| Imports: | Rcpp (≥ 1.0.14), xgboost (≥ 3.1.3.1), parallel, lightgbm, viridisLite, ggplot2, jsonlite, methods, progress |
| LinkingTo: | Rcpp, RcppEigen |
| Suggests: | shiny |
| Published: | 2026-03-16 |
| DOI: | 10.32614/CRAN.package.qshap (may not be active yet) |
| Author: | Steven He [aut], Zhongli Jiang [aut, cre], Dabao Zhang [aut] |
| Maintainer: | Zhongli Jiang <zhongli.jiang.stats at gmail.com> |
| BugReports: | https://github.com/catstats/Q-SHAP_R/issues |
| License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
| URL: | https://github.com/catstats/Q-SHAP_R |
| NeedsCompilation: | yes |
| CRAN checks: | qshap results |
| Reference manual: | qshap.html , qshap.pdf |
| Package source: | qshap_1.0.tar.gz |
| Windows binaries: | r-devel: qshap_1.0.zip, r-release: not available, r-oldrel: not available |
| macOS binaries: | r-release (arm64): not available, r-oldrel (arm64): qshap_1.0.tgz, r-release (x86_64): not available, r-oldrel (x86_64): not available |
Please use the canonical form https://CRAN.R-project.org/package=qshap to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.