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. Chen, Hao, 2022. "Cluster-based ensemble learning for wind power modeling from meteorological wind data," Renewable and Sustainable Energy Reviews, Elsevier, vol. 167(C).
    2. 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.
    3. 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.
    4. 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.
    5. 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.
    6. 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).
    7. 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.
    8. 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).
    9. 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.
    10. 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.
    11. 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.
    12. Heller, Yuval & Tubul, Itay, 2023. "Strategies in the repeated prisoner’s dilemma: A cluster analysis," MPRA Paper 117444, University Library of Munich, Germany.
    13. Ş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.
    14. 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," Working Papers 2022-2, Princeton University. Economics Department..
    3. Batool, Fatima & Hennig, Christian, 2021. "Clustering with the Average Silhouette Width," Computational Statistics & Data Analysis, Elsevier, vol. 158(C).
    4. Nicoleta Serban & Huijing Jiang, 2012. "Multilevel Functional Clustering Analysis," Biometrics, The International Biometric Society, vol. 68(3), pages 805-814, September.
    5. 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.
    6. 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.
    7. 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.
    8. 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.
    9. 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.
    10. 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.
    11. Andrew Clark & Alexander Mihailov & Michael Zargham, 2021. "Complex Systems Modeling of Community Inclusion Currencies," Economics Discussion Papers em-dp2021-06, Department of Economics, University of Reading.
    12. Nicoleta Serban, 2008. "Estimating and clustering curves in the presence of heteroscedastic errors," Journal of Nonparametric Statistics, Taylor & Francis Journals, vol. 20(7), pages 553-571.
    13. 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.
    14. Alessandro Crimi & Olivier Commowick & Adil Maarouf & Jean-Christophe Ferré & Elise Bannier & Ayman Tourbah & Isabelle Berry & Jean-Philippe Ranjeva & Gilles Edan & Christian Barillot, 2014. "Predictive Value of Imaging Markers at Multiple Sclerosis Disease Onset Based on Gadolinium- and USPIO-Enhanced MRI and Machine Learning," PLOS ONE, Public Library of Science, vol. 9(4), pages 1-10, April.
    15. 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.
    16. Elizabeth Tipton & Robert B. Olsen, "undated". "Enhancing the Generalizability of Impact Studies in Education," Mathematica Policy Research Reports 35d5625333dc480aba9765b3b, Mathematica Policy Research.
    17. Cyril Atkinson-Clement & Eléonore Pigalle, 2021. "What can we learn from Covid-19 pandemic’s impact on human behaviour? The case of France’s lockdown," Palgrave Communications, Palgrave Macmillan, vol. 8(1), pages 1-12, December.
    18. 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.
    19. Daniel Lewis & Davide Melcangi & Laura Pilossoph, 2019. "Latent Heterogeneity in the Marginal Propensity to Consume," 2019 Meeting Papers 519, Society for Economic Dynamics.
    20. 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.

    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.