Analisis Komparatif Model Logistic Regression, Decision Tree, Random Forest, Support Vector Machine, dan K-Nearest Neighbor untuk Klasifikasi Penyakit Batu Empedu Menggunakan Machine Learning


  • Ahda Rindang Al Amin Universitas Andalas, Padang, Indonesia
  • Budy Satria * Mail Universitas Andalas, Padang, Indonesia
  • (*) Corresponding Author
Keywords: Gallstone; Classification; Machine Learning; Logistic Regression; Decision Tree; RF; SVM; KNN

Abstract

Gallstone disease is a common medical condition that often presents without symptoms until complications occur. Early prediction of this disease can improve patient outcomes through timely intervention. This study aims to compare the performance of five classification algorithms in predicting gallstone disease using clinical data: Logistic Regression, Decision Tree, Random Forest, Support Vector Machine (SVM), and K-Nearest Neighbors (K-NN). The dataset used was obtained from the UCI Machine Learning Repository and contains clinical data from 319 patients, comprising 38 numerical features. Outlier handling was conducted using Winsorized Transformation and RobustScaler. Each model was optimized using GridSearchCV and evaluated using accuracy, precision, recall, F1-score, and ROC AUC metrics. The results show that SVM and Logistic Regression achieved the best performance, each with 85.9% accuracy and an AUC above 0.90. Based on these findings, Logistic Regression and SVM are recommended as the most effective classification models for gallstone disease prediction using clinical data

References

M. Riandini, S. Wardani, and M. Handayani, “Penerapan Metode Teorema Bayes pada Sistem Pakar dalam Mendiagnosa Tingkat Kepastian Penyakit Batu Empedu,” J. Teknol. Sist. Inf. dan Sist. Komput. TGD, vol. 8, no. 2, pp. 132–139, 2025, doi: 10.53513/jsk.v8i2.11465.

R. R. Hidayah and T. Y. Pramana, “Peran Ursodeoxycholic Acid (Udca) Dalam Pengelolaan Penyakit Batu Empedu,” Prepotif J. Kesehat. Masy., vol. 9, no. 1, pp. 2357–2368, 2025, doi: 10.31004/prepotif.v9i1.43148.

A. H. Andini, M. Romdhoni, and F. Oktavrisa, “Karakteristik Pasien Batu Empedu Yang di Rawat di RSUD Waled Periode 2019-2022,” Syntax Lit. ; J. Ilm. Indones., vol. 7, no. 9, pp. 15291–15303, 2023, doi: 10.36418/syntax-literate.v7i9.14253.

B. Fitriyasti, Khomaini, R. Aulia, and S. Ferilda, “Karakteristik Pasien Kolelitiasis Di Rumah Sakit Siti Rahmah Padang Pada Tahun 2022,” J. Kesehat. Saintika Meditory, vol. 8, no. 1, pp. 405–414, 2025, doi: 10.30633/jsm.v8i1.3231.

