https://medium.com/@monocosmo77/state-of-k-nearest-neighbors-algorithm-in-2023-part1-machine-learning-c02f2330715f