Application of the certainty factor method in an expert system for diagnosing diabetes mellitus based on clinical symptoms
Keywords:
Certainty Factor, Diabetes Mellitus, Expert System, Clinical Symptoms, Early DetectionAbstract
Diabetes Mellitus is a chronic metabolic disease characterized by elevated blood glucose levels due to impaired insulin secretion or function, which can lead to serious complications such as cardiovascular disease, kidney failure, and neuropathy if not detected early. Early detection remains a significant challenge, particularly in regions with limited access to laboratory-based diagnostic facilities, where many cases are only identified after the disease has progressed to a more serious stage. This study applies the Certainty Factor method as an expert system approach to diagnose Diabetes Mellitus based on patients' clinical symptoms. The dataset used was the Early Stage Diabetes Risk Prediction Dataset from the UCI Machine Learning Repository, consisting of 520 patient records with 14 binary clinical symptom attributes. The CF Expert value for each symptom was derived from the proportion of symptom occurrence among positive diabetes cases, and the combined certainty scores were used to classify each patient as diabetic or non-diabetic based on an optimized threshold value. Several threshold values ranging from 0.50 to 0.95 with an interval of 0.05 were systematically tested to determine the optimal decision boundary. The experimental results demonstrate that a threshold of 0.95 yielded the best classification performance, achieving an Accuracy of 79.81%, Precision of 79.61%, Recall of 90.31%, and F1-Score of 84.63%. The high Recall value of 90.31% indicates that the method is highly effective in minimizing undetected positive cases, which is critically important in a medical screening context. Furthermore, the Certainty Factor method demonstrated advantages in interpretability and computational efficiency, as diagnostic decisions can be directly traced to individual symptom contributions without requiring a model training process, making it suitable for implementation in clinical decision support systems for early diagnosis of Diabetes Mellitus.
References
[1] M. G. Pradana, B. W. Pamekas, and K. Kusrini, “Perancangan Sistem Pakar Untuk Mendiagnosa Penyakit Diabetes Mellitus Menggunakan Metode Certainty Factor,” CCIT Journal, vol. 11, no. 2, pp. 182–191, 2018, doi: 10.33050/ccit.v11i2.586.
[2] A. Ismono, “Penerapan Metode Certainty Factor Pada Sistem Pakar Diagnosa Penyakit Diabetes Melitus,” Journal of Computer System and Informatics (JoSYC), vol. 4, no. 1, pp. 1–6, 2022, doi: 10.47065/josyc.v4i1.2465.
[3] A. P. Putra and C. Rahmad, “Analisa Perbandingan Metode Certainty Factor dan Dempster Shafer pada Sistem Pakar Diagnosa Penyakit Diabetes Melitus,” Jurnal Informatika Polinema, vol. 2, no. 1, pp. 7–12, 2015, doi: 10.33795/jip.v2i1.47.
[4] S. L. Mufreni and F. A. Priyatno, “Sistem Pakar Deteksi Dini Diabetes Mellitus Menggunakan Metode Certainty Factor Berbasis Laravel,” Jurnal Informatika Teknologi dan Sains, vol. 7, no. 3, 2025, doi: 10.51401/jinteks.v7i3.6052.
[5] A. Idaman, A. R. Selvanda, R. Agustin, V. Rolanda, and Mutiasanita, “Implementasi Certainty Factor Untuk Analisis Akurasi Diagnosa Penyakit Diabetes Tipe 2,” Jurnal SAINTIKOM, vol. 24, no. 1, 2024, doi: 10.53513/jis.v24i1.10741.
[6] A. J. Ridwan, V. Atina, D. Hartanti, and D. P. Putri, “Implementasi Algoritma Naïve Bayes dan Certainty Factor pada Sistem Pakar Deteksi Penyakit Diabetes Mellitus Tahap Awal,” Smart Comp, vol. 14, no. 2, 2025, doi: 10.30591/smartcomp.v14i2.7327.
[7] N. Husna, A. F. Lubis, and R. A. Putra, “Perbandingan Metode Certainty Factor dan Dempster-Shafer dalam Diagnosis Diabetes Mellitus Tipe 2,” Anoatik, vol. 3, no. 2, 2024, doi: 10.33772/anoatik.v3i2.130.
[8] Y. B. Widodo, S. A. Anggraeini, and T. Sutabri, “Perancangan Sistem Pakar Diagnosis Penyakit Diabetes Berbasis Web Menggunakan Algoritma Naive Bayes,” Jurnal Teknologi Informasi dan Komputer, vol. 7, no. 1, pp. 112–123, 2021, doi: 10.37012/jtik.v7i1.507.
[9] R. N. Putri and L. Goeirmanto, “Aplikasi Sistem Pakar Untuk Diagnosa Penyakit Diabetes Melitus,” Jurnal Aplikasi dan Inovasi IPTEKS SOLIDITAS, vol. 3, no. 2, pp. 106–112, 2020.
[10] E. H. Shortliffe and B. G. Buchanan, “A Model of Inexact Reasoning in Medicine,” Mathematical Biosciences, vol. 23, no. 3–4, pp. 351–379, 1975.
[11] International Diabetes Federation, IDF Diabetes Atlas, 10th ed., Brussels, Belgium, 2021.
[12] World Health Organization, Diabetes Fact Sheet, Geneva, Switzerland, 2023.
[13] Kementerian Kesehatan Republik Indonesia, Profil Kesehatan Indonesia 2023, Jakarta, Indonesia, 2024.
[14] Kementerian Kesehatan Republik Indonesia, Infodatin Diabetes Melitus, Jakarta, Indonesia, 2023.
[15] M. T. García-Ordás, C. Benavides, J. A. Benítez-Andrades, H. Alaiz-Moretón, and I. García-Rodríguez, “Diabetes Detection Using Deep Learning Techniques With Oversampling and Feature Augmentation,” 2024.
[16] Early Stage Diabetes Risk Prediction Dataset, UCI Machine Learning Repository, 2020.
[17] Sobri, M., & Subchi, I. (2025). User Interface Evaluation of the Business Development Center Website at UIN Syarif Hidayatullah Jakarta: A Content, Visual, and Navigation Perspective. Jurnal Teknik Informatika (JUTIF), 6(4), 2681–2692. doi: https://doi.org/10.52436/1.jutif.2025.6.4.5208
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Machine Intelligence for Societal Advancement

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
