Why is SVD of the data matrix numerically preferred over eigendecomposition of the covariance matrix for PCA?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: medium
Interview Round: Other
Overview: A numerical linear algebra question about computing principal component analysis through the SVD of the data matrix versus an eigendecomposition of the covariance matrix. It tests understanding of conditioning, floating-point precision, how PCA outputs map to the SVD, and solver trade-offs.