PCA Checkpoint

Trace covariance, power iteration, deflation, and reuse of fitted components; diagnose rank and scaling mistakes.


Get every question correct to pass this checkpoint. You can review feedback, revise your answers, and submit again.

1. Centered observations are [[-2,0],[2,0]]. What is C[0][0] under this exercise's covariance convention?

Select one answer.

2. A fitted PCA has components stored as k rows of width d. Which projection has shape (n,k)?

Select one answer.

3. For C=diag(9,3), start in direction [1,1]. After one power multiplication, what is the first-to-second coordinate ratio? Enter a number.
4. After extracting v=[1,0] with eigenvalue 9 from C=diag(9,3), what should deflation leave?

Select one answer.

5. Rank-one data produces two identical unit component rows. Shapes and individual lengths pass. Which check exposes the defect?

Select one answer.

6. PCA fitted mean=[2,10] and component=[[1,0]]. What scalar coordinate does transform([[5,99]], component, mean) return? Enter a number.
7. All training rows are identical. You request two components in two dimensions. Which result obeys the exercise contract?

Select one answer.

8. Feature units are meaningful and a low-variance feature separates classes. Which conclusion is justified before using PCA?

Select one answer.

Join Discord