Vol. 4 No. 1 (2027) • Articles
Open Access

Pengembangan Model Prediksi Penyakit Menggunakan Algoritma Machine Learning Berbasis Data Kesehatan

Ade Hastuty
Universitas Muhammadiyah Parepare image/svg+xml
Rezky Deswita Ramadhani
Universitas Muhammadiyah Parepare
Wahyu Arthanugraha
Universitas Muhammadiyah Parepare
Wahyuddin
Universitas Muhammadiyah Parepare
Rezky Deswita Ramadhani
Universitas Muhammadiyah Parepare image/svg+xml
Wahyu Arthanugraha
Universitas Muhammadiyah Parepare image/svg+xml
Wahyuddin Wahyuddin
Universitas Muhammadiyah Parepare image/svg+xml
Published: January 27, 2027 Pages: 11-27
Original Full-Text Article
Download published version for reading and archiving
Abstract

Typhoid fever requires precise handling and identification. Manual identification based on symptoms and health data has limitations, thus necessitating a structured early prediction model. This study aims to build and evaluate a web-based decision support system for the early diagnosis of typhoid fever using the Random Forest algorithm. The data used consists of 486 secondary medical records from Baranti Health Center, including 383 positive typhoid samples and 103 negative samples. The data was divided using the Stratified Random Split method with an 80:20 ratio, allocating 388 samples for training data and 98 samples for testing data. The model was constructed using 500 decision trees with Gini Impurity index and subsequently integrated into a web application using the Flask framework and MySQL database. The testing results indicate an accuracy of 94.9%, precision of 95.0%, recall of 98.7%, F1-score of 96.8%, and AUC of 97.7%. Feature Importance analysis using the Mean Decrease Gini method reveals that the presence of red spots, with an importance value of 35.5%, and nosebleeds, with a value of 34.4%, are features utilized in the model's prediction process. Therefore, the Random Forest model can be implemented in a web-based application to support the early prediction of typhoid fever based on symptoms and user health data.

Article Metrics & Downloads Graph
Monthly Download Trends:
Author Biographies
Ade Hastuty Universitas Muhammadiyah Parepare

Program Studi Teknik Informatika, Fakultas Teknik, Universitas Muhammadiyah Parepare, Kota Parepare, Provinsi Sulawesi Selatan, Indonesia.

Rezky Deswita Ramadhani Universitas Muhammadiyah Parepare

Program Studi Teknik Informatika, Fakultas Teknik, Universitas Muhammadiyah Parepare, Kota Parepare, Provinsi Sulawesi Selatan, Indonesia.

Wahyu Arthanugraha Universitas Muhammadiyah Parepare

Program Studi Teknik Informatika, Fakultas Teknik, Universitas Muhammadiyah Parepare, Kota Parepare, Provinsi Sulawesi Selatan, Indonesia.

Wahyuddin Wahyuddin Universitas Muhammadiyah Parepare

Program Studi Teknik Informatika, Fakultas Teknik, Universitas Muhammadiyah Parepare, Kota Parepare, Provinsi Sulawesi Selatan, Indonesia.

How to Cite
Hastuty, A., Ramadhani, R. D. ., Arthanugraha, W. ., Wahyuddin, Ramadhani , R. D. ., Arthanugraha , W. ., & Wahyuddin , W. . (2027). Pengembangan Model Prediksi Penyakit Menggunakan Algoritma Machine Learning Berbasis Data Kesehatan. Jurnal Ilmu Komputer Dan Teknologi Informasi, 4(1), 11-27. https://doi.org/10.63447/jikti.v4i1.2141
License

This work is licensed under a Copyright (c) 2027 Ade Hastuty, Rezky Deswita Ramadhani, Wahyu Arthanugraha, Wahyuddin, Rezky Deswita Ramadhani , Wahyu Arthanugraha , Wahyuddin Wahyuddin .

Creative Commons Attribution 4.0 International License (CC BY 4.0)

This is an open-access article distributed under the terms of the Creative Commons Attribution 4.0 International License .

  • Share: You are free to copy, distribute, and transmit the work in any medium or format.
  • Adapt: You are free to remix, transform, and build upon the work for any purpose, even commercially.
  • Attribution: You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
Copyright & Retention: Authors retain copyright without restrictions and grant this journal the right of first publication under an open-access model. The journal retains non-exclusive publishing rights for archiving, indexing, and scholarly dissemination.

