CompTIA DataX (DY0-001) — Question 21
Which of the following distance metrics for KNN is best described as a straight line?
Answer options
- A. Radial
- B. Euclidean
- C. Cosine
- D. Manhattan
Correct answer: B
Explanation
The Euclidean distance is defined as the straight-line distance between two points in Euclidean space, making it the correct choice. Radial, Cosine, and Manhattan distances do not represent a straight line; Manhattan measures distance along grid lines, while Cosine focuses on the angle between vectors.