Skip to content

Update v.0.0.5-alpha

Compare
Choose a tag to compare
@mmschlk mmschlk released this 18 Mar 14:23
· 551 commits to main since this release
4cb0b32

Highlights

Since the last release already is some time back, lot's has changed. The highlights are as follows:

TreeExplainer based on TreeSHAP-IQ

shapiq now is equipped with a TreeExplainer. The TreeExplainer is based on the TreeSHAP-IQ algorithm proposed in this paper. It is a model-specific method to compute Shapley interactions of all kinds and any-order. Since it is based on the linear TreeSHAP algorithm it is quite fast. The work is not yet finished on the TreeExplainer, since it only accepts very basic tree models from sklearn as input. More to follow on this front.

The first visualizations are added.

We added a new plot to the visualizations: the stacked bar chart (underwhelming name). This plot is illustrated in the TreeSHAP-IQ paper and Sebastian Bordt and Ulrike von Luxburg's AISTATS paper. The stacked bar charts shows how much interaction is present in a specific instance and is based on the k-SII values.

Major Refactoring

The codebase has changed quite drastically and many objects have been renamed (e.g. InteractionExplainer has been renamed to Tabular Explainer to better fit the more specific intend of this class). The InteractionValues (the main data structure of the package) has become much more powerful. You can now multiply scalar values to the interaction scores and even add two objects together.

Welcoming new Collaborators

We still are looking for all the help that we can get! If you want to contribute please check out the tutorial and our project.

What's Changed

Full Changelog: v.0.0.4-alpha...v.0.0.5-alpha