K-nearest neighbors from scratch in pure Python
philippmuens.com