MPE StudioMath of Planet Earth
Machine Learning Toolkit · 02

Principal Component Analysis: Definition

Center, diagonalize, and project

PCA turns the geometric intuition into a reproducible calculation: center the observations, form their covariance matrix, and use its eigenvectors as new axes.

watchone idea
→
manipulateone example
→
leave withone intuition

The essential idea: principal directions are covariance eigenvectors, ordered by their eigenvalues.

Watch the concept

One Concept · One Example

Principal Component Analysis: Definition video thumbnail▶

Principal Component Analysis: Definition

Presented by Charlotte Moser

Watch on YouTube ↗

What to notice

The idea in 30 seconds

Covariance becomes a coordinate system

Covariance eigendecomposition

A symmetric covariance matrix has orthogonal eigenvectors and nonnegative eigenvalues.

Σ=VΛVT

Projection

Centered observations are expressed in the principal-component basis.

z=VT(x−μ)
Explore

Build PCA from the covariance matrix

Change the correlation. The covariance ellipse, eigenvalues, and explained-variance ratio update together.

KEY TAKEAWAY

PCA is an eigendecomposition of centered covariance followed by projection onto the leading eigenvectors.