| Algorithm 1: K-means++ Clustering Algorithm |
|
Input: initial cluster number , point set
Output: cluster set /*Initialization*/ 1: randomly select an initial center uniformly from S 2: Repeat 3: choose the next clustering center by Equation (6) 4: until clustering centers selected /*Cluster Formation*/ 5: Repeat 6: cluster the points in by Equation (7) 7: update the clustering centers by Equation (8) 8: until converges |