Question
In k-means or kNN, we use euclidean distance to calculate the distance between nearest neighbors. Why not manhattan distance ?

Answers

We don’t use manhattan distance because it calculates distance horizontally or vertically only. It has dimension restrictions. On the other hand, euclidean metric can be used in any space to calculate distance. Since, the data points can be present in any dimension, euclidean distance is a more viable option.
Example: Think of a chess board, the movement made by a bishop or a rook is calculated by manhattan distance because of their respective vertical & horizontal movements.
    Your Comment




More Manhattan Questions..
What are Manhattan, Apollo, Hedwig, Cartman, Guinness

'Roadhouse' is the ironic US Secret Service codename for what famous standard-setting luxury Art Deco hotel at 301 Park Avenue in Manhattan, New York City?

The average Manhattan wife takes 14 minutes to do what in bed

Who played Woody Allen's ex-wife in the 1979 film Manhattan?

The cauliflower was first cultivated on or in the region of what island: Cyprus; Barbados; Taiwan; or Manhattan?

Which British Prime Minister's mother, Jenny Jerome, invented the Manhattan cocktail?



Search
Can you Answer!!
  • Q The only bowler in the history of Test Cricket to claim Hat-Trick in the first over of a match?
  • Q Why was the decision made to make padding apply outside of the width of a box, rather than inside, which would seem to make more sense?
  • Q Which are the molecules that make possible active transport through membranes?
  • Q Which is not a part of ae program, options would be?
  • Q how to Configure and use Flashback Database
  • Q What is the use of dbms_output package?
  • Q What are consumers or users?
  • Q very first process created by kernel
  • Q What does Propranolol (which works on the Beta Adrenoceptors as an antagonist) do? For what disease is it used as a treatment for? What is a side effect of it?
  • Q Name all the Vowels.
  • Q What is the difference between Retesting and Regression Testing?