/ML-KNN

Implementation of K-Nearest Neighbors Algorithm using Python

Primary LanguagePythonMIT LicenseMIT

ML-KNN

Implementation of K-Nearest Neighbors Algorithm using Python

About

K-nearest neighbors algorithm is a simple classification algorithm. KNN algorithms use given data and classify new data points based on a similarity measures (e.g. distance function). Classification is done by a majority vote to its neighbors. The data is assigned to the class which has the most nearest neighbors. As you increase the number of nearest neighbors, the value of k, accuracy might increase.

Applications

  1. Recommender Systems - Finding similar items
  2. Political Science - Whether a voter will vote for a particular party ?
  3. Image Recognition
  4. Handwriting Detection

Pre-requisites

Download and install the following module:
1)sklearn- pip install sklearn

Author

Pranav Raikote