LESSON 4.60 · 5 STAGES · 2 CONTROLS · 3 CHECKSPRO · PREVIEW
SHAP
Watch SHAP split one house's predicted price among its four features.
Pro lesson. Stage 1 is free to watch. Pro opens all 5 stages, 2 controls and 3 checks, in this lesson and every other.
Go Pro · $8.25/moEXPLAINER · 4.60 · SHAP BAYφ₀ 195.9 · f(x) 192.5 · GAP −3.4 K$
01
Stage 1 of 5 · Base value
The base value is the mean model price of 24 training houses, 195.9 k$. SHAP explains why house 65 gets 192.5 k$.
Explain it simply
Each teal dot is one training house, placed at the price the model gives it. The dashed line is their average, 195.9 thousand dollars. That's the model's guess when it knows nothing about a house. House 65 gets 192.5, 3.4 thousand dollars below, and SHAP splits that gap among the four features.
Twenty-four dots on a price axis. The base value line is at 195.9 k$. The line of house 65 is at 192.5 k$.
houses and featuresprices, pushes uppushes downweights
Toy: 4.58's 24 training houses, 4 features, 30 boosted trees
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
The base value is the mean prediction over the training houses.
PRO LESSON · YOU WATCHED STAGE 1 OF 5
Unlock the full explainer
- 4 more stages and 2 live controls
- 2 mix-up cards and 3 predict-then-reveal checks
- Watch it as a narrated video, in three voices
- Every Pro lesson and capstone · 656 in total
$99 a year, or $15 a month. Cancel any time.