By Kardi Teknomo, PhD .

KNN e-book

Share this: Google+
| Next >

K Nearest Neighbor Tutorial

This tutorial is an introduction to an instance based learning called K-Nearest Neighbor or KNN algorithm. KNN is part of supervised learning that has been used in many applications in the field of data mining, statistical pattern recognition, image processing and many others. Some successful applications are including recognition of handwriting, satellite image and EKG pattern. Instead of using sophisticated software or any programming language, I will use only spreadsheet functions of Microsoft Excel, without any macro. If you purchase the ebook of this tutorial, you can download the spreadsheet companion of this tutorial.

First, you will learn KNN for classification , then we will extend the same method for smoothing and prediction in solving time series data.

Topics of this tutorial are:

What is K-Nearest Neighbor (KNN) Algorithm ?
How K-Nearest Neighbor (KNN) Algorithm works?
Numerical Example (hand computation)
KNN for Smoothing and Prediction
KNN for Interpolation, Smoothing
KNN for Extrapolation, Prediction, Forecasting
How do we use the spreadsheet for KNN?
Strength and Weakness of K-Nearest Neighbor Algorithm
Resources for K Nearest Neighbors Algorithm

Give your feedback and rate this tutorial

Read it off line on any device. Click here to purchase the complete E-book of this tutorial

See Also :
K means clustering , Similarity Measurement , Reinforcement Learning (Q-Learning) , Discriminant Analysis , Kernel Regression , Clustering , Decision Tree

This tutorial is copyrighted .

Preferable reference for this tutorial is

Teknomo, Kardi. K-Nearest Neighbors Tutorial. http:\\\kardi\tutorial\KNN\