What is the explained variance ratio in PCA?

Quick Overview

Explain what the explained variance ratio of a principal component is and how cumulative explained variance helps choose how many components to keep. Tests the eigenvalue definition, scale dependence, and the difference between variance and predictive relevance.

What is the explained variance ratio in PCA?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: easy

Interview Round: Other

What is the explained variance ratio in PCA? ```hint Go through the eigenvalues Relate each principal component to an eigenvalue of the covariance matrix, then think about what all the eigenvalues add up to. ``` ### What a Strong Answer Covers - The definition as a ratio of eigenvalues, and what the denominator represents - Cumulative explained variance and how it is used to choose the number of components - How to read it in practice, for example in scikit-learn - Scale dependence and when to standardize first - Why a high ratio does not imply predictive relevance ### Follow-up Questions - On raw data the first component explains 98% of the variance. What would you check before trusting that? - How does the cumulative explained variance relate to reconstruction error? - The cumulative curve has no clear elbow. How would you choose the number of components?

Overview: Explain what the explained variance ratio of a principal component is and how cumulative explained variance helps choose how many components to keep. Tests the eigenvalue definition, scale dependence, and the difference between variance and predictive relevance.

General logo
General
Nov 25, 2026
easyMachine Learning EngineerOtherMachine Learning
0
0

What is the explained variance ratio in PCA?

What a Strong Answer Covers Guidance

  • The definition as a ratio of eigenvalues, and what the denominator represents
  • Cumulative explained variance and how it is used to choose the number of components
  • How to read it in practice, for example in scikit-learn
  • Scale dependence and when to standardize first
  • Why a high ratio does not imply predictive relevance

Follow-up Questions Guidance

  • On raw data the first component explains 98% of the variance. What would you check before trusting that?
  • How does the cumulative explained variance relate to reconstruction error?
  • The cumulative curve has no clear elbow. How would you choose the number of components?