Melola Discovery

← Melola Discovery

Journal

Heart Disease Clustering Modeling Using a Combination of the K-Means Clustering Algorithm and the Elbow Method

Scientific Journal of Informatics · Vol. 11 No. 4 (2024) · pp. 903–914

DOI
10.15294/sji.v11i4.14096
ISSN
2407-7658, 2460-0040
Published
2024-12-10
Publisher
Universitas Negeri Semarang
Language
eng

Abstract

Purpose: Heart disease is the leading cause of death throughout the world, especially in developing countries like Indonesia. Modern approaches for diagnosing and managing heart disease rely on machine learning due to the complexity of medical data. Among the biggest challenges in using machine learning is clustering heart disease patients. This study aims to develop a machine-learning model using K-means clustering to determine the severity and level of patient emergencies. The specific objective of the model is to find the optimal number of clusters using the Elbow Method. Methods/Study design/approach: Model development using a dataset from the Kaggle Repository consisting of 303 patient data. Each data point consists of the attributes age, gender, type of chest pain, blood pressure, serum cholesterol level, blood sugar, electrocardiography results, maximum heart rate, angina, ST depression, and segment slope ST. The combination of the K-means clustering algorithm and the Elbow Method is expected to find the optimal number of clusters in the developed model. Result/Findings: The results of building a machine learning model show that k-means clustering is quite effective in clustering heart disease patients. For the model built with 303 data points, the elbow method successfully identified the optimal number of clusters, resulting in two clusters (k=2), where the elbow point on the graph shows a significant decrease in the Sum of Squared Errors (SSE). Novelty/Originality/Value: This study combines the k-means clustering algorithm and the elbow method to determine the severity and level of patient emergencies. The clustering model produces specific risk clusters that help doctors determine more appropriate interventions.

Keywords

Collaboration network of the authors

40 authors · 104 co-authorship links · 16 across different organisations · showing the 40 most connected

Hover or tap a name to highlight its co-authors. Double-click to open the author's page.

  • Universitas Halu Oleo
  • Universitas Ahmad Dahlan
  • Hasanuddin University
  • Institut Seni Budaya Indonesia Aceh
  • Affiliation unknown
  • Different organisations
  • Same organisation
  • Affiliation unknown
  • Thicker line = more joint articles · bigger circle = more articles
Show as table
Co-authorOrganisationJoint articles
Handrawan HandrawanUniversitas Halu Oleo3
Rahman HasimaUniversitas Halu Oleo3
Oheo K. HarisAffiliation unknown2
Safril Sofwan SanibUniversitas Halu Oleo2
Dewi Indriyani RoslimAffiliation unknown2
Abdul FadlilUniversitas Ahmad Dahlan2
Firmansyah FirmansyahHasanuddin University2
Moh. FadhilAffiliation unknown2
Nguyen Van ThaoAffiliation unknown2
Nanda SaputraAffiliation unknown2
Jamaluddin IdrisAffiliation unknown2
Ahmad SarbiniAffiliation unknown2
Tri Stiyo FamujiUniversitas Ahmad Dahlan1
Sunardi SunardiUniversitas Ahmad Dahlan1
Muhammad Kunta BiddinikaUniversitas Ahmad Dahlan1
Aldibangun Pidekso PutroAffiliation unknown1
Mustafa MustafaInstitut Seni Budaya Indonesia Aceh1
Vivi Fatmawati A.Affiliation unknown1
Ahmad AhmadAffiliation unknown1
Makkulau MakkulauUniversitas Halu Oleo1
Fahinu FahinuAffiliation unknown1
Muhammad TaufikUniversitas Halu Oleo1
H S GusnawatyUniversitas Halu Oleo1
Deity YuningsihUniversitas Halu Oleo1
St. Muslimah SuciatiUniversitas Halu Oleo1
Haris YusufUniversitas Halu Oleo1
La Ode M. SulihinAffiliation unknown1
Heryanti HeryantiAffiliation unknown1
La SensuUniversitas Halu Oleo1
Sitti Aisah AbdullahAffiliation unknown1
Fitriah FaisalUniversitas Halu Oleo1
Isnayanti IsnayantiUniversitas Halu Oleo1
Idris SaputraAffiliation unknown1
Sahrina SafiuddinUniversitas Halu Oleo1
Faculty of science, Sumatera Institute of Technology, 35365, Indonesia Department of PhysicsAffiliation unknown1
Faculty of science, Sumatera Institute of Technology, 35365, Indonesia Department of Master PhysicsAffiliation unknown1

