1

What is the main purpose of the K-nearest neighbors (K-NN) algorithm in machine learning?

Correct Answer: To classify data points based on the majority class among their K nearest neighbors

Make the most of this question

This page focuses on one Data Science MCQs question from Programming. After checking the answer, return to the topic list to practice more or run a timed set.

Data Science MCQs MCQ: What is the main purpose of the K-nearest neighbors (K-NN) algorithm in machine learning? | Extra Education