References
Total: 20 References
  1. Akbar, I., Supriadi, F., & Junaedi, D. I. (2025). Pemanfaatan machine learning di bidang kesehatan. JATI (Jurnal Mahasiswa Teknik Informatika), 9(1), 1744-1749. https://doi.org/10.36040/jati.v9i1.12663.
  2. Alfarisi, M. A., Sumanto, B., & Rachmawan, I. P. F. (2025). Pengembangan Model Machine Learning untuk Deteksi Penyakit Diabetes Menggunakan Analisis Gini Importance. Journal of Internet and Software Engineering, 6(2), 127-134. https://doi.org/10.22146/jise.v6i2.16551.
  3. Hamilton, K. (2026). ANALISIS PERKEMBANGAN ARTIFICIAL INTELLIGENCE DALAM DIAGNOSIS PENYAKIT SERTA DAMPAKNYA TERHADAP PELAYANAN KESEHATAN DI ERA MODERN. Jurnal Riset Sistem Informasi, 3(3), 83-93. https://doi.org/10.69714/1vr6d731.
  4. Imara, F. (2020, August). Salmonella typhi bakteri penyebab demam tifoid. In Prosiding Seminar Nasional Biologi (Vol. 6, No. 1, pp. 1-5). https://doi.org/10.24252/psb.v6i1.14264.
  5. Permatasari, I., Adhania, F., Putri, S. A., & Nursari, S. R. C. (2023). Pengujian Black Box Menggunakan Metode Analisis Nilai Batas pada Aplikasi DANA. KONSTELASI: Konvergensi Teknologi dan Sistem Informasi, 3(2), 373-387. https://doi.org/10.24002/konstelasi.v3i2.8289.
  6. Ramadhan, A. A., Hartono, R., Mualim, I., & Subarwanti, Y. (2026). Sistem Informasi Tingkat Kekeruhan Air Layak Guna Menggunakan Sensor Turbidity dan Wemos D1. Jurnal Kajian dan Penelitian Umum, 4(1), 10-26. https://doi.org/10.47861/jkpu-nalanda.v4i1.2088.
  7. Riansah, A., Nurdiawan, O., & Herdiana, R. (2025). Penerapan Algoritma Random Forest dan Decision Tree untuk Meningkatkan Akurasi Klasifikasi Penjualan pada Toko Bangunan. JATI (Jurnal Mahasiswa Teknik Informatika), 9(3), 4242-4249. https://doi.org/10.36040/jati.v9i3.13622.
  8. Siregar, Y. S., Sembiring, B. O., Rahayu, E., Hasdiana, H., & Franchitika, R. (2024). Pemanfaatan aplikasi MySQL untuk membantu siswa SMK Swasta Nur Azizi dalam pengolahan data. Jurnal Pengabdian Masyarakat, 3(2), 229-240. https://doi.org/10.70340/japamas.v3i2.185.
  9. Suryati, M., Aldi, T., Saputra, D., & Ikasari, I. H. (2025). Penggunaan Python dalam analisis data dengan machine learning. JRIIN: Jurnal Riset Informatika dan Inovasi, 2(10), 1959-1968.
  10. Trenggono, P. H., & Bachtiar, A. (2023). Peran artificial intelligence dalam pelayanan kesehatan: A systematic review. Jurnal Ners, 7(1), 444-451.
  11. Apriliah, W., Kurniawan, I. B., Baydhowi, M., & Haryati, T. (2021). Prediksi Kemungkinan Diabetes pada Tahap Awal Menggunakan Algoritma Klasifikasi Random Forest. Sistemasi, 10(1), 163. https://doi.org/10.32520/stmsi.v10i1.1129.
  12. Desiani, A., Irmeilyana, I., & Amran, A. (2022). Implementasi Algoritma Naïve Bayes dan Support Vector Machine (SVM) Pada Klasifikasi Penyakit Kardiovaskular. Jurnal Teknik Elektro Dan Komputasi (Elkom), 4(2), 207–214. https://doi.org/10.32528/elkom.v4i2.7691.
  13. Erlin, E., Marlim, Y. N., Junadhi, J., Suryati, L., & Agustina, N. (2022). Deteksi Dini Penyakit Diabetes Menggunakan Machine Learning dengan Algoritma Logistic Regression. Jurnal Nasional Teknik Elektro Dan Teknologi Informasi (Jnteti), 11(2), 88–96. https://doi.org/10.22146/jnteti.v11i2.3586.
  14. Febrianti, A., & Hidayat, H. (2024). Aplikasi DIATECT Untuk Prediksi Penyakit Diabetes Menggunakan SVM Berbasis Web. Jurnal Tekno Kompak, 18(1), 150. https://doi.org/10.33365/jtk.v18i1.3643.
  15. Masruriyah, A., Novita, H. Y., Sukmawati, C., Ramadhan, A., Arif, S., & Dermawan, B. A. (2024). Pengukuran Kinerja Model Klasifikasi dengan Data Oversampling pada Algoritma Supervised Learning untuk Penyakit Jantung. Computer Science (Co-Science), 4(1), 62–70. https://doi.org/10.31294/coscience.v4i1.2389.
  16. Prabowo, A. S., & Kurniadi, F. I. (2023). Analisis Perbandingan Kinerja Algoritma Klasifikasi dalam Mendeteksi Penyakit Jantung. Jurnal Siskom-Kb (Sistem Komputer Dan Kecerdasan Buatan), 7(1), 56–61. https://doi.org/10.47970/siskom-kb.v7i1.468.
  17. Purwono, P., Dewi, P., Wibisono, S. K., & Dewa, B. P. (2022). Model Prediksi Otomatis Jenis Penyakit Hipertensi dengan Pemanfaatan Algoritma Machine Learning Artificial Neural Network. Insect (Informatics and Security) Jurnal Teknik Informatika, 7(2), 82–90. https://doi.org/10.33506/insect.v7i2.1828.
  18. Septiani, W. D. (2020). OPTIMASI ALGORITMA C4.5 MENGGUNAKAN ALGORITMA GENETIKA UNTUK PREDIKSI PENYAKIT HEPATITIS. Inti Nusa Mandiri, 15(1), 59–64. https://doi.org/10.33480/inti.v15i1.1421.
  19. Utami, D., Dwiatmoko, F., & Novsagita, A. (2026). Komparasi Algoritma Machine Learning dengan Hyperparameter Tuning pada Prediksi Level Obesitas. Modem: Jurnal Informatika dan Sains Teknologi., 4(3), 93-105. https://doi.org/10.62951/modem.v4i3.955.
  20. Vira, S. (2021). Pengelompokkan Provinsi di Indonesia berdasarkan Penyakit Tidak Menular Menggunakan Metode Partisi, Hierarki, dan Fuzzy Clustering. Jurnal Msa ( Matematika Dan Statistika Serta Aplikasinya ), 9(1). https://doi.org/10.24252/msa.v9i1.17942.