When is X^T X singular (non-invertible), and how does that affect fitting a linear regression?
Role: Data Scientist
Category: Machine Learning
Difficulty: medium
Interview Round: Other
Overview: Asks when the matrix X^T X in linear regression becomes singular and what that does to fitting the model. It tests rank and linear dependence, the common causes in real feature sets, which quantities stay identified, and how each remedy trades off.