Update v.0.0.4-alpha
New Approximators
This release adds new approximation methods to shapiq
and makes all interaction calculations faster and more memory efficient.
ShapIQ approximator
This release adds the shapiq.approximator.ShapIQ
approximator as proposed in this paper (NeurIPS'23).
ShapIQ
can approximate any cardinal interaction index (CII) like the Shapley Interaction Index (SII), the Shapley Taylor Index (STI), or the Faithful Shapley Interaction index (FSI).
Regression Estimator for FSI
The shapiq.approximator.RegressionFSI
regression estimator, which is only available for FSI, was proposed in this paper (JMLR'23). It is similar to KernelSHAP in that it leverages a weighted least squares representation for the interaction index and solves this by estimating this regression problem.
Permutation Sampling for STI
The permutation sampling currently implemented for the SII (shapiq.approximator.PermutationSamplingSII
) can also be extended to the STI. The new shapiq.approximator.PermutationSamplingSTI
uses the traditional permutation sampling approach to compute STI scores.
List of PRs
- Add FSI and STI approximation methods by @mmschlk in #7
- Add SHAP-IQ approximator by @mmschlk in #10
- Tests and Efficiency by @mmschlk in #18
- Updates docs. by @mmschlk in #20
Full Changelog: v0.0.3-alpha...v.0.0.4-alpha