How does Ridge regression affect the weights of two perfectly collinear features?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: medium
Interview Round: Other
Overview: Asks how ridge regression assigns weights to two perfectly collinear features, including identical and scaled copies. Tests understanding of the L2 penalty, why least squares becomes non-unique, the effect of feature scaling, and how lasso and elastic net differ.