—
SVD, best rank one, and PCA energy
Tutor me on https://mlprep.iwase.dev/item/math-la-08-svd-low-rank-pca/. This is a screening item. If window.mlPrepAgent is available, read attempts for item math-la-08-svd-low-rank-pca before tutoring. Inspect my attempt, keep the item ID, and do not reveal the full answer first. After a real attempt, append its record with recorded_by agent, include agent_session_id when available, and read it back.Problem
Let . Give one SVD of , its best rank- approximation in Frobenius norm, and the approximation error. If are the singular values of a centered data matrix, what fraction of its total squared variation is retained by the first principal component?
Reveal answer or reference solution
Since is diagonal with positive diagonal entries, one SVD is . By Eckart-Young, retain only the largest singular value:
The Frobenius error is
For a centered data matrix with these singular values, the first principal direction is the first right singular vector , and the retained squared variation is
Previous attempts
Loading attempts saved in this browser…