You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/notebooks/language_notebooks/language_model_game.ipynb
+7-8Lines changed: 7 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -502,22 +502,21 @@
502
502
"metadata": {},
503
503
"outputs": [],
504
504
"source": [
505
-
"text = \\\n",
506
-
"\"\"\"\n",
505
+
"text = \"\"\"\n",
507
506
"shapiq is a valuable Python library designed for Explainable AI (XAI), focusing specifically on approaches like\n",
508
507
"Shapley values and their extensions. Its core strength lies in providing a unified framework to compute not only individual feature attributions but also sophisticated interaction indices (e.g., Shapley Interaction Index, Banzhaf Index). This allows users to gain deeper insights into how features collaborate or conflict within complex machine learning models, going beyond simple importance scores. A notable weakness stems from the inherent computational complexity of these game-theoretic measures. Calculating exact values, especially for higher-order interactions, is often infeasible, and even approximations can be computationally intensive and time-consuming, particularly for models with many features or large datasets. Despite this, shapiq remains a powerful tool for detailed model inspection.\n",
0 commit comments