Package: qshap
Type: Package
Title: Fast Calculation of Feature Contributions in Boosting Trees
Version: 2.0.0
Date: 2026-08-22
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', 'LightGBM', and 'CatBoost', with optimized backend-specific
    implementations and cached tree summaries 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>. Optional 'CatBoost'
    support uses the R package 'catboost', which is not distributed on CRAN;
    installation instructions and released binaries are provided by the
    CatBoost project at <https://catboost.ai/docs/en/concepts/r-installation>.
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, scales, jsonlite, methods, progress
Suggests: shiny
LinkingTo: Rcpp, RcppEigen
RoxygenNote: 7.3.2
Encoding: UTF-8
NeedsCompilation: yes
Packaged: 2026-08-23 08:41:44 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-08-23 09:10:02 UTC
Built: R 4.6.1; aarch64-apple-darwin23; 2026-08-23 13:51:41 UTC; unix
Archs: qshap.so.dSYM
