Simafore provides tools and expertise to:
The Analytics Compass Blog is aimed at two types of readers:
individuals who want to build analytics expertise and
small businesses who want to understand how analytics can help them improve their business performance.
If you fall into one of these categories, join hundreds of others and subscribe now!
The k-nearest neighbor or kNN algorithm falls into a category of machine learning algorithms that are called "lazy learners" as opposed to other predictive analytics tools (such as decision trees or logistic regression or neural network models) which are called "eager learners". Why is that?
We have discussed two types of classification techniques previously: decision trees and logistic regression. This article introduces, in basic terms, a third classification technique called k-nearest neighbors or k-NN.