0PricingLogin
Data Science Academy · Lesson

k-Nearest Neighbors

Classifying by closest examples.

Judged by Your Neighbors

k-Nearest Neighbors classifies a point by looking at the examples closest to it. Birds of a feather end up in the same class. 🐦

No Real Training

kNN is a lazy learner: it just memorizes the data. The real work happens later, when a new point asks for a label.

All lessons in this course

  1. Logistic Regression for Yes/No
  2. k-Nearest Neighbors
  3. Decision Trees and Random Forests
  4. Gradient Boosting Essentials
← Back to Data Science Academy