How can the distance to the k-th nearest neighbor be used as an anomaly score?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: medium
Interview Round: Other
Overview: Asks how the distance to a point's k-th nearest neighbor can serve as an anomaly score. Tests whether you can lay out the scoring procedure, explain how the choice of k and feature scaling affect the result, and recognize where a global distance score breaks down.