Explain how the K-Nearest Neighbors algorithm makes a prediction for a classification problem.
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: easy
Interview Round: Other
Overview: Asks how the K-Nearest Neighbors algorithm turns a new point into a class prediction. Tests understanding of distance metrics, feature scaling, majority and distance-weighted voting, tie handling, and how the choice of K affects results.