P1: [2, 3, −1], P2: [3, 1, 1], P3: [5, −2, 3] and P4: [3, 3, 3].
Hierarchical Agglomerative Clustering is used to cluster the above points. If Manhattan Distance is used as the distance metric during clustering, which of the following options indicates the two points that will be merged first?
D
Step-by-Step Solution
Insight: The first merge in hierarchical clustering is simply the pair of points with the absolute minimum pairwise distance.
Exam route: Calculate the Manhattan distance for all 6 pairs of the 4 points. The pair with the smallest sum of absolute coordinate differences merges first.
Learning route:
Step 1: Recall the 3D Manhattan distance formula: .
Step 2: Compute distances systematically:
Step 3: Identify the minimum. The smallest distance is 4, which occurs between and .
Trap warning: When calculating , the z-term is . A common mistake is writing . Always keep the subtraction sign intact inside the absolute value.