What distance metric would you use when features are cyclical, like angles or hours of the day?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: medium
Interview Round: Other
Overview: Asks which distance to use in nearest-neighbor models when features wrap around, such as angles or the hour of the day. Tests whether you can explain why plain differences fail, give a wrap-around distance or encoding, and scale it correctly next to other features.