Structured thesis with preliminary math or code; actively developing.
Digital Garden
🌿 What is a Digital Garden?
Rooted in Andy Matuschak & Maggie Appleton's evergreen note taxonomy: articles are not ephemeral chronologies, but living organisms tended over time:
- 🌱 Seedling: Raw inspiration, reading logs, open questions
- 🌿 Budding: Structured thesis, early proofs, actively revised
- 🌳 Evergreen: Closed logic, enduring, foundational reference
- 🔬 Speculative: Empirical hypotheses coupled with lab instruments
Scope note. This English overview summarizes a Chinese tutorial with code and plotting examples. It does not claim that the examples were independently rerun or that a SHAP explanation establishes a causal reason for a prediction.
What a SHAP value represents
SHAP applies the Shapley-value idea from cooperative game theory to feature attribution. For an individual prediction, it assigns each feature an additive contribution relative to a reference value, averaging the feature’s marginal contribution across possible feature subsets under the chosen explanation setup.
This provides a consistent accounting framework for a model output, but the result depends on the model, background distribution, and assumptions used to handle missing or dependent features. An attribution explains how a model’s prediction changes under that setup; it does not show that changing the feature would cause the real-world outcome to change.
Explainers and plots in the tutorial
The source introduces several explainers:
- TreeExplainer for tree-based models.
- LinearExplainer for linear models.
- KernelExplainer as a model-agnostic option, with higher computational cost.
- DeepExplainer for supported deep-learning models.
It also walks through visualizations such as force plots and summary-style plots to inspect individual and global patterns. The appropriate explainer and plot depend on the model and the question; global summaries can hide variation between cases.
Read explanations with care
Feature correlation, reference-data choices, model limitations, and implementation details can all affect interpretation. SHAP is one tool for auditing model behavior, not a substitute for validation, domain review, or causal analysis.
See the Chinese article for formulas, code examples, and additional visualization walkthroughs.
Article concept network
Explore sections and explicit terms from the text. Dashed lines connect repeated concepts, not causal claims.
8 / 8 nodes · marked terms and named concepts from the text
Explaining Model Predictions with SHAP
Read in context ↗