Parts list / Item 7
Extending KNN classifiers
- Type
- Paper
- Tools
- Python, LaTeX
- When
- Intro to ML
A research paper testing three weighted-voting extensions to k-nearest neighbors on the Statlog Vehicle Silhouettes dataset.


What I did
- Implemented inverse-distance weighting, Dudani's WKNN, and dual-distance DWKNN from scratch
- Benchmarked all four models across k = 1–22 with accuracy plots, confusion matrices, and precision/recall/F1
- Accuracy stayed near 70% because the two sedans are hard to tell apart, but WKNN and DWKNN cut variation across k by about 27%