Introducing k-Nearest Neighbors

Understanding the fundamentals of this classification model

Peter Grant
Towards Data Science
3 min readJul 21, 2019

--

The k-nearest neighbors algorithm is based on a very simple premise: That things that are close together have a lot in common. This premise can be seen all over the world:

  • The closest neighbors of college students are typically other college students.

--

--

Water heating team leader at Lawrence Berkeley National Laboratory. Manages teams of 15+ people on multi-million dollar projects developing novel technologies.