KNN Algorithm from Scratch

Implementation and Details Explanation of the KNN Algorithm

Md. Zubair
Towards Data Science
5 min readNov 16, 2022

--

Photo by Guillermo Ferla on Unsplash

Background of KNN

KNN stands for K nearest neighbour. The name itself suggests that it considers the nearest neighbour. It is one of the supervised machine learning algorithms. Interestingly we can solve both classification and regression problems with the algorithm. It is one of…

--

--

I am a university lecturer at CS dept. like to write series of articles on Data Science Guideline. For Contact - https://www.linkedin.com/in/zubair063/