Join the conversation
![](https://codanics.com/wp-content/uploads/2024/04/IMG_20240410_175137-1-scaled.jpg)
Use Euclidean distance for continuous data and geometric measurements, and Manhattan distance for categorical, ordinal, or discrete data, as it ignores diagonal movements and focuses on step-by-step changes.
Reply
![](https://codanics.com/wp-content/uploads/2024/04/IMG_20240410_175137-1-scaled.jpg)
Done
Reply
![](https://codanics.com/wp-content/uploads/2024/02/new-pic.jpg)
It's better to use Minkowski Distance, because of its flexibility.
Reply
![](https://codanics.com/wp-content/uploads/2023/10/e24e3cc0-f9cd-49cc-9e5e-e7fea619bd42.jpg)
Euclidean distance and Manhattan distance are both distance metrics used in various fields, particularly in mathematics, computer science, and machine learning.
Reply
![](https://codanics.com/wp-content/uploads/2024/05/My_profile_pic.jpg)
Euclidean distance and Manhattan distance are both distance metrics used in various fields, particularly in mathematics, computer science, and machine learning.
Reply
![](https://codanics.com/wp-content/uploads/2024/02/2.jpg)
For flexibility usage, we consider the Minkowski Distance through p-values of Euclidean and Manhattan distances in a single equation.
Reply
![](https://codanics.com/wp-content/uploads/2023/10/9dd24f5a-b137-440a-baba-1855925152a0.jpg)
The reason why we use Mann-Kewsky distance instead of Euclidean distance and Manhattan distance is because of its flexibility, and sometimes the nature of the data is such that we have to use both because we want to check the comparison.
Reply