Affiliations come from OpenAlex; journal OAI-PMH metadata carries none. Authors without an OpenAlex ID are matched by name, which can merge or split people.

Metadata source: OAI-PMH (metadata jurnal) https://journal.unnes.ac.id/journals/sji/oai, first harvested 6 Nov 2026, last seen 8 Nov 2026.
Original metadata (oai_dc)
<oai_dc:dc xmlns="http://www.openarchives.org/OAI/2.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/  http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
	<dc:title xml:lang="en">Heart Disease Clustering Modeling Using a Combination of the K-Means Clustering Algorithm and the Elbow Method</dc:title>
	<dc:creator xml:lang="en">Wala, Jihan</dc:creator>
	<dc:creator xml:lang="en">Herman, Herman</dc:creator>
	<dc:creator xml:lang="en">Umar, Rusydi</dc:creator>
	<dc:creator xml:lang="en">Suwanti, Suwanti</dc:creator>
	<dc:subject xml:lang="en">K-means clustering</dc:subject>
	<dc:subject xml:lang="en">Elbow method</dc:subject>
	<dc:subject xml:lang="en">Heart disease</dc:subject>
	<dc:subject xml:lang="en">Disease severity</dc:subject>
	<dc:subject xml:lang="en">Patient emergencies</dc:subject>
	<dc:description xml:lang="en">Purpose: Heart disease is the leading cause of death throughout the world, especially in developing countries like Indonesia. Modern approaches for diagnosing and managing heart disease rely on machine learning due to the complexity of medical data. Among the biggest challenges in using machine learning is clustering heart disease patients. This study aims to develop a machine-learning model using K-means clustering to determine the severity and level of patient emergencies. The specific objective of the model is to find the optimal number of clusters using the Elbow Method.
Methods/Study design/approach: Model development using a dataset from the Kaggle Repository consisting of 303 patient data. Each data point consists of the attributes age, gender, type of chest pain, blood pressure, serum cholesterol level, blood sugar, electrocardiography results, maximum heart rate, angina, ST depression, and segment slope ST. The combination of the K-means clustering algorithm and the Elbow Method is expected to find the optimal number of clusters in the developed model.
Result/Findings: The results of building a machine learning model show that k-means clustering is quite effective in clustering heart disease patients. For the model built with 303 data points, the elbow method successfully identified the optimal number of clusters, resulting in two clusters (k=2), where the elbow point on the graph shows a significant decrease in the Sum of Squared Errors (SSE).
Novelty/Originality/Value: This study combines the k-means clustering algorithm and the elbow method to determine the severity and level of patient emergencies. The clustering model produces specific risk clusters that help doctors determine more appropriate interventions.</dc:description>
	<dc:publisher xml:lang="en">Universitas Negeri Semarang</dc:publisher>
	<dc:date>2024-12-10</dc:date>
	<dc:type>info:eu-repo/semantics/article</dc:type>
	<dc:type>info:eu-repo/semantics/publishedVersion</dc:type>
	<dc:type xml:lang="en">Peer-reviewed Article</dc:type>
	<dc:format>application/pdf</dc:format>
	<dc:identifier>https://journal.unnes.ac.id/journals/sji/article/view/14096</dc:identifier>
	<dc:identifier>10.15294/sji.v11i4.14096</dc:identifier>
	<dc:source xml:lang="en">Scientific Journal of Informatics; Vol. 11 No. 4: Special Issue; 903-914</dc:source>
	<dc:source>2407-7658</dc:source>
	<dc:source>2460-0040</dc:source>
	<dc:source>10.15294/sji.v11i4</dc:source>
	<dc:language>eng</dc:language>
	<dc:relation>https://journal.unnes.ac.id/journals/sji/article/view/14096/2170</dc:relation>
	<dc:rights xml:lang="en">Copyright (c) 2024 Scientific Journal of Informatics</dc:rights>
</oai_dc:dc>