arrow
Return

Parallel random swap: An efficient and reliable clustering algorithm in java

delete2023-04-01
delete7
PRE
AI
L
Libero Nigro *
F
Franco Cicirelli
F
Fra, Pasi
DOI:10.1016/j.simpat.2022.102712delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Solving large-scale clustering problems requires an efficient algorithm that can also be implemented in parallel. K-means would be suitable, but it can lead to an inaccurate clustering result. To overcome this problem, we present a parallel version of the random swap clustering algorithm. It combines the scalability of k-means with the high clustering accuracy of random swap. The algorithm is implemented in Java in two ways. The first implementation uses Java parallel streams and lambda expressions. The solution exploits a built-in multi-threaded organization capable of offering competitive speedup. The second implementation is achieved on top of the Theatre actor system which ensures better scalability and high-performance computing through fine-grain resource control. The two implementations are then applied to standard benchmark datasets, with a varying population size and distribution of managed records, dimensionality of data points and the number of clusters. The experimental results confirm that high-quality clustering can be obtained together with a very good execution efficiency. Our Java code is publicly available at: https://github.com/uef-machine-learning.
Keywords:
Clustering problem
K -means
Random swap
Parallelism
Java
Streams
Lambda expressions
Actors
Multi -core machines

Journal

Simulation Modelling Practice and Theory cover
Simulation Modelling Practice and Theory
IF:
4.6
Papers:
2.6K
Citations:
4.8K

Organization

U
University of Calabria
Scholars:
8.2K
Papers: 8.0K
Citations: 7.8K
C
consiglio nazionale delle ricerche (cnr)
Scholars:
6.2W
Papers: 5.7W
Citations: 48
U
University of Eastern Finland
Scholars:
1.4W
Papers: 1.2W
Citations: 1.5W
researcher View more organizations
Cited Papers

Cited Papers

Choices, Values, and Frames
err
IF0
err2019-02-01
err0
PREAI
err
errShare
errSave
errShare
errSave
A Novel Sampling Model to Study the Epidemiology of Canine Leishmaniasis in an Urban Environment
err2021-03-08
err0
errOAAI
errLucy A. Parker; Lucrecia Acosta; Mariana Noel Gutierrez; Israel Cruz; Javier Nieto; Enrique Jorge Deschutter; Fernando Jorge Bornay-Llinares
errShare
errSave
Centroid index: Cluster level similarity measure
err2014-09-01
err83
PREAI
errFranti, Pasi; Rezaei, Mohammad; Zhao, Qinpei
errShare
errSave
Gas Turbine Performance
err
IF0
err2008-02-11
err0
PREAI
errPhilip P. Walsh; Paul Fletcher
errShare
errSave
A GPU-accelerated parallel K-means algorithm
err2019-05-01
err30
PREAI
errCuomo, S.; De Angelis, V.; Farina, G.; Marcellino, L.; Toraldo, G.
errShare
errSave
K-means properties on six clustering benchmark datasets
err2018-07-26
err345
PREAI
errFranti, Pasi; Sieranoja, Sami
errShare
errSave
researcher View more