/K-NearestNeighbors-Implementation

This is a project that implements the K-Nearest Neighbors (KNN) algorithm in Python. KNN is a machine learning algorithm used for classification or regression based on training data, and is an unsupervised learning model. This implementation allows you to train a KNN model on training data and classify new data.

Primary LanguageJupyter Notebook

K-NearestNeighbors-Implementation

In this repository I impemented classification algorythm called K-nearest neighbors(KNN)

This repository consits of 2 jpynb files:

  • KNN-Implementation (where I built basic implementation of algorythm)
  • KNN-Class (where I built generalized KNN class)

KNN