1. Home
  2. Subjects
  3. Data Science
  4. K-Nearest Neighbors (KNN)

K-Nearest Neighbors (KNN) MCQs

24 multiple choice questions with answers in Data Science.

A simple and intuitive classification algorithm that predicts the class of a data point based on the majority class of its k nearest neighbors in the feature space.

Showing 1–24 of 24

When k-nearest neighbours is used for regression, the prediction is usually:

  1. The median of the entire training dataset
  2. The most common class among all training points
  3. The average target of the k nearest neighbours Correct answer
  4. The value of the single farthest neighbour
MCQSEXAM Read explanation

Teacher or blogger? Put this quiz on your website

Free K-Nearest Neighbors (KNN) MCQs quiz with answers for your school site, academy page or blog. Copy one line of code – works on WordPress and Blogger.

Get the quiz widget