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

  • (A) To perform regression analysis
  • (B) To cluster data into groups
  • (C) To reduce dimensionality
  • (D) To classify data points based on the majority class among their K nearest neighbors
πŸ’¬ Discuss
βœ… Correct Answer: (D) To classify data points based on the majority class among their K nearest neighbors

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
97
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
86%
Success Rate