adspace


Why is manhattan distance not used in knn machine learning algorithm to calculate the distance between nearest neighbors?

Answer Posted / Krishn Mohan Pandey

The reason Manhattan distance is not typically used in the k-nearest neighbors (knn) algorithm is because it considers only the absolute differences along each feature dimension. This can lead to a less accurate calculation of similarity for data that exhibits skewness or non-linear patterns, as it ignores the direction of change in the features. Euclidean distance, which is more commonly used in knn, takes into account both the magnitude and direction of differences between points, resulting in a more suitable measure of similarity.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell us do you have research experience in machine learning?

224


What are standardization and normalisation? Give one advantage of each over the other?

149


Tell me what are the last machine learning papers you've read?

292


Do you have research experience in machine learning?

154