prophys.explain#
Explanations of surrogates and of whole probabilistic models.
Local methods attribute single predictions of a surrogate to its inputs. System methods attribute a risk statistic of a model attribute to the model’s random inputs, including the epistemic uncertainty of its surrogates.
Classes
Feature attributions of individual predictions. |
|
Shapley attribution of a statistic of one attribute to its random inputs. |
Functions
Wrap a surrogate, tree ensemble or callable as a batch prediction function. |
|
Expected gradients attributions of a differentiable model. |
|
Integrated gradients attributions of a differentiable model. |
|
Approximate interventional Shapley values by KernelSHAP. |
|
Attribute a risk statistic of a model attribute to its random inputs by Shapley values. |
|
Exact interventional Shapley values and pairwise interactions, for up to 16 features. |
|
Exact path dependent TreeSHAP attributions of a tree ensemble. |