117Implement PCA from scratch via SVD: center the data, project onto top components, report variance.▼mediumGoogleMetaNVIDIA2 replies◆ premiumA from-scratch favorite that tests linear algebra fluency. The signal is centering first, using SVD instead of forming the covariance matrix, and reading variance off the singular values. Here is the implementation and the details interviewers push on.Open full answer →
15Explain PCA and the curse of dimensionality. When and how do you reduce dimensions?▼medium★ EssentialAmazonGoogleMicrosoft2 replies○ sign inDimensionality questions test linear-algebra intuition and practical judgment at once. The signal is what PCA actually does (project onto max-variance directions), why high dimensions hurt, and the honest catch: it is unsupervised, so it can throw away the exact direction your label needs. Here is the answer.Open full answer →