Comparison and Introduction of Different Distance Metrics in KNN

Comparison and Introduction of Different Distance Metrics in KNN

Source: DeepHub IMBA This article is about 4200 words long and is recommended to be read in over 10 minutes. This article demonstrates the use of KNN with three different distance metrics. The k-nearest neighbors (KNN) algorithm is a simple yet powerful algorithm that can be used for classification and regression tasks. It is easy … Read more

Understanding KNN Algorithm Through a Matchmaking Story

Understanding KNN Algorithm Through a Matchmaking Story

This article is reprinted from the public account Xinkou Dushuo KNN is a fundamental data classification algorithm in machine learning. Here, I will explain its utility through a story. Let’s start with a joke. During a matchmaking event, a beautiful girl asked the young man: Do you have a three-bedroom apartment? The young man: No. … Read more