Crandore Hub

qshap

Fast Calculation of Feature Contributions in Boosting Trees

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>.

Versions across snapshots

VersionRepositoryFileSize
1.0 rolling linux/jammy R-4.5 qshap_1.0.tar.gz 192.4 KiB
1.0 rolling linux/noble R-4.5 qshap_1.0.tar.gz 195.0 KiB
1.0 rolling source/ R- qshap_1.0.tar.gz 32.8 KiB
1.0 latest linux/jammy R-4.5 qshap_1.0.tar.gz 192.4 KiB
1.0 latest linux/noble R-4.5 qshap_1.0.tar.gz 195.0 KiB
1.0 latest source/ R- qshap_1.0.tar.gz 32.8 KiB
1.0 2026-04-26 source/ R- qshap_1.0.tar.gz 32.8 KiB
1.0 2026-04-23 source/ R- qshap_1.0.tar.gz 32.8 KiB
1.0 2026-04-09 windows/windows R-4.5 qshap_1.0.zip 515.0 KiB

Dependencies (latest)

Imports

LinkingTo

Suggests