I. Akbar, F. Supriadi, and D. Indra Junaedi, “Pemanfaatan Machine Learning Di Bidang Kesehatan,” JATI (Jurnal Mhs. Tek. Inform., vol. 9, no. 1, pp. 1744–1749, 2025, doi: 10.36040/jati.v9i1.12663.

R. M. Siregar, B. Satria, S. Fadilah, L. Mayola, and S. Safira, “SMOTE-Based Comparative Analysis of Machine Learning Models for Stroke Risk Prediction Using Imbalanced Healthcare Data,” Ilk. J. Ilm., vol. 18, no. 1, pp. 180–194, 2026, doi: 10.33096/ilkom.v18i1.3161.180-194.

Fadlina, “Data Mining Untuk Prediksi Penyakit Batu Empedu Dengan Algoritma C45 Aplikasi Rapid Miner,” J. Gemilang Inform., vol. 1, no. 2, 2024, doi: 10.58369/git.v1i2.126.

F. G. Amali, H. Firmansyah, and W. Asriani, “Evaluasi Kinerja Model Gradient Boosted Trees Untuk Prediksi Status Komorbiditas Pada Pasien Batu Empedu,” J. Sist. Inf. dan Sains Teknol., vol. 8, no. 1, pp. 21–37, 2026, doi: 10.31326/sistek.v8i1.2641.

A. Ghozali, H. Pratiwi, and S. S. Handajani, “Implementasi Data Mining Menggunakan Metode Random Forest Dan Support Vector Machine Dalam Klasifikasi Penyakit Diabetes,” Delta J. Ilm. Pendidik. Mat., vol. 11, no. 2, pp. 147–162, 2023, doi: 10.31941/delta.v11i2.2686.

M. F. Akbarollah, W. Wiyanto, D. Ardiatma, and A. T. Zy, “Penerapan Algoritma K-Nearest Neighbor Dalam Klasifikasi Penyakit Jantung,” J. Comput. Syst. Informatics, vol. 4, no. 4, pp. 850–860, 2023, doi: 10.47065/josyc.v4i4.4071.

H. Hidayat, M. F. Wicaksono, Y. J. Wicaksono, S. M. Wibawa, and E. N. P. Septia, “Prediksi Penyakit Liver Dengan Model Pebandingan Logistic Regression, Support Vector Machine, Dan Random Forest,” Komputika J. Sist. Komput., vol. 15, no. 1, pp. 83–94, 2026, doi: 10.34010/komputika.v15i1.19799.

A. D. Achmad, “Klasifikasi Breast Cancer Menggunakan Metode Logistic Regression,” JTRISTE, vol. 9, no. 1, 2022.

R. Puspita and A. Widodo, “Perbandingan Metode KNN, Decision Tree, dan Naïve Bayes Terhadap Analisis Sentimen Pengguna Layanan BPJS,” J. Inform. Univ. Pamulang, vol. 5, no. 4, 2021, doi: 10.32493/informatika.v5i4.7622.

B. Satria, N. Afrianto, L. Ningsih, P. Sakinah, A. Sidauruk, and L. Mayola, “Comparative Analysis of Weighted-KNN, Random Forest, and Support Vector Machine Models for Beef and Pork Image Classification Using Machine Learning,” Int. J. Informatics Vis., vol. 9, no. 4, pp. 1677–1687, 2025, doi: 10.62527/joiv.9.4.3736.

A. Primajaya and B. N. Sari, “Random Forest Algorithm for Prediction of Precipitation,” Indones. J. Artif. Intell. Data Min., vol. 1, no. 1, 2018, doi: 10.24014/ijaidm.v1i1.4903.

M. Premalatha and C. Vijayalakshmi, “SVM approach for non-parametric method in classification and regression learning process on feature selection with ε-insensitive region,” Malaya J. Mat., vol. S, no. 1, pp. 276–279, 2019, doi: 10.26637/MJM0S01/0051.

C. Cortes and V. Vapnik, “Support-vector networks,” Mach. Learn., vol. 20, no. 3, 1995, doi: 10.1007/bf00994018.

D. Cahyanti, A. Rahmayani, and S. A. Husniar, “Analisis performa metode Knn pada Dataset pasien pengidap Kanker Payudara,” Indones. J. Data Sci., vol. 1, no. 2, 2020, doi: 10.33096/ijodas.v1i2.13.

Erlin, Yulvia Nora Marlim, Junadhi, Laili Suryati, and Nova Agustina, “Deteksi Dini Penyakit Diabetes Menggunakan Machine Learning dengan Algoritma Logistic Regression,” J. Nas. Tek. Elektro dan Teknol. Inf., vol. 11, no. 2, pp. 88–96, 2022, doi: 10.22146/jnteti.v11i2.3586.

M. Z. Nurrokhman, “Perbandingan Algoritma Support Vector Machine dan Neural Network untuk Klasifikasi Penyakit Hati Ma’mur,” Indones. J. Comput. Sci., vol. 12, no. 4, pp. 2096–2106, 2023, doi: 10.33022/ijcs.v12i4.3274.


Bila bermanfaat silahkan share artikel ini

Berikan Komentar Anda terhadap artikel Analisis Komparatif Model Logistic Regression, Decision Tree, Random Forest, Support Vector Machine, dan K-Nearest Neighbor untuk Klasifikasi Penyakit Batu Empedu Menggunakan Machine Learning

Article History
Published: 2026-04-30
Abstract View: 46 times
PDF Download: 28 times
How to Cite
Al Amin, A. R., & Satria, B. (2026). Analisis Komparatif Model Logistic Regression, Decision Tree, Random Forest, Support Vector Machine, dan K-Nearest Neighbor untuk Klasifikasi Penyakit Batu Empedu Menggunakan Machine Learning. Bulletin of Information System Research, 4(2), 90-101. https://doi.org/10.62866/bios.v4i2.281
Section
Articles