In view of the problem of insufficient memory caused by the increase of iterative computation in the process of mass data processing in K-means algorithm
this paper proposes K-means algorithm of Spark parallization.the algorithm uses particle swarm optimization (PSO) to improve the global search ability of K-means to get the initial clustering center.Through the iterative computing power of Spark
the K-means algorithm is combined with the Spark parallel framework to improve the processing speed of the model and reduce the overall running time of the algorithm.The experiment was carried out by disease detection data
the experimental results show that the Spark parallelized PSOK-means algorithm greatly improves the efficiency and accuracy of the algorithm
It will be good application scenarios for the clustering of massive data.
关键词
Keywords
references
Liu J M, HAN Lichuan, HOU Liwen. Cluster analysis based on particle swarm optimizaiton algorithm[J]. System Engineering Theory and Practice, 2005, 6: 118-123. DOI: 118
Shboul B A, Myaeng S H. Initializing K-Means using Genetic Algorithms[C]//World Academy of Science, Engineering and Technology. IEEE, 2009.
Pal S K, Wang P P. Genetic algorithm for pattern recognition[M]. CRC Press, 1996.
Ahmadyfard A, Modares H. Combining PSO and kmeans to enhance data clustering[C]//International Symposium on Telicommunications. IEEE, 2008.
Alsabti K, Ranka S, Singh V. An efficient K-Means clustering algorithm[J]. Electrical Engineering and Computer Science, 1997, 23 (11): 1067-1080. DOI: 1067
Li J J, Yang X, Lu Y M, et al. Survey of particle swarm clustering algorithms[J]. Application Research of Computers, 2009, 26 (12): 4423-4427. DOI: 4423