When finding the nearest neighbors using Euclidean distance, which of the following statements about using squared Euclidean distance is ALWAYS true?
C
Step-by-Step Solution
Key idea: Squaring is a monotonic transformation for non-negative values, which preserves the relative order.
Step 1: Euclidean distance is always non-negative. The squared Euclidean distance is .
Step 2: For any two non-negative numbers and , if , then . This means the relative ordering of distances is perfectly preserved.
Step 3: Since k-NN only relies on the <b>relative order</b> of distances to find the nearest neighbors (not the actual distance values), using squared distances yields the exact same neighbors.
Step 4: This is a standard exam optimization to avoid computing square roots.
Answer: It preserves the relative ordering of distances, allowing correct identification of the nearest neighbors.