Model Machine Learning Untuk Prediksi Risiko Penyakit Liver Dengan Random Forest Teroptimasi
DOI:
https://doi.org/10.56995/sintek.v6i1.204Keywords:
Machine Learning, Penyakit liver, Random Forest, RandomizedSearchCV, KlasifikasiAbstract
Penyakit liver merupakan salah satu kondisi kronis dengan tingkat mortalitas tinggi, sehingga diperlukan pendekatan prediksi yang akurat untuk mendukung deteksi dini. Penelitian ini bertujuan mengembangkan model machine learning untuk memprediksi risiko penyakit liver menggunakan algoritma Random Forest yang dioptimalkan dengan RandomizedSearchCV. Dataset yang digunakan terdiri dari 1.700 entri yang mencakup variabel klinis dan gaya hidup, termasuk usia, jenis kelamin, BMI, konsumsi alkohol, kebiasaan merokok, riwayat genetik, aktivitas fisik, diabetes, hipertensi, serta hasil Liver Function Test. Proses penelitian meliputi preprocessing, normalisasi skala, pembagian data menggunakan train-test split 80:20, pembangunan model baseline, dan optimasi hiperparameter. Hasil eksperimen menunjukkan bahwa optimasi menghasilkan peningkatan performa model, dengan akurasi 0.91, peningkatan recall sebesar 3.20%, dan AUC-ROC mencapai 0.96. Analisis feature importance menunjukkan bahwa LiverFunctionTest, BMI, dan AlcoholConsumption merupakan fitur paling berpengaruh terhadap prediksi risiko penyakit liver. Dengan demikian, Random Forest teroptimasi terbukti efektif dalam menghasilkan model prediksi yang akurat dan dapat digunakan sebagai alat pendukung keputusan dalam deteksi dini penyakit liver.
Downloads
References
H. Devarbhavi, S. K. Asrani, J. P. Arab, Y. A. Nartey, E. Pose, and P. S. Kamath, “Global burden of liver disease: 2023 update,” J. Hepatol., vol. 79, no. 2, pp. 516–537, 2023, doi: 10.1016/j.jhep.2023.03.017.
F. Abdelhameed et al., “Non-invasive scores and serum biomarkers for fatty liver disease,” Curr. Obes. Rep., vol. 13, no. 1, pp. 17–29, 2024, doi: 10.1007/s13679-024-00574-z.
Q. M. Anstee, L. Castera, and R. Loomba, “Review Impact of non-invasive biomarkers on hepatology practice : Past , present and future,” J. Hepatol., vol. 76, no. 6, pp. 1362–1378, 2022, doi: 10.1016/j.jhep.2022.03.026.
M. Iwasa, A. Hiraoka, and M. Kumagai, “Update on blood-based biomarkers for chronic liver diseases,” Gut Liver, vol. 15, no. 3, pp. 318–329, 2021, doi: 10.5009/gnl21058.
A. Al-Nafjan, A. Aljuhani, A. Alshebel, A. Alharbi, and A. Alshehri, “Artificial intelligence in predictive healthcare: A systematic review,” J. Clin. Med., vol. 14, no. 19, p. 6752, 2025, doi: 10.3390/jcm14196752.
Q. An, S. Rahman, J. Zhou, and J. J. Kang, “A comprehensive review on machine learning in healthcare industry: Classification, restrictions, opportunities and challenges,” Sensors, vol. 23, no. 9, p. 4178, 2023, doi: 10.3390/s23094178.
Y. A. Ali, E. M. Awwad, and M. Al-razgan, “Hyperparameter Search for Machine Learning Algorithms for Optimizing the Computational Complexity,” Process. 2023, vol. 11, no. 2, p. 349, 2023, doi: https://doi.org/10.3390/pr11020349.
L. Alzubaidi, J. Zhang, A. J. Humaidi, and Y. Duan, “Review of machine learning models in medical diagnosis and their data processing requirements,” Front. Artif. Intell., vol. 4, p. 759972, 2021, doi: 10.3389/frai.2021.759972.
D. Fernandes Prabhu, V. Gurupur, A. Stone, and E. Trader, “Integrating artificial intelligence, electronic health records, and wearables for predictive, patient-centered decision support in healthcare,” Healthcare, vol. 13, no. 21, p. 2753, 2025, doi: 10.3390/healthcare13212753.
F. Cappelli, G. Castronuovo, S. Grimaldi, and V. Telesca, “Random Forest and Feature Importance Measures for Discriminating the Most Influential Environmental Factors in Predicting Cardiovascular and Respiratory Diseases,” Int. J. Environ. Res. Public Health, vol. 21, no. 7, 2024, doi: 10.3390/ijerph21070867.
S. M. Ganie, S. Ahmed, and N. Khan, “Improved liver disease prediction from clinical data through ensemble learning methods,” BMC Med. Inform. Decis. Mak., vol. 24, p. 160, 2024, doi: 10.1186/s12911-024-02550-y.
W. El Atifi, O. El Rhazouani, F. M. Khan, and H. Sekkat, “Optimizing ensemble machine learning models for accurate liver disease prediction in healthcare,” PLoS One, vol. 20, no. 8, p. e0330899, 2025, doi: 10.1371/journal.pone.0330899.
N. M. F. S. Raiaan, Mohaimenul Azam Khan, Sadma, “A systematic review of hyperparameter optimization techniques in convolutional neural networks,” Decis. Anal. J., vol. 11, p. 100470, 2024, doi: 10.1016/j.dajour.2024.100470.
O. Rainio, “Evaluation metrics and statistical tests for machine learning,” Sci. Rep., vol. 14, p. 56706, 2024, doi: 10.1038/s41598-024-56706-x.
M. C. Bragazzi, R. Venere, G. Andriollo, and L. Ridola, “Diagnostic Applications of Artificial Intelligence in Liver Diseases,” J. Clin. Med., pp. 1–12, 2025, doi: https://doi.org/ 10.3390/jcm14176231.
G. Erol, B. Uzbaş, and Ş. Yücelbaş, “Analysing the effect of data preprocessing techniques using machine learning algorithms on COVID-19 diagnosis,” Concurr. Comput. Pract. Exp., vol. 34, no. 28, p. e7393, 2022, doi: 10.1002/cpe.7393.
L. J. Kanbar, B. Wissel, Y. Ni, N. Pajor, T. Glauser, and J. W. Dexheimer, “Implementation of Machine Learning Pipelines for Clinical Practice : Development and Validation Study Corresponding Author :,” vol. 10, pp. 1–9, 2022, doi: 10.2196/37833.
E. Dritsas and M. Trigka, “Supervised Machine Learning Models for Liver Disease Risk Prediction,” Comput. Artic., 2023.
W. Hong et al., “Usefulness of Random Forest Algorithm in Predicting Severe Acute Pancreatitis,” Front. Cell. Infect. Microbiol., vol. 12, no. June, pp. 1–14, 2022, doi: 10.3389/fcimb.2022.893294.

















