StackedML
Practice
Labs
Questions
Models
Pricing
Sign in
Questions
/
Supervised Learning
/
Other Models
/
KNN (distance metrics)
← Previous
Next →
426.
KNN Prediction Mechanism
easy
How does a K-nearest neighbors classifier make a prediction for a new data point?
A
It selects the single closest training point and returns its label as the prediction
B
It finds the K closest training points and returns the majority class among them
C
It builds a local linear model using the K nearest points and evaluates it at the query location
D
It computes the weighted average of all training points scaled by their distance to the query point
Sign in to verify your answer
← Back to Questions