Package: qshap
Type: Package
Title: Fast Calculation of Feature Contributions in Boosting Trees
Version: 1.0.1
Date: 2026-05-03
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, jsonlite, methods, progress
Suggests: shiny
LinkingTo: Rcpp, RcppEigen
RoxygenNote: 7.3.2
Encoding: UTF-8
NeedsCompilation: yes
Packaged: 2026-05-03 22:16:54 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-05-04 07:00:17 UTC
Built: R 4.5.2; x86_64-apple-darwin20; 2026-05-04 22:53:48 UTC; unix
Archs: qshap.so.dSYM
