| Algorithm 1:
MDST-AP algorithm |
Input: Set of objects (dataset of multidimensional attributes) Gaussian kernel parameter (in Equation (8)) M
the number of cluster parameters P (in Equation (14)) Output: C
Set of clusters (X is divided into k clusters) |
Let //responsibility and availability
= 0.5 //the damping coefficient
maxits = 1000 //maximum number of iterations
Convits = 100 //continuous invariance times of clusters
= (X- X_mean)/X_std //X is normalized to obtain a new dataset by Z-score //normalization method
For t = 1 to M //the M clustering results are obtained and the best clusters are determined//by using the DB index
= ComputeSimilarity() //similarity matrix is calculated by Equation (1) and Equation (9)
P = (, ) //preference P is optimized by Equation (14)
If maxits <= 1000 and Convits <= 100 Then
and are calculated by Equation (2) and Equation (3)
else //when clustering reaches 1000 iterations, or the cluster center continues 100 //unchanged the final clustering result is reached
clusters = ComputeCluster(r + a, ) //the cluster center is determined according to r + a
DB_Index is calculated by Equation (15)
End If
End For
|