sharkpy.shapash_integration

Attributes

SmartExplainer

Functions

explain_with_shapash(self[, title_story, display])

Create an interactive dashboard using Shapash to explain the model's predictions.

Module Contents

sharkpy.shapash_integration.SmartExplainer = None[source]
sharkpy.shapash_integration.explain_with_shapash(self, title_story=None, display=True)[source]

Create an interactive dashboard using Shapash to explain the model’s predictions.

Parameters:
  • title_story (str, optional) – Title for the Shapash dashboard

  • display (bool, optional) – Whether to display the dashboard immediately (default: True)

Returns:

app – The Shapash web application object

Return type:

shapash.webapp.smart_app.SmartApp

Notes

  • Requires the shapash package to be installed.

  • Warning: The dashboard may expose sensitive data from your features and predictions. Use caution with untrusted environments.