Data Science from the ground up
The Basics: KNN for classification and regression
Building an intuition for how KNN models work
Published in
11 min readOct 18, 2019
Data science or applied statistics courses typically start with linear models, but in its way, K-nearest neighbors is probably the simplest widely used model conceptually. KNN models are really just technical implementations of a common intuition, that things that share similar features tend to be, well, similar. This is hardly a deep insight, yet these practical implementations can be…