Skip to content

v1.2.0 (2024-11-15)

Latest
Compare
Choose a tag to compare
@mmschlk mmschlk released this 15 Jan 07:41
· 1 commit to main since this release
28b7683

New Features

  • adds shapiq.TabPFNExplainer as a specialized version of the shapiq.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 the plot 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 the plot 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 a explain_function() method
  • adds the baseline_value into the InteractionValues object's value storage for the () interaction if min_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 in shapiq.ExactComputer to game #297
  • refactors game theory computations like ExactComputer, MoebiusConverter, core, among others to be more modular and flexible into the game_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

Full Changelog: v1.1.1...v1.2.0