Package: qshap
Type: Package
Title: Fast Calculation of Feature Contributions in Boosting Trees
Version: 1.0
Date: 2026-03-02
Authors@R: c(
    person("Steven", "He", role = "aut", email = "hess1@uci.edu"),
    person("Zhongli", "Jiang", role = c("aut", "cre"),
           email = "zhongli.jiang.stats@gmail.com"),
    person("Dabao", "Zhang", role = "aut", email = "zdb969@hs.uci.edu"))
Description: 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>.
License: GPL (>= 2)
URL: https://github.com/catstats/Q-SHAP_R
BugReports: https://github.com/catstats/Q-SHAP_R/issues
Imports: Rcpp (>= 1.0.14), xgboost (>= 3.1.3.1), parallel, lightgbm,
        viridisLite, ggplot2, jsonlite, methods, progress
Suggests: shiny
LinkingTo: Rcpp, RcppEigen
RoxygenNote: 7.3.2
Encoding: UTF-8
NeedsCompilation: yes
Packaged: 2026-03-09 19:50:27 UTC; jiangzhongli
Author: Steven He [aut],
  Zhongli Jiang [aut, cre],
  Dabao Zhang [aut]
Maintainer: Zhongli Jiang <zhongli.jiang.stats@gmail.com>
Repository: CRAN
Date/Publication: 2026-03-16 16:00:07 UTC
Built: R 4.6.0; x86_64-apple-darwin20; 2026-04-28 20:34:58 UTC; unix
Archs: qshap.so.dSYM
