134
4.2.9 PSO for Data Clustering
The same algorithm presented in section 4.1.1 was used by Van der Merwe and
Engelbrecht [2003] to cluster general data sets. It was applied on a set of multi-
dimensional data (e.g. the Iris plant data base) using a fitness function consisting of
e
J only. In general, the results show that the PSO-based clustering algorithm
performs better than the K-means algorithm
, which verify the results presented in this
chapter. These results are expected since, as previously mentioned, K-means is a
greedy algorithm which depends on the initial conditions, which may cause the
algorithm to converge to suboptimal solutions. On the other hand, PSO is less
sensitive to the effect of the initial conditions due to its population-based nature. Thus,
PSO is more likely to find near-optimal solutions.
4.3 Conclusions
This chapter presented a new clustering approach using PSO. The PSO clustering
algorithm has as objective to simultaneously minimize the quantization error and
intra-cluster distances, and to maximize the inter-cluster distances. Both a gbest PSO
and GCPSO algorithms have been evaluated. The gbest PSO and GCPSO clustering
algorithms were further compared against K-means, FCM, KHM, H2 and a GA. In
general, the PSO algorithms produced better results with reference to inter- and intra-
cluster distances, while having quantization errors comparable to the other algorithms.
The performance of different versions of PSO was investigated and the results
suggested that algorithms that start with high diversity and then gradually reduces
diversity perform better than other algorithms. A non-parametric version of the