How chingisooinar/knn-python-implementation works
This is an educational notebook demonstrating k-nearest-neighbours classification on a customer-purchase example. The documented workflow implements and fits a kNN model, compares it with scikit-learn, and reports accuracy with a test-set visualization. The README does not identify the CSV as the notebook’s input, so no data-flow edge to it is asserted; notebook internals are not excerpted.
Main entry points: k_nearest_neighbors_from_scratch.ipynb kNN notebook
Components 5
kNN demonstration
- kNN notebook
k_nearest_neighbors_from_scratch.ipynb - Customer dataset
Social_Network_Ads.csv - Accuracy and plots
k_nearest_neighbors_from_scratch.ipynb
Other components
- Learner
- scikit-learn
Connections 3
- Learner → kNN notebook: runs demo
README.md - kNN notebook → scikit-learn: compares models
README.md - kNN notebook → Accuracy and plots: reports results
README.md