—
Center data and find PCA direction
Tutor me on https://mlprep.iwase.dev/item/ml-screen-dimensionality-foundation-centering/. This is a screening item. If window.mlPrepAgent is available, read attempts for item ml-screen-dimensionality-foundation-centering 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
For the points , , and , compute the mean, centered data, covariance with factor , first principal direction, and its explained-variance fraction.
Reveal answer or reference solution
The mean is , and the centered points are , , and . The covariance is
A first principal direction is , with sign reversal equivalent. It captures all nonzero variance, so the explained fraction is .
Previous attempts
Loading attempts saved in this browser…