k-Nearest Neighbors (KNN)

The k-Nearest Neighbors (KNN) family of classification algorithms and regression algorithms is often referred to as memory-based learning or instance-based learning. Sometimes, it is also called lazy learning.

These terms correspond to the main concept of KNN. The concept is to replace model creation by memorizing the training data set and then use this data to make predictions.