Machine learningLesson 3 of 5 in the course Unsupervised learning

Principal Component Analysis: Computation, Interpretation, and Limits

5 flashcards · 5 quiz questions · 5 match pairs · 5 fill-in sentences · English

Lesson progress
0 / 5

Your progress is kept in this browser only.Sign up to save it

Summary

Principal component analysis (PCA) is a linear method for simplifying data with many variables. It creates new directions that capture the greatest possible variation, helping us explore, visualize, and prepare data for further analysis.

A dataset may contain many measured variables, and some may carry overlapping information. For example, height measured in inches and height measured in centimeters are strongly related. Keeping both can add complexity without adding much new information.

All flashcards

What is PCA?
PCA is a linear transformation that creates orthogonal directions ordered by how much variance they capture, often allowing data to be represented with fewer dimensions.
What is a principal component?
A principal component is a unit direction formed from the original features. Its component score is the projection of an observation onto that direction.
How is the first principal component selected?
It is the unit direction that maximizes the variance of the projected observations.
What makes later components distinct from earlier ones?
Each later component is orthogonal to the preceding components and captures as much as possible of the variation remaining after those directions.
What does the ellipsoid analogy explain?
The ellipsoid's axes represent principal directions, and the spread along each axis represents variance. Long axes capture more variation than short axes.

Quiz questions

  1. What is the effect of standardizing every feature to unit variance before PCA?Answer: It gives a correlation-based analysis rather than one based on raw covariances.
  2. For the SVD B=UΣVTB = U\Sigma V^T of centered data, which vectors give the principal directions?Answer: The columns of VV, the right singular vectors.
  3. What does the Eckart–Young result say about a truncated rank-LL SVD?Answer: It gives the closest rank-LL approximation in Frobenius norm.
  4. How does factor analysis differ from PCA in its main aim?Answer: Factor analysis models shared variance using latent factors, while PCA summarizes total variance.
  5. Which objective does PCA optimize when selecting its leading components?Answer: Capturing the greatest variance in the data.

Based on the Wikipedia article Principal component analysis, licensed CC BY-SA 4.0. Adapted into a summary, flashcards and quizzes.

All Machine learning lessons