APPLICATION OF SUPERVISED LEARNING
MACHINE LEARNINGHARD QUESTIONS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Which of the following is true about Manhattan distance?
|
It can be used for continuous variables
|
|
It can be used for categorical variables
|
|
It can be used for categorical as well as continuous
|
|
None of these Manhattan Distance is designed for calculating the distance between real valued features.
|
Explanation:
Detailed explanation-1: -Summing up all the differences between the vectors will give the manhattan distance. The method is used for the continuous type variables. Option(A) for continuous variables is correct.
Detailed explanation-2: -The Manhattan distance, also called the Taxicab distance or the City Block distance, calculates the distance between two real-valued vectors. It is perhaps more useful to vectors that describe objects on a uniform grid, like a chessboard or city blocks.
Detailed explanation-3: -Moreover, you can also use Hamming distance to measure the distance between categorical variables.
There is 1 question to complete.