Optimizing ensemble machine learning models for accurate liver disease prediction in healthcare

Liver disease encompasses a range of conditions affecting the liver, including hepatitis, cirrhosis, fatty liver, and liver cancer. It can be caused by infections, alcohol abuse, obesity, or genetic factors, and it often progresses silently until advanced stages. Early detection and lifestyle adjustments are essential for effective management and to prevent severe liver damage. This study explores the application of machine learning (ML) techniques to predict liver disease, leveraging a dataset to compare the performance of several ensemble classifiers. The algorithms include the Random Forrest Classifier, Ada Boost Classifier, and Gradient Boosting Classifier. After a series of feature extraction and selection, hyperparameter tuning by Randomized Search CV and GridSearchCV, we aimed to determine the best model for liver disease prediction in terms of accuracy, precision, recall, and F1-score. The results showed that the Random Forest Classifier, optimized with GridSearchCV, achieved the highest accuracy at just over 85.17%. The considerations presented in this classifier can be considered for potential use as a precise diagnostic tool for liver disease diagnostics as these measurements indicate that this classifier works balanced with precision at 0.85 for both the presence and absence of the given disease as well as recall of 0.81 for its presence and 0.87 for its absence and F1-measure of 0.83 and 0.85 respectively. There were also relatively high performances of AdaBoost Classifier and Gradient Boosting Classifier, though none of the classifiers outperformed Random Forest Classifier significantly. The research has shown the potential of ensemble ML techniques, especially in the diagnosis of medical conditions, including liver diseases which, if diagnosed early, are critical. The results add evidence regarding the applicability of the ML models in clinical practices with the potential to improve diagnostic activities and consequently the outcomes of patients. Future studies will build on these models, testing them on larger and more diverse sets of data, including aspects of deep learning, and apply the research to other disease domains. The work presented in this research offers a starting point for carrying out innovations with ML in the sphere of healthcare to progress the methods of diagnosing diseases and treatment.

Authors

Institutions

Publication Details

Journal
PLoS ONE
Published
2025-08-28
DOI
https://doi.org/10.1371/journal.pone.0330899
Citations
2
Primary Topic
Liver Disease Diagnosis and Treatment
Type
article
Field-Weighted Citation Impact
2.71
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Optimizing ensemble machine learning models for accurate liver disease prediction in healthcare

H. Sekkat, W. El Atifi, O. El rhazouani, Fida Muhammad Khan
2 citations
PLoS ONE
Liver Disease Diagnosis and Treatment
2.71
article

Optimizing ensemble machine learning models for accurate liver disease prediction in healthcare

H. Sekkat, W. El Atifi, O. El rhazouani, Fida Muhammad Khan
article en
2 citations

Abstract

Liver disease encompasses a range of conditions affecting the liver, including hepatitis, cirrhosis, fatty liver, and liver cancer. It can be caused by infections, alcohol abuse, obesity, or genetic factors, and it often progresses silently until advanced stages. Early detection and lifestyle adjustments are essential for effective management and to prevent severe liver damage. This study explores the application of machine learning (ML) techniques to predict liver disease, leveraging a dataset to compare the performance of several ensemble classifiers. The algorithms include the Random Forrest Classifier, Ada Boost Classifier, and Gradient Boosting Classifier. After a series of feature extraction and selection, hyperparameter tuning by Randomized Search CV and GridSearchCV, we aimed to determine the best model for liver disease prediction in terms of accuracy, precision, recall, and F1-score. The results showed that the Random Forest Classifier, optimized with GridSearchCV, achieved the highest accuracy at just over 85.17%. The considerations presented in this classifier can be considered for potential use as a precise diagnostic tool for liver disease diagnostics as these measurements indicate that this classifier works balanced with precision at 0.85 for both the presence and absence of the given disease as well as recall of 0.81 for its presence and 0.87 for its absence and F1-measure of 0.83 and 0.85 respectively. There were also relatively high performances of AdaBoost Classifier and Gradient Boosting Classifier, though none of the classifiers outperformed Random Forest Classifier significantly. The research has shown the potential of ensemble ML techniques, especially in the diagnosis of medical conditions, including liver diseases which, if diagnosed early, are critical. The results add evidence regarding the applicability of the ML models in clinical practices with the potential to improve diagnostic activities and consequently the outcomes of patients. Future studies will build on these models, testing them on larger and more diverse sets of data, including aspects of deep learning, and apply the research to other disease domains. The work presented in this research offers a starting point for carrying out innovations with ML in the sphere of healthcare to progress the methods of diagnosing diseases and treatment.

PLoS ONEVol. 20(8)
Qurtuba University of Science and Information Technology (PK), Université Hassan 1er (MA), University of Hassan II Casablanca (MA)
Openalex Percentile: Top 9%
Liver Disease Diagnosis and Treatment
2.71
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.