Help for this page

Select Code to Download


  1. or download this
    C1 = (s2,s3,m3,w3), with centroid(z) = s2
    
    ...
    
    we skip including this: sim(s2,s2)=1
    We never compare a centroid with itself.
    
  2. or download this
    C2 = (s3,m1,w3), with centroid(z) = w3
    
    ...
       Total = 0.9
       |C2| = 3
    Density = Total/|C2| = 0.9/3= 0.3