shapiq.treeΒΆ

Tree-based explanation algorithms, including TreeSHAP-IQ.

Provides TreeSHAPIQ for computing exact Shapley interaction values on tree ensembles, along with supporting data structures and algorithm variants.

Classes

TreeSHAPIQ

The TreeSHAP-IQ computation class.

TreeModel

Internal representation of a single tree used by the shapiq tree explainers.

InterventionalTreeExplainer

Any-order interventional Shapley-interaction explainer for tree models.

InterventionalGame

A cooperative game for interventional tree-based model explanations.

LinearTreeSHAP

Linear TreeSHAP explainer for first-order Shapley values on tree-based models.