huangminz

  • 2020年3月29日
  • 注册于 2020年3月15日
  • compare the results of the single run to the 2,500 runs.For the two results, compute the sum of squared residuals given by

    SSR=g=1Gi:xiCgd(xi,cˉg)2\text{SSR} = \sum_{g = 1}^G \sum_{i: \mathbf{x}_i \in C_g}d(\mathbf{x}_i,\bar{\mathbf{c}}_g)^2
    where GG is the number of groups, CgC_g is the set of points in cluster gg, and d(xi,cˉg)d(\mathbf{x}_i,\bar{\mathbf{c}}_g) is the Euclidean distance between xi\mathbf{x}_i and the mean of its cluster cˉg\bar{\mathbf{c}}_g.

    对于single run 而言是 算出每组的 Euclidean distance 的平方然后根据组内有多少da ta
    data相加 , 但是如何算2500组的SSR呢