Next Article in Journal
Optimizing Tourism Routes: A Quantum Approach to the Profitable Tour Problem
Previous Article in Journal
Mathematical and Algorithmic Advances in Machine Learning for Statistical Process Control: A Systematic Review
Previous Article in Special Issue
Orientation-Modulated Hyperuniformity in Frustrated Vicsek–Kuramoto Systems
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Article

K-Means Community Detection Algorithm Based on Density Peaks

by
Hongyan Gao
1,
Jing Han
2,
Yue Liu
1,
Peng Zhang
1,
Bo Yang
1,
Yanqing Zu
1,
Fei Liu
1,* and
Yu Qian
1,*
1
School of Physics and Opto-Electronic Technology, Baoji University of Arts and Sciences, Baoji 721016, China
2
Physics Teaching and Research Section, Fugu Middle School of Shaanxi Province, Yulin 719499, China
*
Authors to whom correspondence should be addressed.
Entropy 2026, 28(2), 152; https://doi.org/10.3390/e28020152
Submission received: 10 December 2025 / Revised: 13 January 2026 / Accepted: 28 January 2026 / Published: 29 January 2026

Abstract

The identification of community structure is pivotal for understanding the functional characteristics of complex networks. To address the limitations of most existing community detection algorithms, which often require predefining the number of communities and lack robustness, this paper proposes a novel community detection algorithm named D-means (K-means community detection algorithm based on density peaks). This algorithm integrates the concept of density peak clustering with K-means spectral clustering, employing Chebyshev’s inequality to automatically determine the number of community centers, thereby enabling unsupervised identification of community quantities. By designing a multi-dimensional evaluation framework, the comparative experiments were conducted on LFR benchmark networks (Lancichinetti-Fortunato-Radicchi benchmark networks) and real-world social network datasets. The results demonstrate that the D-means algorithm outperforms traditional algorithms in terms of ACC (accuracy), ARI (adjusted rand index), and NMI (normalized mutual information) metrics, while also achieving improvements in runtime efficiency, showcasing strong robustness. Finally, the D-means algorithm was applied to the public transportation network of Urumqi. Empirical analysis identified 12 functionally significant transportation communities, providing theoretical support for urban rail transit optimization and commercial facility layout planning.
Keywords: complex network; community detection algorithm; D-means algorithm; density peak clustering complex network; community detection algorithm; D-means algorithm; density peak clustering

Share and Cite

MDPI and ACS Style

Gao, H.; Han, J.; Liu, Y.; Zhang, P.; Yang, B.; Zu, Y.; Liu, F.; Qian, Y. K-Means Community Detection Algorithm Based on Density Peaks. Entropy 2026, 28, 152. https://doi.org/10.3390/e28020152

AMA Style

Gao H, Han J, Liu Y, Zhang P, Yang B, Zu Y, Liu F, Qian Y. K-Means Community Detection Algorithm Based on Density Peaks. Entropy. 2026; 28(2):152. https://doi.org/10.3390/e28020152

Chicago/Turabian Style

Gao, Hongyan, Jing Han, Yue Liu, Peng Zhang, Bo Yang, Yanqing Zu, Fei Liu, and Yu Qian. 2026. "K-Means Community Detection Algorithm Based on Density Peaks" Entropy 28, no. 2: 152. https://doi.org/10.3390/e28020152

APA Style

Gao, H., Han, J., Liu, Y., Zhang, P., Yang, B., Zu, Y., Liu, F., & Qian, Y. (2026). K-Means Community Detection Algorithm Based on Density Peaks. Entropy, 28(2), 152. https://doi.org/10.3390/e28020152

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop