Application of KNN Machine Learning and Fuzzy C-Means to Diagnose Diabetes
DOI:
https://doi.org/10.30812/matrik.v22i2.2777Keywords:
Diabetes, Machine Learning, Fuzzy C-means, K-Nearest NeighborAbstract
The disease is a common thing in humans. Diseases that attack humans do not know anyone and do not know age. The disease experienced by a person starts from an ordinary level until it can be declared severe to the point of being at risk of death. In this study, the early diagnosis was carried out related to diabetes, where diabetes is a condition in which the sufferer’s body has low sugar levels above normal. Symptoms experienced by sufferers include frequent thirst, frequent urination, frequent hunger, and weight loss. Based on these problems, a system is needed that can quickly find out the diagnosis experienced by a patient. This research aimed to diagnose diabetes early on based on early symptoms. The methods used are KNN and web-based fuzzy C-means. Creating a web-based system can represent medical personnel experts in a fast-diagnosing approach to diabetes. This system was a computer program embedded with the knowledge of the characteristics of diabetes. The results of testing the KNN and Fuzzy C-means applications and methods get an accuracy of 96% for the KNearest Neighbor method, while for the Fuzzy C-Means method with Confusion Matrix calculations, an accuracy of 96% is obtained, so it can be concluded that the Fuzzy C-means method Means better than the K-Nearest Neighbor method.
Downloads
References
Informatika, vol. 6, pp. 1–14, 2019.
[2] F. Handayanna, “Diabetes Mellitus Dengan Metode Support Vector Machine Berbasis Particle Swarm,†Jurnal Teknik Informatika
STMIK Antar Bangsa, vol. II, no. 1, pp. 30–37, 2016.
[3] R. A. Siallagan and Fitriyani, “Prediksi Penyakit Diabetes Mellitus Menggunakan Algoritma C4.5,†Jurnal Responsif : Riset
Sains dan Informatika, vol. 3, no. 1, pp. 44–52, 2021.
[4] M. Dennedy, R. Rizza, and S. Dinneen, Classification and Diagnosis of Diabetes Mellitus. Endocrinology: Adult and Pediatric.
Elsevier Inc., 2015.
[5] F. M. Hana, “Klasifikasi Penderita Penyakit Diabetes Menggunakan Algoritma Decision Tree C4.5,†Jurnal SISKOM-KB (Sistem
Komputer dan Kecerdasan Buatan), vol. 4, no. 1, pp. 32–39, 2020.
[6] E. Cousin et al., “Diabetes mortality and trends before 25 years of age: an analysis of the Global Burden of Disease Study
2019,†The Lancet Diabetes and Endocrinology, vol. 10, no. 3, pp. 177–192, 2022.
[7] P. Subarkah, I. Santiko, and A. Tri, “Perbandingan Kinerja Algoritma Cart dan Naive Bayesian untuk Mendiagnosa Penyakit
Diabetes Melitus,†Conference on Information Technology, Information System and Electrical Engineering, p. 17, 2017.
[8] A. Bevan and N. Patel, “An Electronic Prescription Alerting System-Improving the Discharge Medicines Process,†Archives of
disease in childhood, vol. 101, no. 9, p. e2, sep 2016.
[9] A. Tsyben, N. Gooding, and W. Kelsall, “Assessing the Impact of a Newly Introduced Electronic Prescribing System Across
a Paediatric Department Lessons Learned,†Archives of Disease in Childhood, vol. 101, no. 9, pp. e2—-e2, 2016. [Online].
Available: https://adc.bmj.com/content/101/9/e2.13
[10] A. Anggrawan et al., “Machine Learning for Diagnosing Drug Users and Types of Drugs Used,†International Journal of
Advanced Computer Science and Applications, vol. 12, no. 11, pp. 111–118, 2021.
[11] F. Aris and Benyamin, “Penerapan Data Mining untuk Identifikasi Penyakit Diabetes Melitus dengan Menggunakan Metode
Klasifikasi,†Router Research, vol. 1, no. 1, pp. 1–6, 2019.
[12] I. P. D. Lesmana, “Pengembangan Decision Tree J48 Untuk Diagnosis Penyakit Diabetes Mellitus,†Seminar Nasional Teknologi
Informasi & Komunikasi Terapan, vol. 2, no. 1, p. 23, 2012.
[13] P. Achenbach et al., “A Classification and Regression Tree Analysis Identifies Subgroups of Childhood Type 1 Diabetes,â€
eBioMedicine, vol. 82, p. 104118, 2022. [Online]. Available: https://doi.org/10.1016/j.ebiom.2022.104118
[14] N. Dwitiyanti, N. Selvia, and F. R. Andrari, “Penerapan Fuzzy C-Means Cluster dalam Pengelompokkan Provinsi Indonesia
Menurut Indikator Kesejahteraan Rakyat,†Faktor Exacta, vol. 12, no. 3, p. 201, 2019.
[15] Y. Ambar, Kusrini, and Henderi, “Penerapan Algoritma K-Nearest Neighbour Dalam Menentukan Pembinaan Koperasi Kabupaten
Kotawaringin Timur,†Jurnal Pengembangan Teknologi Informasi dan Ilmu Komputer, vol. 1, no. 5, pp. 1–8, 2019.
[16] N. G. A. Dasriani, M. Mayadi, and A. Anggrawan, “Klasterisasi Lokasi Promosi PMB Dengan Fuzzy C-means Masa Pandemi
Covid 19,†MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer, vol. 21, no. 2, pp. 327–336, 2022.
[17] Wahyono, “Peningkatan Kecepatan Algoritma K-NN Untuk Sistem Pengklasifikasian Kendaraan Bermotor,†Techno.Com,
vol. 19, no. 2, pp. 190–196, 2020.
[18] Z. Zhang, “Introduction to machine learning : k-nearest neighbors,†Annals of Translational Medicine, vol. 4, no. 11, pp. 1–7,
2016.
[19] D. Prasad et al., “System Model for Prediction Analytics Using K-Nearest Neighbors Algorithm,†Journal of Computational
and Theoretical Nanoscience, vol. 16, no. 10, pp. 4425–4430, 2019.
[20] P. Guleria, S. Ahmed, A. Alhumam, and P. N. Srinivasu, “Empirical Study on Classifiers for Earlier Prediction of COVID-19
Infection Cure and Death Rate in the Indian States,†Healthcare (Switzerland), vol. 10, no. 1, 2022.
[21] A. Yosipof, R. C. Guedes, and A. T. Garc´ıa-sosa, “Data Mining and Machine Learning Models for Predicting Drug Likeness
and Their Disease or Organ Category,†Frontiers in Chemistry, vol. 6, no. May, pp. 1–11, 2018.
[22] J. Bullock, A. Luccioni, K. H. Pham, and M. Luengo-oroz, “Mapping the Landscape of Artificial Intelligence Applications
against COVID-19,†Journal of Artificial Intelligence Research, vol. 69, no. 1, pp. 807–845, 2020.
[23] L. Wynants et al., “Prediction models for diagnosis and prognosis of covid-19 : systematic review and critical appraisal,†The
BMJ, vol. 369, pp. 1–22, 2020.
[24] A. Anggrawan, “Interaction between Learning Preferences and Methods in Face-to-Face and Online Learning,†ICIC Express
Letters, vol. 15, no. 4, pp. 319–326, 2021.
[25] J. Gong et al., “A Tool to Early Predict Severe Corona Virus Disease 2019 (COVID-19) : A Multicenter Study using the
Risk Nomogram in Wuhan and Guangdong, China,†The Journals of Gerontology Series A: Biological Sciences and Medical
Sciences, vol. 0813, no. April, pp. 1–11, 2018.
[26] X. Jiang et al., “Towards an artificial intelligence framework for data-driven prediction of coronavirus clinical severity,†Computers,
Materials and Continua, vol. 63, no. 1, pp. 537–551, 2020.
[27] J. Liu et al., “Neutrophil-to-lymphocyte ratio predicts critical illness patients with 2019 coronavirus disease in
the early stage,†Journal of Translational Medicine, vol. 18, no. 1, pp. 1–12, 2020. [Online]. Available:
https://doi.org/10.1186/s12967-020-02374-0
[28] K. A. Tikki, H. H. Jaber, and A. A. Mahdi, “Estimation of Serum Uric Acid in Type II Diabetic Patients and Relationship with
Anemia,†HIV Nursing, vol. 22, no. 2, pp. 1523–1526, 2022.
[29] M. Rahman, D. Alamsah, M. Darmawidjadja, and I. Nurma, “Klasifikasi Untuk Diagnosa Diabetes Menggunakan Metode
Bayesian Regularization Neural Network (RBNN),†Jurnal Informatika, vol. 11, no. 1, p. 36, 2017.
[30] E. Purwaningsih and E. Nurelasari, “Penerapan K-Nearest Neighbor Untuk Klasifikasi Tingkat Kelulusan Pada Siswa,†Syntax
: Jurnal Informatika, vol. 10, no. 01, pp. 46–56, 2021.
[31] A. W. Fadillah, A. Tejawati, and N. Puspitasari, “Penerapan Fuzzy C-Means Pada Curah Hujan Di Kalimantan Timur,†Jurnal
Rekayasa Teknologi Informasi (JURTI), vol. 2, no. 1, p. 82, 2018.
[32] R. J. Sarjanako, “Penerapan Fuzzy C-Means Clustering Untuk Mengoptimalkan Penentuan Media Promosi,†Teknois : Jurnal
Ilmiah Teknologi Informasi dan Sains, vol. 6, no. 1, pp. 29–37, 2019.
[33] A. Anggrawan, N. Ibrahim, S. Muslim, and C. Satria, “Interaction between learning style and gender in mixed learning with
40and 60Science and Applications, vol. 10, no. 5, pp. 407–413, 2019.
Downloads
Published
Issue
Section
How to Cite
Similar Articles
- Christofer Satria, Peter Wijaya Sugijanto, Anthony Anggrawan, I Nyoman Yoga Sumadewa, Aprilia Dwi Dayani, Rini Anggriani, Multi-Algorithm Approach to Enhancing Social Assistance Efficiency Through Accurate Poverty Classification , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 24 No. 1 (2024)
- Firda Yunita Sari, Maharani sukma Kuntari, Hani Khaulasari, Winda Ari Yati, Comparison of Support Vector Machine Performance with Oversampling and Outlier Handling in Diabetic Disease Detection Classification , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 22 No. 3 (2023)
- Wahyu Styo Pratama, Didik Dwi Prasetya, Triyanna Widyaningtyas, Muhammad Zaki Wiryawan, Lalu Ganda Rady Putra, Tsukasa Hirashima, Performance Evaluation of Artificial Intelligence Models for Classification in Concept Map Quality Assessment , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 24 No. 3 (2025)
- Ni Wayan Sumartini Saraswati, I Gusti Ayu Agung Diatri Indradewi, Recognize The Polarity of Hotel Reviews using Support Vector Machine , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 22 No. 1 (2022)
- Alya Masitha, Muhammad Kunta Biddinika, Herman Herman, K Value Effect on Accuracy Using the K-NN for Heart Failure Dataset , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 22 No. 3 (2023)
- Lusiana Efrizoni, Sarjon Defit, Muhammad Tajuddin, Anthony Anggrawan, Komparasi Ekstraksi Fitur dalam Klasifikasi Teks Multilabel Menggunakan Algoritma Machine Learning , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 21 No. 3 (2022)
- Taufik Hidayat, Mohammad Ridwan, Muhamad Fajrul Iqbal, Sukisno Sukisno, Robby Rizky, William Eric Manongga, Determining Toddler's Nutritional Status with Machine Learning Classification Analysis Approach , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 24 No. 2 (2025)
- Muhammad Alkaff, Muhammad Afrizal Miqdad, Muhammad Fachrurrazi, Muhammad Nur Abdi, Ahmad Zainul Abidin, Raisa Amalia, Hate Speech Detection for Banjarese Languages on Instagram Using Machine Learning Methods , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 22 No. 3 (2023)
- Ahmad Zein Al Wafi, Febry Putra Rochim, Veda Bezaleel, Investigating Liver Disease Machine Learning Prediction Performancethrough Various Feature Selection Methods , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 24 No. 3 (2025)
- Erlin Erlin, Yenny Desnelita, Nurliana Nasution, Laili Suryati, Fransiskus Zoromi, Dampak SMOTE terhadap Kinerja Random Forest Classifier berdasarkan Data Tidak seimbang , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 21 No. 3 (2022)
You may also start an advanced similarity search for this article.
Most read articles by the same author(s)
- Anthony Anggrawan, Analisis Deskriptif Hasil Belajar Pembelajaran Tatap Muka dan Pembelajaran Online Menurut Gaya Belajar Mahasiswa , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 18 No. 2 (2019)
- Lusiana Efrizoni, Sarjon Defit, Muhammad Tajuddin, Anthony Anggrawan, Komparasi Ekstraksi Fitur dalam Klasifikasi Teks Multilabel Menggunakan Algoritma Machine Learning , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 21 No. 3 (2022)
- Anthony Anggrawan, Satuang Satuang, Mokhammad Nurkholis Abdillah, Sistem Pakar Diagnosis Penyakit Ayam Broiler Menggunakan Forward Chaining dan Certainty Factor , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 20 No. 1 (2020)
- Anthony Anggrawan, Mayadi Mayadi, Christofer Satria, Menentukan Akurasi Tata Letak Barang dengan Menggunakan Algoritma Apriori dan Algoritma FP-Growth , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 21 No. 1 (2021)
- Lalu Ganda Rady Putra, Anthony Anggrawan, Pengelompokan Penerima Bantuan Sosial Masyarakat dengan Metode K-Means , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 21 No. 1 (2021)
- Bambang Krismono Triwijoyo, Ahmat Adil, Anthony Anggrawan, Convolutional Neural Network With Batch Normalization for Classification of Emotional Expressions Based on Facial Images , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 21 No. 1 (2021)
- Putu Tisna Putra, Anthony Anggrawan, Hairani Hairani, Comparison of Machine Learning Methods for Classifying User Satisfaction Opinions of the PeduliLindungi Application , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 22 No. 3 (2023)
- Anthony Anggrawan, Raisul Azhar, Bambang Krismono Triwijoyo, Mayadi Mayadi, Developing Application in Anticipating DDoS Attacks on Server Computer Machines , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 20 No. 2 (2021)
- Christofer Satria, Anthony Anggrawan, Aplikasi K-Means berbasis Web untuk Klasifikasi Kelas Unggulan , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 21 No. 1 (2021)
- Ni Gusti Ayu Dasriani, Mayadi Mayadi, Anthony Anggrawan, Klasterisasi Lokasi Promosi PMB Dengan Fuzzy C-means Masa Pandemi Covid 19 , MATRIK : Jurnal Manajemen, Teknik Informatika dan Rekayasa Komputer: Vol. 21 No. 2 (2022)