New Features
- adds
shapiq.TabPFNExplainer
as a specialized version of theshapiq.TabularExplainer
which offers a streamlined variant of the explainer for the TabPFN model #301 - adds a TabPFN example notebook to the documentation
- adds the
sentence_plot
function to theplot
module to visualize the contributions of words to a language model prediction in a sentence-like format - adds support for IsoForest models to explainer and tree explainer #278
- adds the
upset_plot
function to theplot
module to visualize the interactions of higher-order #290
API Enhancements
- handles
explainer.explain()
now through a common interface for all explainer classes which now need to implement aexplain_function()
method - adds the baseline_value into the InteractionValues object's value storage for the
()
interaction ifmin_order=0
(default usually) for all indices that are not ``SII```(SII has another baseline value) such that the values are efficient (sum up to the model prediction) without the awkward handling of the baseline_value attribute - renames
game_fun
parameter inshapiq.ExactComputer
togame
#297 - refactors game theory computations like
ExactComputer
,MoebiusConverter
,core
, among others to be more modular and flexible into thegame_theory
module #258 - removes warning when class_index is not provided in explainers #298
- makes abbreviations in the
plot
module optional #281 - adds support for sub-selection of players in the interaction values data class #276 which allows retrieving interaction values for a subset of players
Tests Enhancements
- improves quality of the tests by adding many more semantic tests to the different interaction indices and computations #285
New Contributors
- @JuliaHerbinger made their first contribution in #287
- @r-visser made their first contribution in #289
- @heinzll made their first contribution in #285
Full Changelog: v1.1.1...v1.2.0