IDEAS home Printed from https://ideas.repec.org/a/gam/jjopen/v2y2019i2p16-235d240889.html
   My bibliography  Save this article

Research on K-Value Selection Method of K-Means Clustering Algorithm

Author

Listed:
  • Chunhui Yuan

    (Graduate institute, Space Engineering University, Beijing 101400, China)

  • Haitao Yang

    (Graduate institute, Space Engineering University, Beijing 101400, China)

Abstract

Among many clustering algorithms, the K-means clustering algorithm is widely used because of its simple algorithm and fast convergence. However, the K-value of clustering needs to be given in advance and the choice of K-value directly affect the convergence result. To solve this problem, we mainly analyze four K-value selection algorithms, namely Elbow Method, Gap Statistic, Silhouette Coefficient, and Canopy; give the pseudo code of the algorithm; and use the standard data set Iris for experimental verification. Finally, the verification results are evaluated, the advantages and disadvantages of the above four algorithms in a K-value selection are given, and the clustering range of the data set is pointed out.

Suggested Citation

  • Chunhui Yuan & Haitao Yang, 2019. "Research on K-Value Selection Method of K-Means Clustering Algorithm," J, MDPI, vol. 2(2), pages 1-10, June.
  • Handle: RePEc:gam:jjopen:v:2:y:2019:i:2:p:16-235:d:240889
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2571-8800/2/2/16/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2571-8800/2/2/16/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Robert Tibshirani & Guenther Walther & Trevor Hastie, 2001. "Estimating the number of clusters in a data set via the gap statistic," Journal of the Royal Statistical Society Series B, Royal Statistical Society, vol. 63(2), pages 411-423.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Massimo Arnone & Alberto Costantiello & Angelo Leogrande & Syed Kafait Hussain Naqvi & Cosimo Magazzino, 2024. "Financial Stability and Innovation: The Role of Non-Performing Loans," FinTech, MDPI, vol. 3(4), pages 1-41, October.
    2. Chen, Hao, 2022. "Cluster-based ensemble learning for wind power modeling from meteorological wind data," Renewable and Sustainable Energy Reviews, Elsevier, vol. 167(C).
    3. Xinghua Wang & Xixian Liu & Fucheng Zhong & Zilv Li & Kaiguo Xuan & Zhuoli Zhao, 2023. "A Scenario Generation Method for Typical Operations of Power Systems with PV Integration Considering Weather Factors," Sustainability, MDPI, vol. 15(20), pages 1-20, October.
    4. Xie, Hailun & Eames, Matt & Mylona, Anastasia & Davies, Hywel & Challenor, Peter, 2024. "Creating granular climate zones for future-proof building design in the UK," Applied Energy, Elsevier, vol. 357(C).
    5. Yunhwan Kim, 2022. "#Nomask on Instagram: Exploring Visual Representations of the Antisocial Norm on Social Media," IJERPH, MDPI, vol. 19(11), pages 1-14, June.
    6. Yunhwan Kim & Sunmi Lee, 2022. "#ShoutYourAbortion on Instagram: Exploring the Visual Representation of Hashtag Movement and the Public’s Responses," SAGE Open, , vol. 12(2), pages 21582440221, April.
    7. Hazem Noori Abdulrazzak & Goh Chin Hock & Nurul Asyikin Mohamed Radzi & Nadia M. L. Tan & Chiew Foong Kwong, 2022. "Modeling and Analysis of New Hybrid Clustering Technique for Vehicular Ad Hoc Network," Mathematics, MDPI, vol. 10(24), pages 1-27, December.
    8. Cuomo, Maria Teresa & Tortora, Debora & Colosimo, Ivan & Ricciardi Celsi, Lorenzo & Genovino, Cinzia & Festa, Giuseppe & La Rocca, Michele, 2023. "Segmenting with big data analytics and Python: A quantitative exploratory analysis of household savings," Technological Forecasting and Social Change, Elsevier, vol. 191(C).
    9. Chao Yan & Yao Yan & Zhiyu Wan & Ziqi Zhang & Larsson Omberg & Justin Guinney & Sean D. Mooney & Bradley A. Malin, 2022. "A Multifaceted benchmarking of synthetic electronic health record generation models," Nature Communications, Nature, vol. 13(1), pages 1-18, December.
    10. Ghaemi, Zahra & Tran, Thomas T.D. & Smith, Amanda D., 2022. "Comparing classical and metaheuristic methods to optimize multi-objective operation planning of district energy systems considering uncertainties," Applied Energy, Elsevier, vol. 321(C).
    11. Zhang, Ying & Robu, Valentin & Cremers, Sho & Norbu, Sonam & Couraud, Benoit & Andoni, Merlinda & Flynn, David & Poor, H. Vincent, 2024. "Modelling the formation of peer-to-peer trading coalitions and prosumer participation incentives in transactive energy communities," Applied Energy, Elsevier, vol. 355(C).
    12. Jujie Wang & Zhenzhen Zhuang, 2023. "A novel cluster based multi-index nonlinear ensemble framework for carbon price forecasting," Environment, Development and Sustainability: A Multidisciplinary Approach to the Theory and Practice of Sustainable Development, Springer, vol. 25(7), pages 6225-6247, July.
    13. Yunhwan Kim, 2023. "Exploring Organizational Self-(re)presentations on Visual Social Media: Computational Analysis of Startups’ Instagram Photos Based on Unsupervised Learning," SAGE Open, , vol. 13(4), pages 21582440231, December.
    14. Zhang, Yanquan & Chang, Ruidong & Zuo, Jian & Shabunko, Veronika & Zheng, Xian, 2023. "Regional disparity of residential solar panel diffusion in Australia: The roles of socio-economic factors," Renewable Energy, Elsevier, vol. 206(C), pages 808-819.
    15. Heller, Yuval & Tubul, Itay, 2023. "Strategies in the repeated prisoner’s dilemma: A cluster analysis," MPRA Paper 117444, University Library of Munich, Germany.
    16. Yao, S. & Peralta-Braz, P. & Alamdari, M.M. & Ruiz, R.O. & Atroshchenko, E., 2024. "Optimal design of piezoelectric energy harvesters for bridge infrastructure: Effects of location and traffic intensity on energy production," Applied Energy, Elsevier, vol. 355(C).
    17. Şebnem Koltan Yılmaz & Sibel Şener, 2022. "Analysis of The Countries According to The Prosperity Level with Data Mining," Alphanumeric Journal, Bahadir Fatih Yildirim, vol. 10(2), pages 85-104, December.
    18. Yen, Barbara T.H. & Li, Jun-Sheng, 2022. "Route-based performance evaluation for airlines – A metafrontier data envelopment analysis approach," Transportation Research Part E: Logistics and Transportation Review, Elsevier, vol. 162(C).

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Thiemo Fetzer & Samuel Marden, 2017. "Take What You Can: Property Rights, Contestability and Conflict," Economic Journal, Royal Economic Society, vol. 0(601), pages 757-783, May.
    2. Daniel Agness & Travis Baseler & Sylvain Chassang & Pascaline Dupas & Erik Snowberg, 2022. "Valuing the Time of the Self-Employed," CESifo Working Paper Series 9567, CESifo.
    3. Orietta Nicolis & Jean Paul Maidana & Fabian Contreras & Danilo Leal, 2024. "Analyzing the Impact of COVID-19 on Economic Sustainability: A Clustering Approach," Sustainability, MDPI, vol. 16(4), pages 1-30, February.
    4. Li, Pai-Ling & Chiou, Jeng-Min, 2011. "Identifying cluster number for subspace projected functional data clustering," Computational Statistics & Data Analysis, Elsevier, vol. 55(6), pages 2090-2103, June.
    5. Yaeji Lim & Hee-Seok Oh & Ying Kuen Cheung, 2019. "Multiscale Clustering for Functional Data," Journal of Classification, Springer;The Classification Society, vol. 36(2), pages 368-391, July.
    6. Forzani, Liliana & Gieco, Antonella & Tolmasky, Carlos, 2017. "Likelihood ratio test for partial sphericity in high and ultra-high dimensions," Journal of Multivariate Analysis, Elsevier, vol. 159(C), pages 18-38.
    7. Yujia Li & Xiangrui Zeng & Chien‐Wei Lin & George C. Tseng, 2022. "Simultaneous estimation of cluster number and feature sparsity in high‐dimensional cluster analysis," Biometrics, The International Biometric Society, vol. 78(2), pages 574-585, June.
    8. Vojtech Blazek & Michal Petruzela & Tomas Vantuch & Zdenek Slanina & Stanislav Mišák & Wojciech Walendziuk, 2020. "The Estimation of the Influence of Household Appliances on the Power Quality in a Microgrid System," Energies, MDPI, vol. 13(17), pages 1-21, August.
    9. Caruso, Germán & Scartascini, Carlos & Tommasi, Mariano, 2015. "Are we all playing the same game? The economic effects of constitutions depend on the degree of institutionalization," European Journal of Political Economy, Elsevier, vol. 38(C), pages 212-228.
    10. Mehmet Çağlar & Cem Gürler, 2022. "Sustainable Development Goals: A cluster analysis of worldwide countries," Environment, Development and Sustainability: A Multidisciplinary Approach to the Theory and Practice of Sustainable Development, Springer, vol. 24(6), pages 8593-8624, June.
    11. Jelle R Dalenberg & Luca Nanetti & Remco J Renken & René A de Wijk & Gert J ter Horst, 2014. "Dealing with Consumer Differences in Liking during Repeated Exposure to Food; Typical Dynamics in Rating Behavior," PLOS ONE, Public Library of Science, vol. 9(3), pages 1-11, March.
    12. Daniel Lewis & Davide Melcangi & Laura Pilossoph, 2019. "Latent Heterogeneity in the Marginal Propensity to Consume," 2019 Meeting Papers 519, Society for Economic Dynamics.
    13. Chun-Xia Zhang & Jiang-She Zhang & Sang-Woon Kim, 2016. "PBoostGA: pseudo-boosting genetic algorithm for variable ranking and selection," Computational Statistics, Springer, vol. 31(4), pages 1237-1262, December.
    14. J. Fernando Vera & Rodrigo Macías, 2021. "On the Behaviour of K-Means Clustering of a Dissimilarity Matrix by Means of Full Multidimensional Scaling," Psychometrika, Springer;The Psychometric Society, vol. 86(2), pages 489-513, June.
    15. Germán Caruso & Walter Sosa-Escudero & Marcela Svarc, 2015. "Deprivation and the Dimensionality of Welfare: A Variable-Selection Cluster-Analysis Approach," Review of Income and Wealth, International Association for Research in Income and Wealth, vol. 61(4), pages 702-722, December.
    16. Fang, Yixin & Wang, Junhui, 2011. "Penalized cluster analysis with applications to family data," Computational Statistics & Data Analysis, Elsevier, vol. 55(6), pages 2128-2136, June.
    17. Yingqiu Zhu & Qiong Deng & Danyang Huang & Bingyi Jing & Bo Zhang, 2021. "Clustering based on Kolmogorov–Smirnov statistic with application to bank card transaction data," Journal of the Royal Statistical Society Series C, Royal Statistical Society, vol. 70(3), pages 558-578, June.
    18. Aswin Balasubramanian & Floran Martin & Md Masum Billah & Osaruyi Osemwinyen & Anouar Belahcen, 2021. "Application of Surrogate Optimization Routine with Clustering Technique for Optimal Design of an Induction Motor," Energies, MDPI, vol. 14(16), pages 1-19, August.
    19. Youmi Suk, 2024. "A Within-Group Approach to Ensemble Machine Learning Methods for Causal Inference in Multilevel Studies," Journal of Educational and Behavioral Statistics, , vol. 49(1), pages 61-91, February.
    20. Henner Gimpel & Daniel Rau & Maximilian Röglinger, 2018. "Understanding FinTech start-ups – a taxonomy of consumer-oriented service offerings," Electronic Markets, Springer;IIM University of St. Gallen, vol. 28(3), pages 245-264, August.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jjopen:v:2:y:2019:i:2:p:16-235:d:240889. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.