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
Config/pak/sysreqs: make
Repository: https://catstats.r-universe.dev
Date/Publication: 2026-08-23 02:24:33 UTC
RemoteUrl: https://github.com/catstats/q-shap_r
RemoteRef: HEAD
RemoteSha: 367f304008877d3b77ba8d06be901e61c94c4d60
NeedsCompilation: yes
Packaged: 2026-09-22 06:41:09 UTC; root
Author: Steven He [aut],
  Zhongli Jiang [aut, cre],
  Dabao Zhang [aut]
Maintainer: Zhongli Jiang <zhongli.jiang.stats@gmail.com>
