Research Article

Adaptive Initialization Method Based on Spatial Local Information for -Means Algorithm

Algorithm 3

Determining initial centers from candidates.
Input:  cluster number , candidate set (obtained by Algorithm 1 or Algorithm 2).
Output:  Initial centers .
(1) , is random chosen from , set ;
(2) , set ;
(3) if   do
(4)  set ;
(5) repeat step (4) until .