When would you use Mahalanobis distance instead of Euclidean distance in KNN?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: hard
Interview Round: Other
Overview: Asks when Mahalanobis distance is a better choice than Euclidean distance for k-nearest neighbors. Tests understanding of covariance, whitening, correlated features, covariance estimation in high dimensions and the link to metric learning.