An open API service indexing awesome lists of open source software.

https://github.com/rupav/knn-implementation

from scratch, KNN implementation and plot
https://github.com/rupav/knn-implementation

dataset knn knn-classification machine-learning nearest-neighbours-classifier plot

Last synced: 8 months ago
JSON representation

from scratch, KNN implementation and plot

Awesome Lists containing this project

README

          

# KNN-Implementation
from scratch, KNN implementation and plot

Pandas was used, dataset used is Breast Cancer dataset from Kaggle.
first data cleaning was done.
KNN function was created, keeping in mind input parameters.
to bring modularity, another function was created so as to run the previous function made.
during data clining, histogram was chosen to filter the data to only 2 columns for plotting KNN.

in data there are 32 features, 1st useless, 2nd being target, and rest 30 are 3x10 columns, with 10 features' mean,std and worst reults divided in 3 groups
we take mean data only for KNN plotting which is further cleaned.