LESSON 4.34 · 6 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW
PCA
Watch PCA turn the axes to where the Swiss roll spreads most.
Pro lesson. Stage 1 is free to watch. Pro opens all 6 stages, 3 controls and 3 checks, in this lesson and every other.
Go Pro · $8.25/moEXPLAINER · 4.34 · PCA BAYMEAN (0.08, 10.95, 0.05) → 0
01
Stage 1 of 6 · Center the data
PCA first subtracts the mean μ = (0.08, 10.95, 0.05) from each point.
Explain it simply
Each mark is one point on the sheet, with three features: x, the height h, and z. The cross is their mean, the average point. Every point slides by the same amount, so the mean lands on 0. On the right, each feature now has a mean of 0.
The 120 points of the flat sheet in 3-D, in four clusters A to D. Their mean (0.08, 10.95, 0.05) moves to 0, and every point moves with it. Three strips show x, h and z, each with its mean now at 0.
points, their mean, C and Kdirections u, PC1–PC3 and eigenvalues λscores: feet on u, the mapgaps: the variance a direction losesmatrix cells and axes
Toy: the 4.C4 Swiss roll · 120 points · 3 features · keep 2 of 3 · stage 6: 16 points on two rings
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
Each point moves by minus the mean, so the new mean is 0.
PRO LESSON · YOU WATCHED STAGE 1 OF 6
Unlock the full explainer
- 5 more stages and 3 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.