Skip to content

A simple python script that implements K Nearest Neighbors Algorithm. University Assignment

Notifications You must be signed in to change notification settings

danisaleem/Simple-K-Nearest-Neighbors-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple-K-Nearest-Neighbors-Python

A simple python script that implements K Nearest Neghbors Algorithm (With manual K as well as input from user)

What is K Nearest Neighbors?

K nearest neighbors is a simple algorithm that stores all available cases and classifies new cases based on a similarity measure (e.g., distance functions). KNN has been used in statistical estimation and pattern recognition already in the beginning of 1970’s as a non-parametric technique

Pre-requisites

Anaconda Python & Jupyter Notebook

One must have Python installed in his local system. Use jupyter notebook to run this script.
Download Anaconda here

Attached files

-trainData.csv -testData.csv

Releases

No releases published

Packages

No packages published