Why is manhattan distance not used in knn machine learning algorithm to calculate the distance between nearest neighbors?
Answer / 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 |
What is the benefit of naïve bayes mcq?
Do you think that treating a categorical variable as a continuous variable would result in a better predictive model?
In what areas Pattern Recognition is used?
What are the classification problems in machine learning?
Tell us what is the difference between supervised and unsupervised machine learning?
Define a fourier transform?
What is batch normalization?
What are different types of Compilers and also define how to convert NFA to DFA?
1 Answers Tavant Technologies, Verifone,
List down various approaches for machine learning?
What are the last machine learning papers you've read?
When will you use classification over regression?
What’s your favorite algorithm, and can you explain it to me in less than a minute?
AI Algorithms (74)
AI Natural Language Processing (96)
AI Knowledge Representation Reasoning (12)
AI Robotics (183)
AI Computer Vision (13)
AI Neural Networks (66)
AI Fuzzy Logic (31)
AI Games (8)
AI Languages (141)
AI Tools (11)
AI Machine Learning (659)
Data Science (671)
Data Mining (120)
AI Deep Learning (111)
Generative AI (153)
AI Frameworks Libraries (197)
AI Ethics Safety (100)
AI Applications (427)
AI General (197)
AI AllOther (6)