Examveda

What is the primary purpose of a k-nearest neighbors (KNN) algorithm in machine learning?

A. To build decision trees

B. To classify data points based on neighbors

C. To visualize data relationships

D. To fit linear regression models

Answer: Option B


This Question Belongs to Data Science >> Machine Learning Algorithms

Join The Discussion

Related Questions on Machine Learning Algorithms