Why can ridge regression still produce a unique solution when p > n, whereas ordinary least squares fails?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: medium
Interview Round: Other
Overview: Asks why ridge regression has a single solution when there are more features than training examples while ordinary least squares does not. Tests the linear algebra behind regression: rank, null spaces, eigenvalues, strict convexity and the minimum-norm limit of the ridge estimate.