Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in AI and Deep Learning by (55.6k points)

Can you please explain Manhattan distance in Artificial Intelligence?

1 Answer

0 votes
by (119k points)

Manhattan distance in Artificial Intelligence is the sum of absolute distance between two points across all the axes. Suppose there are two points (p1, q1), (p2, q2) in two dimensions, then Manhattan distance between two points is

Manhattan distance = | p1-q1 | + | p2-q2 |

Manhattan distance is to calculate the similarity between data points or observations for classification problems and clustering.

If you want to get started in Artificial Intelligence with TensorFlow, I would recommend enrolling in this Artificial Intelligence training by Intellipaat.

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...