CONCEPT 29 / Unsupervised learning / Projection
Principal component analysis.
Project a three-dimensional cloud onto a plane. Compare the principal-component plane with a manually rotated one and measure retained variance.
Find the view that preserves the most spread
The 3D sample and its covariance are loaded. Rotate the projection plane.
01 / Interactive visualLoaded example
Rays connect points to their projections
Gold points are orthogonal projections onto the plane. Faint rays show the information lost along the normal.
Variance retained by projection
Coordinates on the selected plane
Why it matters
PCA is computed from the covariance matrix; orbiting the camera does not change its components.