The Application of Machine Learning in Liver Disease Diagnosis: Analysis of Algorithm Performance and Axiological Implications
DOI:
https://doi.org/10.51747/energy.si2025.253Keywords:
Machine Learning, Liver Disease Diagnosis, Decision Tree, Random Forest, Ethical Considerations, Axiological PerspectiveAbstract
Liver disease remains a significant global health challenge, requiring accurate and timely diagnosis to improve patient outcomes and reduce healthcare costs. This study investigates the application of four machine learning classification algorithms—Decision Tree, Random Forest, Naïve Bayes, and K-Nearest Neighbors (KNN)—to predict the presence of liver disease using a dataset sourced from Kaggle. These algorithms were evaluated based on performance metrics such as accuracy, precision, recall, and F1 score. Both Decision Tree and Random Forest achieved the highest accuracy rate of 72.41%, demonstrating their robustness in classifying liver disease cases. However, these models showed some limitations in identifying patients without liver disease. Naïve Bayes, with an accuracy of 60.34%, exhibited an impressive recall rate of 96.97%, indicating its potential in detecting liver disease cases, though at the cost of lower precision. KNN, with an accuracy of 70.69%, proved to be a competitive option in the classification task. Beyond technical performance, the study also explores the ethical and axiological implications of using machine learning in healthcare, emphasizing the importance of fairness, transparency, and human oversight. The research highlights the need for responsible deployment of machine learning technologies, ensuring they are aligned with ethical standards to avoid biases and enhance healthcare outcomes. This study demonstrates that machine learning can significantly support liver disease diagnosis, though it must be integrated with a comprehensive ethical framework to ensure equitable and transparent decision-making in clinical practice.
References
[1] W. Atifi et al., "Optimizing ensemble machine learning models for accurate liver disease prediction in healthcare," [Online]. Available: https://journals.plos.org/plosone/article/file?id=10.1371/journal.pone.0330899&type=printable
[2] S. Velu, V. Ravi, and K. Tabianan, "Data mining in predicting liver patients using classification model," [Online]. Available: https://link.springer.com/content/pdf/10.1007/s12553-022-00713-3.pdf
[3] [Missing authors], "[PDF] PERBANDINGAN ALGORITMA KLASIFIKASI UNTUK PREDIKSI ...," [Online]. Available: https://jurnal.bsi.ac.id/index.php/reputasi/article/download/109/37
[4] N. Nia, E. Kaplanoğlu, and A. Nasab, "Evaluation of artificial intelligence techniques in disease diagnosis and prediction," [Online]. Available: https://link.springer.com/content/pdf/10.1007/s44163-023-00049-5.pdf
[5] A. Sultana and R. Islam, "Machine learning framework with feature selection approaches for thyroid disease classification and associated risk factors identification," [Online]. Available: https://jesit.springeropen.com/counter/pdf/10.1186/s43067-023-00101-5
[6] [Missing authors], "Applying Naive Bayesian Networks to Disease Prediction - PMC - NIH," [Online]. Available: https://pmc.ncbi.nlm.nih.gov/articles/PMC5203736/
[7] [Missing authors], "[PDF] PREDICTION OF LIVER DISEASE WITH RANDOM FOREST ...," [Online]. Available: https://ijrdst.org/public/uploads/paper/842421702539946.pdf
[8] M. Jabbar, B. Deekshatulu, and P. Chandra, "Classification of Heart Disease Using K- Nearest Neighbor and Genetic Algorithm," [Online]. Available: https://arxiv.org/pdf/1508.02061
[9] [Missing authors], "Artificial intelligence in gastroenterology and hepatology: how to advance clinical practice while ensuring health equity," [Online]. Available: https://escholarship.org/uc/item/58n1z2hr
[10] H. Bharadwaj et al., "Artificial Intelligence in Population-Level Gastroenterology and Hepatology: A Comprehensive Review of Public Health Applications and Quantitative Impact," [Online]. Available: https://doi.org/10.1007/s10620-025-09452-7
[11] [Missing authors], "Axiology and the Evolution of Ethics in the Age of AI: Integrating Ethical Theories via Multiple-Criteria Decision Analysis †," [Online]. Available: https://www.mdpi.com/2504-3900/126/1/17
[12] [Missing authors], "Penerapan Data Mining untuk Klasifikasi Penyakit Stroke ...," [Online]. Available: https://www.ojs.stmikplk.ac.id/index.php/saintekom/article/view/352
[13] [Missing authors], "ILPD (Indian Liver Patient Dataset) Data Set - Kaggle," [Online]. Available: https://www.kaggle.com/datasets/rahulrajpandey31/ilpd-indian-liver-patient-dataset-data-set
[14] [Missing authors], "Comparative Analysis of Machine Learning Algorithms : Random Forest algorithm, Naive Bayes Classifier and KNN - A survey," [Online]. Available: https://jrps.shodhsagar.com/index.php/j/article/view/556
[15] K. Sujon et al., "Accuracy, precision, recall, f1-score, or MCC? empirical evidence from advanced statistics, ML, and XAI for evaluating business predictive models," [Online]. Available: https://link.springer.com/content/pdf/10.1186/s40537-025-01313-4.pdf
[16] [Missing authors], "ILPD (Indian Liver Patient Dataset)," [Online]. Available: https://datasets.aim-ahead.net/dataset/p/UCI_DS_225
[17] S. Ganie, P. K. Pramanik, and Z. Zhao, "Improved liver disease prediction from clinical data through an evaluation of ensemble learning approaches," [Online]. Available: https://bmcmedinformdecismak.biomedcentral.com/counter/pdf/10.1186/s12911-024-02550-y
[18] [Missing authors], "Pengaruh Komposisi Split data Terhadap Performa Klasifikasi ...," [Online]. Available: https://jsi.politala.ac.id/index.php/JSI/article/view/622
[19] [Missing authors], "Ilmu dalam Tinjauan Filsafat: Ontologi, Epistemologi, dan Aksiologi," [Online]. Available: https://ejournal.stai-tbh.ac.id/al-aulia/article/view/1875
[20] [Missing authors], "Sistematika Filsafat Menurut Ontologi, Epistemologi, dan Aksiologi ...," [Online]. Available: https://www.researchgate.net/publication/372771565_Sistematika_Filsafat_Menurut_Ontologi_Epistemologi_dan_Aksiologi_dalam_Artificial_Intelligence
[21] D. Ueda et al., "Fairness of artificial intelligence in healthcare: review and recommendations," [Online]. Available: https://link.springer.com/content/pdf/10.1007/s11604-023-01474-3.pdf
[22] N. Shahbazi et al., "Representation Bias in Data: A Survey on Identification and Resolution Techniques," [Online]. Available: https://doi.org/10.1145/3588433
[23] S. Caton and C. Haas, "Fairness in Machine Learning: A Survey," [Online]. Available: https://dl.acm.org/doi/pdf/10.1145/3616865
[24] R. Agrawal et al., "Fostering trust and interpretability: integrating explainable AI (XAI) with machine learning for enhanced disease prediction and decision transparency," [Online]. Available: https://diagnosticpathology.biomedcentral.com/counter/pdf/10.1186/s13000-025-01686-3
[25] M. Mello and N. Guha, "Understanding Liability Risk from Using Health Care Artificial Intelligence Tools," [Online]. Available: https://doi.org/10.1056/nejmhle2308901
[26] E. Aveling, M. Parker, and M. Dixon‐Woods, "What is the role of individual accountability in patient safety? A multi‐site ethnographic study," [Online]. Available: https://onlinelibrary.wiley.com/doi/pdfdirect/10.1111/1467-9566.12370
[27] L. Jawad, "Security and Privacy in Digital Healthcare Systems: Challenges and Mitigation Strategies," [Online]. Available: https://doi.org/10.1177/09702385241233073
[28] J. Starkbaum and U. Felt, "Negotiating the reuse of health-data: Research, Big Data, and the European General Data Protection Regulation," [Online]. Available: https://journals.sagepub.com/doi/pdf/10.1177/2053951719862594
[29] S. Yu, S. Lee, and H. Hwang, "The ethics of using artificial intelligence in medical research," [Online]. Available: https://doi.org/10.7180/kmj.24.140
[30] Y. Bengio et al., "International Scientific Report on the Safety of Advanced AI (Interim Report)," [Online]. Available: https://arxiv.org/pdf/2412.05282
[31] I. Chen et al., "Ethical Machine Learning in Healthcare," [Online]. Available: https://arxiv.org/pdf/2009.10576
Downloads
Published
Issue
Section
License
Copyright (c) 2025 ENERGY: JURNAL ILMIAH ILMU-ILMU TEKNIK

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











