4 ms·
Finding nearest neighbors isn't an algorithm, it is a goal. There are many different algorithms to accomplish that. This is more about what certain functions d
by CyberDildonics 6y ago
Finding nearest neighbors isn't an algorithm, it is a goal. There are many different algorithms to accomplish that. This is more about what certain functions do in python.
- shsharma 6y agoNot sure where in the post you felt that the finding nearest neighbour is considered as an algorithm. Couldn't agree with you less, anyway.
- CyberDildonics 6y agoThe title is "Introduction to K-nearest neighbor algorithm" The first sentence is "KNN also known as K-nearest neighbor is a supervised and pattern classification learning algorithm" If someone said 'the triangle rendering algorithm' they would be asked 'which triangle rendering algorithm'.
- mattkrause 6y agoIf you wanted to be totally unambiguous, “the k-nearest neighbor classification algorithm” might be better, but it’s pretty common to abridge that to “nearest neighbors” or “KNN” in a machine learning context. You are absolutely right that there are many ways to efficiently find those neighbors, but the classification algorithm itself doesn’t care; it’s implementation detail.