What is Principal Component Analysis (PCA)?

Quick Overview

Asks what principal component analysis does, how its components are computed, and how many of them to keep. Tests whether a candidate understands variance, reconstruction error, feature scaling and where a linear method falls short.

What is Principal Component Analysis (PCA)?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: easy

Interview Round: Other

What is Principal Component Analysis (PCA)? In an ML fundamentals round, expect to explain what the method optimizes and how it behaves in practice, at more depth than a one-line definition. ```hint Start from the spread of the data Picture a cloud of points in many dimensions. If you could keep only a few directions to describe it, which directions would lose the least? ``` ### What a Strong Answer Covers - What PCA optimizes, stated in at least one of its two equivalent forms (captured variance or reconstruction error) - The computation steps, including centering, the role of feature scaling, and the link to eigendecomposition or SVD - How to pick the number of components to keep - Common uses of the reduced representation - The method's limitations and what to use when they matter ### Follow-up Questions - Why does the data have to be centered, and what goes wrong if features on different scales are not standardized first? - How do the principal components relate to the SVD of the data matrix? - PCA ignores the labels. When can that make a downstream classifier worse, and what would you use instead? - When would you choose kernel PCA or UMAP over plain PCA?

Overview: Asks what principal component analysis does, how its components are computed, and how many of them to keep. Tests whether a candidate understands variance, reconstruction error, feature scaling and where a linear method falls short.

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

What is Principal Component Analysis (PCA)?

In an ML fundamentals round, expect to explain what the method optimizes and how it behaves in practice, at more depth than a one-line definition.

What a Strong Answer Covers Guidance

  • What PCA optimizes, stated in at least one of its two equivalent forms (captured variance or reconstruction error)
  • The computation steps, including centering, the role of feature scaling, and the link to eigendecomposition or SVD
  • How to pick the number of components to keep
  • Common uses of the reduced representation
  • The method's limitations and what to use when they matter

Follow-up Questions Guidance

  • Why does the data have to be centered, and what goes wrong if features on different scales are not standardized first?
  • How do the principal components relate to the SVD of the data matrix?
  • PCA ignores the labels. When can that make a downstream classifier worse, and what would you use instead?
  • When would you choose kernel PCA or UMAP over plain PCA?