UGC-NET Jun 2019 · Data Normalization & Discretization

MCQ · 2 marks · Problem DBMS-DTRN-0009

K-mean clustering algorithm has clustered the given $8$ observations into $3$ clusters after $1$st iteration as follows: $C1: \: \{(3,3), (5,5), (7,7) \}$ $C2: \: \{(0,6), (6,0), (3,0) \}$ $C3: \: \{(8,8), (4,4)\}$ What will be the Manhattan distance for observation $(4,4)$ from cluster centroid $C1$ in the second iteration?
  1. A
    $2$
  2. B
    $\sqrt{2}$
  3. C
    $0$
  4. D
    $18$

Solve it on GATE DA practice →More Data Transformation problems

Show the worked solution\[\boxed{\mu_{C1}=\frac{1}{|C1|}\sum_{x\in C1}x,\qquad d_{1}(p,q)=|p_1-q_1|+|p_2-q_2|}\]For the second iteration the centroid of C1 is recomputed:\[\mu_{C1}=\Big(\frac{3+5+7}{3},\frac{3+5+7}{3}\Big)=(5,5).\]\[d_1\big((4,4),(5,5)\big)=|4-5|+|4-5|=2.\]Answer: A

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com