HyperAI

K-Nearest Neighbours Algorithm

K – Nearest Neighbors Algorithm KNN is a basic classification and regression algorithm that uses the K points closest to itself to vote to determine the classification of categorical data.

KNN Features

  • KNN is lazy learning
  • KNN has high computational complexity
  • Different K values lead to different classification results