What kind of distance metric(s) are suitable for categorical variables to find the closest neighbors?
A. Euclidean distance.
B. Manhattan distance.
C. Minkowski distance.
D. Hamming distance.
Answer:D
What kind of distance metric(s) are suitable for categorical variables to find the closest neighbors?
A. Euclidean distance. B. Manhattan distance. C. Minkowski distance. D. Hamming distance.
Explanation: Hamming distance is a metric for comparing two binary data strings, i.e., suitable for categorical variables.