shapiq.approximatorΒΆ
Algorithms for approximating Shapley values and interaction indices.
All approximators inherit from Approximator and follow
a common interface: pass a Game and a computational budget, and receive
InteractionValues as output.
Classes
This class is the base class for all approximators. |
|
Permutation Sampling approximator for the SII (and k-SII) index. |
|
Permutation Sampling approximator for the Shapley Taylor Index (STII). |
|
The Permutation Sampling algorithm for estimating the Shapley values. |
|
The Stratified Sampling algorithm for estimating the Shapley values. |
|
Owen Sampling approximator for the Shapley values. |
|
The KernelSHAP regression approximator for estimating the Shapley values. |
|
Estimates the FSII values using KernelSHAP. |
|
Estimates the FBII values using KernelSHAP. |
|
The KernelSHAP-IQ regression approximator. |
|
The Inconsistent KernelSHAP-IQ regression approximator. |
|
ProxySPEX (SParse EXplainer) via Fourier transform sampling. |
|
ProxySHAP is a proxy-based approximator that uses a regression model to approximate the value function and applies an adjustment method to better match the true value function. |
|
RegressionMSR is a proxy-based approximator that uses a regression model to approximate the value function and applies the MSR adjustment method. |
|
SHAP-IQ approximator for estimating Shapley interactions. |
|
The SVARM approximator for estimating the Shapley value (SV). |
|
The SVARM-IQ approximator for Shapley interactions. |
|
The kADD-SHAP regression approximator for estimating the kADD-SHAP values. |
|
SPEX (SParse EXplainer) via Fourier transform sampling. |
|
The Unbiased KernelSHAP approximator for estimating the Shapley value (SV). |