Research Article

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

Algorithm 1

AIF-SLI- -NN.
Input: The dataset .
Output: Candidate set .
(1) Initial candidate set ;
(2) Construct the Gram matrix based on (2);
(3) Compute vector with ;
(4) Determine a threshold ;
(5) for all data points in
(6)  if data point with local density ,
(7)   Mark data point as a candidate initial center, that is ;
(8)  end if
(9) end for