explainability.GlobalExplanation

class GlobalExplanation(interaction_values, *, feature_names=None, n_features=None)

Aggregated, dataset-level explanation produced by SeldonExplainer.explain_global.

Parameters:
  • interaction_values (list of shapiq.InteractionValues) – One entry per explained instance.

  • feature_names (sequence of str, optional) – Feature names for plotting and importance labelling.

  • n_features (int, optional) – Number of features. Inferred from the first instance if omitted.

Variables:
  • interaction_values (list of shapiq.InteractionValues) – The per-instance explanations.

  • feature_names (list of str or None) – Feature names, if available.