k-nn

K - NN - K - Nearest Neighbours

Description: k-NN classifies instances based on the majority class among the k-nearest neighbors in the feature space.

Key Points:

  • Simple and intuitive.
  • No explicit training phase, making it a lazy learner.
  • Sensitive to the choice of k and the distance metric.

Applications: Recommender systems, pattern recognition, anomaly detection