Liver Disease Prediction Using Hybrid Feature Selection: A Comparative Analysis of Machine Learning Models
Abstract
1. Introduction
2. Related Work
3. Materials and Methods
3.1. ILPD Dataset and Preprocessing
3.2. BUPA Dataset and Preprocessing
3.3. Class Imbalance Problem
3.4. Hybrid Feature Selection (HFS)
| Algorithm 1: Hybrid Feature Selection (HFS) |
| Input: Dataset D with features F and target y Correlation threshold θ Weight parameter w ∈ [0, 1] Number of selected features k Output: Selected feature subset F* Step 1. Separate features F and target variable y //Stage 1: Redundancy Elimination Step 2. Initialize empty set R (redundant features) Step 3. For each pair (fᵢ, fⱼ) in F: Step 3.1. Compute Pearson correlation ρ(fᵢ, fⱼ) Step 3.2. If |ρ(fᵢ, fⱼ)| > θ: add fⱼ to R Step 4. F′ ← F\R //Stage 2: Relevance Estimation Step 5. For each feature f in F′: Step 5.1. Compute IG(f) = H(y) − H(y | f) Step 5.2. Compute GR(f) = IG(f)/H(f) //Stage 3: Hybrid Scoring and Ranking Step 6. For each feature f in F′: Step 6.1. Compute S(f) = w · IG(f) + (1 − w) · GR(f) Step 7. Sort F′ in descending order of S(f) Step 8. F* ← top-k features from sorted F′ Step 9. Return F* |
3.5. Machine Learning Classification Models
3.6. Hyperparameter Tuning
3.7. Model Evaluation
3.8. Repeated Train-Test Split Validation and Statistical Testing
3.9. Computational Complexity
4. Results
4.1. Performance Comparison Across Ten Independent Runs
4.2. HFS Feature Selection Stability
4.3. Explainability Analysis on the Median-Performance Run
4.4. Ablation Study: Disentangling HFS and SMOTE Contributions
4.5. Sensitivity Analysis of HFS Parameters
4.5.1. Sensitivity to the Weighting Parameter w
4.5.2. Sensitivity to the Number of Selected Features k
4.6. Generalizability Assessment on BUPA Liver Disorders
4.7. Explainability Stability Across Independent Runs
5. Discussion
5.1. Statistical Significance of Pipeline Improvements
5.2. Resolution of Majority-Class Collapse
5.3. Filter-Based Selection vs. Model-Based Importance
5.4. Clinical Plausibility of the Selected Feature Set
5.5. Comparison with the Prior Literature
5.6. Limitations and Future Work
6. Conclusions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| ILPD | Indian Liver Patient Dataset |
| HFS | Hybrid Feature Selection |
| SMOTE | Synthetic Minority Over-sampling Technique |
| IG | Information Gain |
| GR | Gain Ratio |
| ML | Machine Learning |
| SVM | Support Vector Machine |
| RBF | Radial Basis Function |
| KNN | K-Nearest Neighbors |
| LR | Logistic Regression |
| DT | Decision Tree |
| RF | Random Forest |
| AST | Aspartate Aminotransferase |
| ALT | Alanine Aminotransferase |
| ALP | Alkaline Phosphatase |
| ROC-AUC | Receiver Operating Characteristic—Area Under Curve |
| CV | Cross-Validation |
| SHAP | SHapley Additive exPlanations |
| XAI | Explainable Artificial Intelligence |
References
- Gupta, K.; Jiwani, N.; Afreen, N. Liver disease prediction using machine learning classification techniques. In 2022 IEEE 11th International Conference on Communication Systems and Network Technologies (CSNT); IEEE: New York, NY, USA, 2022; pp. 221–226. [Google Scholar] [CrossRef] [Scilit]
- Anthonysamy, V.; Babu, S.K. Multi perceptron neural network and voting classifier for liver disease dataset. IEEE Access 2023, 11, 102149–102156. [Google Scholar] [CrossRef] [Scilit]
- Amin, R.; Yasmin, R.; Ruhi, S.; Rahman, M.H.; Reza, M.S. Prediction of chronic liver disease patients using integrated projection based statistical feature extraction with machine learning algorithms. Inform. Med. Unlocked 2023, 36, 101155. [Google Scholar] [CrossRef] [Scilit]
- Tokala, S.; Hajarathaiah, K.; Gunda, S.R.P.; Botla, S.; Nalluri, L.; Nagamanohar, P.; Anamalamudi, S.; Enduri, M.K. Liver disease prediction and classification using machine learning techniques. Int. J. Adv. Comput. Sci. Appl. 2023, 14, 871–878. [Google Scholar] [CrossRef] [Scilit]
- Zhang, Z. Diagnosis of liver diseases based on artificial intelligence. Biotechnol. Genet. Eng. Rev. 2024, 40, 1193–1201. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Lakumarapu, S.; Nithyanandhan, R.; Bhargavi, V.S.; P, A.T.; M, N.; R, S.S. Machine learning approaches for liver disease prediction: A comparative analysis. In 2024 5th International Conference on Electronics and Sustainable Communication Systems (ICESC); IEEE: New York, NY, USA, 2024; pp. 159–164. [Google Scholar] [CrossRef] [Scilit]
- İlter, P.; Kırelli, Y. Decision Support Systems Based on Machine Learning for Detection of Liver Diseases. Afyon Kocatepe Üniv. Fen Mühendislik Bilim. Derg. 2025, 25, 827–837. [Google Scholar] [CrossRef] [Scilit]
- Mithu, K.; Begum, S.; Uddin, M.N.; Huda, M.N. Interpretable Machine Learning for Liver Disease Risk Profiling: Insights from the Indian Liver Patient Dataset. Data Model. 2026, 7, 1–12. [Google Scholar]
- Modhugu, V.R.; Ponnusamy, S. Comparative analysis of machine learning algorithms for liver disease prediction: SVM, logistic regression, and decision tree. Asian J. Res. Comput. Sci. 2024, 17, 188–201. [Google Scholar] [CrossRef] [Scilit]
- Dritsas, E.; Trigka, M. Supervised machine learning models for liver disease risk prediction. Computers 2023, 12, 19. [Google Scholar] [CrossRef] [Scilit]
- Rani, R.; Jaiswal, G.; Nancy; Lipika, N.; Bhushan, S.; Ullah, F.; Singh, P.; Diwakar, M. Enhancing liver disease diagnosis with hybrid SMOTE-ENN balanced machine learning models—An empirical analysis of Indian patient liver disease datasets. Front. Med. 2025, 12, 1502749. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Docherty, M.; Regnier, S.A.; Capkun, G.; Balp, M.M.; Ye, Q.; Janssens, N.; Schattenberg, J.M.; Tietz, A.; Löffler, J.; Cai, J.; et al. Development of a novel machine learning model to predict presence of nonalcoholic steatohepatitis. J. Am. Med. Inform. Assoc. 2021, 28, 1235–1241. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Wu, C.C.; Yeh, W.C.; Hsu, W.D.; Islam, M.M.; Nguyen, P.A.; Poly, T.N.; Wang, Y.-C.; Yang, H.-C.; Li, Y.C. Prediction of fatty liver disease using machine learning algorithms. Comput. Methods Programs Biomed. 2019, 170, 23–29. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Quadir, A.; Kulkarni, S.; Joshua, C.J.; Vaichole, T.; Mohan, S.; Iwendi, C. Enhanced preprocessing approach using ensemble machine learning algorithms for detecting liver disease. Biomedicines 2023, 11, 581. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Mohamed, M.H.; Ali, B.H.; Taloba, A.I.; Aseeri, A.O.; Elaziz, M.; El-Sappagah, S.; El-Rashidy, N.M. Toward an accurate liver disease prediction based on Two-Level ensemble stacking model. IEEE Access 2024, 12, 180210–180237. [Google Scholar] [CrossRef] [Scilit]
- Ganie, S.M.; Pramanik, P.K.D. A comparative analysis of boosting algorithms for chronic liver disease prediction. Healthc. Anal. 2024, 5, 100313. [Google Scholar] [CrossRef] [Scilit]
- El Atifi, W.; El Rhazouani, O.; Khan, F.M.; Sekkat, H. Optimizing ensemble machine learning models for accurate liver disease prediction in healthcare. PLoS ONE 2025, 20, e0330899. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Jasim, A.A.; Alwindawi, H.; Hazim, L.R. Empowering Diagnostics: An Ensemble Machine Learning Model for Early Liver Disease Detection. Al-Iraqia J. Sci. Eng. Res. 2025, 4, 13–19. [Google Scholar] [CrossRef] [Scilit]
- Qin, S.; Hou, X.; Wen, Y.; Wang, C.; Tan, X.; Tian, H.; Ao, Q.; Li, J.; Chu, S. Machine learning classifiers for screening nonalcoholic fatty liver disease in general adults. Sci. Rep. 2023, 13, 3638. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Razmpour, F.; Daryabeygi-Khotbehsara, R.; Soleimani, D.; Asgharnezhad, H.; Shamsi, A.; Bajestani, G.S.; Nematy, M.; Pour, M.R.; Maddison, R.; Islam, S.M.S. Application of machine learning in predicting non-alcoholic fatty liver disease using anthropometric and body composition indices. Sci. Rep. 2023, 13, 4942. [Google Scholar] [CrossRef] [Scilit]
- Lanjewar, M.G.; Parab, J.S.; Shaikh, A.Y.; Sequeira, M. CNN with machine learning approaches using ExtraTreesClassifier and MRMR feature selection techniques to detect liver diseases on cloud. Clust. Comput. 2023, 26, 3657–3672. [Google Scholar] [CrossRef] [Scilit]
- Hendi, A.M.; Hossain, M.A.; Majrashi, N.A.; Limkar, S.; Elamin, B.M.; Rahman, M. Adaptive method for exploring deep learning techniques for subtyping and prediction of liver disease. Appl. Sci. 2024, 14, 1488. [Google Scholar] [CrossRef] [Scilit]
- Chen, T.; Zeng, Y.; Wang, J.; Sun, X.; Liu, S.; Fu, Y.; Yi, Q.; Ou, Q.; Yan, K.; Zhou, Z. Double Graph Attention Network for predicting non-alcoholic fatty liver disease in patients with type 2 diabetes. Artif. Intell. Med. 2026, 174, 103369. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Donaire, L.M.; Ortega, G.; Orts, F.; Garzón, E.M.; Filatovas, E. A hybrid quantum-classical approach for liver disease detection using quantum machine learning. Eng. Appl. Artif. Intell. 2026, 164, 113240. [Google Scholar] [CrossRef] [Scilit]
- Khan, N.A.; Hafiz, M.F.; Pramanik, M.A.; Hossain, S.; Barman, S.; Hossain, N. Machine Learning and Explainable AI for Liver Disease Prediction: An Integrated Interpretability Framework. Biomed. Mater. Devices 2026, 4, 2522–2535. [Google Scholar] [CrossRef] [Scilit]
- Makkena, K.R.; Natarajan, K. Enhancing Liver Cirrhosis Diagnosis Using Machine Learning With Explainable AI and Cross-Validated Hyperparameter Tuning Techniques. IEEE Access 2025, 13, 93323–93335. [Google Scholar] [CrossRef] [Scilit]
- Yu, Y.; Yang, Y.; Li, Q.; Yuan, J.; Zha, Y. Predicting metabolic dysfunction associated steatotic liver disease using explainable machine learning methods. Sci. Rep. 2025, 15, 12382. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Hong, Y.; Chen, X.; Wang, L.; Zhang, F.; Zeng, Z.; Xie, W. Machine learning prediction of metabolic dysfunction-associated fatty liver disease risk in American adults using body composition: Explainable analysis based on SHapley Additive exPlanations. Front. Nutr. 2025, 12, 1616229. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Wang, L.H. Development and Validation of a Machine Learning–Based Prediction Model for Cardiovascular Disease in Patients with Metabolic Dysfunction–Associated Fatty Liver Disease. Turk. J. Gastroenterol. 2026, 37, 471–482. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Li, Y.; Qiao, Z.; Li, Y.; Feng, Y.; Wang, X. Machine learning-based hepatocellular carcinoma risk prediction model for patients with HBV-related compensated advanced chronic liver disease. J. Cancer Res. Clin. Oncol. 2025, 151, 285. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Yang, F.; Sun, X.; Jiang, K.; Zhang, M.; Sun, C. Recent Advances in the Application of Machine Learning Models in Metabolic Dysfunction–Associated Steatotic Liver Disease. Diabetes/Metab. Res. Rev. 2026, 42, e70129. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Zhang, Y.; Li, M.; Du, S.; Chen, Y.; Li, Q.; Zhang, Z.; Xiang, J.; Xu, R.; Zu, Q.; Lv, Z.; et al. Machine learning-driven analysis of occupational heat exposure and metabolic associated fatty liver disease in petrochemical workers. Ecotoxicol. Environ. Saf. 2026, 309, 119512. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Zhou, Z.; Gao, N.; Liu, J.; Ma, X.; Ge, Z.; Ji, C. An interpretable machine learning model for predicting metabolic dysfunction-associated steatotic liver disease in patients with type 2 diabetes. Diabetes Obes. Metab. 2026, 28, 122–136. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Gu, J.; Chai, J. An interpretable machine learning model for prediction of significant liver fibrosis in comorbid chronic hepatitis B and nonalcoholic fatty liver disease: A retrospective development and validation study. BMC Gastroenterol. 2026, 26, 116. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Huang, L.; Luo, Y.; Zhang, L.; Wu, M.; Hu, L. Machine learning-based disease risk stratification and prediction of metabolic dysfunction-associated fatty liver disease using vibration-controlled transient elastography: Result from NHANES 2021–2023. BMC Gastroenterol. 2025, 25, 255. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Wu, X.; Song, Q.; Li, D.; Liu, Z.; Wang, X.; Yang, R.; Yang, H. Development and external validation of a machine learning model for predicting in-hospital mortality in acute liver failure. Dig. Liver Dis. 2026, 58, 644–653. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Du, S.; Yu, H.; Du, J.; Xu, Y. Machine Learning Models to Predict Metabolic Dysfunction-Associated Steatotic Liver Disease (MASLD) With Simple Anthropometric and Biochemical Variables: A Cross-Sectional Study in US Population. Int. J. Hepatol. 2026, 2026, 8221645. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Xu, Z.A.; Zhu, Y.; Chen, F.; Fan, Q.; Wang, R.; Fu, Y.; Liang, X.; Wu, X.; Zhu, L.; Ha, F.; et al. Two-Step Machine Learning Model Enhances Identification of High-Risk Metabolic Dysfunction-Associated Steatotic Liver Disease. Liver Int. 2026, 46, e70491. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Ma, H.; Xu, C.F.; Shen, Z.; Yu, C.H.; Li, Y.M. Application of machine learning techniques for clinical predictive modeling: A cross-sectional study on nonalcoholic fatty liver disease in China. BioMed Res. Int. 2018, 2018, 4304376. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Khosravi, Z.; Barzinpour, F.; Rabizadeh, S.; Nakhjavani, M.; Esteghamati, A. Machine learning prediction of metabolic-associated fatty liver disease in type 2 diabetes: Emphasizing data imputation and feature selection. PLoS ONE 2026, 21, e0339580. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Kuzhippallil, M.A.; Joseph, C.; Kannan, A. Comparative analysis of machine learning techniques for indian liver disease patients. In 2020 6th International Conference on Advanced Computing and Communication Systems (ICACCS); IEEE: New York, NY, USA, 2020; pp. 778–782. [Google Scholar] [CrossRef] [Scilit]
- Rivera, I.; Bourien, H.; Morel-Corlu, E.; Peinoit, A.; Sourd, S.; Rolland, Y.; Edeline, J.; Garin, E.; Acosta, O. Machine learning models classifiers enable a strong prediction of radioembolization-induced liver disease, and define a new bilirubin threshold for selection of patients. Eur. J. Nucl. Med. Mol. Imaging 2026, 53, 3915–3924. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Dan, L.; Shi, H.; Cao, L.; Li, X.; Kong, L.; You, X.; Liu, W.; Hao, Y.; Wang, D.; Song, H.; et al. Serum biomarker screening and metabolic profiling analysis of nonalcoholic fatty liver disease patients using untargeted metabolomics and machine learning techniques. Front. Mol. Biosci. 2026, 13, 1730023. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Lin, L.; Xie, Y.; Lin, Z.; Lin, C.; Yang, Y. Machine learning for predicting metabolic-associated fatty liver disease including NHHR: A cross-sectional NHANES study. PLoS ONE 2025, 20, e0319851. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- He, Y.; Cao, Y.; Chen, Z.; Xiang, R.; Wang, F. Integrating body composition analysis and machine learning for non-invasive identification of metabolic dysfunction-associated fatty liver disease: A large-scale health examination-based study. Sci. Rep. 2026, 16, 7038. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Sadeghi, B.; Zarrinbal, M.; Poustchi, H.; Sadeghi, A.; Taheri, E. Diagnosis and grading of steatotic liver disease via clinical and laboratory data using machine learning. Sci. Rep. 2026, 16, 6866. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Gao, B.; Duan, W. The current status and future directions of artificial intelligence in the prediction, diagnosis, and treatment of liver diseases. Digit. Health 2025, 11, 20552076251325418. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Yang, S.; Mo, R.; Wang, W.; Zhen, P.; Han, W. Development of a machine learning-based model for prediction of diabetes risk in patients with metabolic dysfunction-associated steatotic liver disease (MASLD). BMJ Open 2026, 16, e107239. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Zhang, Y.; Qi, J.; Chen, X.; Pang, L.; Shi, Z.; Wei, B.; Lian, C. Atrial fibrillation identification in patients with non-alcoholic fatty liver disease: A machine learning model based on immune-inflammatory markers. Diabetol. Metab. Syndr. 2026, 18, 35. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Ramana, B.; Venkateswarlu, N. ILPD (Indian Liver Patient Dataset); UCI Machine Learning Repository: Irvine, CA, USA, 2012; Volume 10, p. C5D02C. [Google Scholar]
- Forsyth, R.S. BUPA Liver Disorder Dataset; UCI Machine Learning Repository: Irvine, CA, USA, 1990. [Google Scholar]
- McDermott, J.; Forsyth, R.S. Diagnosing a disorder in a classification benchmark. Pattern Recognit. Lett. 2016, 73, 41–43. [Google Scholar] [CrossRef] [Scilit]
- Chawla, N.V.; Bowyer, K.W.; Hall, L.O.; Kegelmeyer, W.P. SMOTE: Synthetic minority over-sampling technique. J. Artif. Intell. Res. 2002, 16, 321–357. [Google Scholar] [CrossRef] [Scilit]
- Lundberg, S.M.; Lee, S.I. A unified approach to interpreting model predictions. In Advances in Neural Information Processing Systems; Curran Associates, Inc.: Red Hook, NY, USA, 2017; Volume 30. [Google Scholar]
- Fisher, A.; Rudin, C.; Dominici, F. All models are wrong, but many are useful: Learning a variable’s importance by studying an entire class of prediction models simultaneously. J. Mach. Learn. Res. 2019, 20, 1–81. [Google Scholar]









| Characteristics | Subgroup | All (Number) | All (%) | With Liver Disease (Number) | With Liver Disease (%) | Without Liver Disease (Number) | Without Liver Disease (%) |
|---|---|---|---|---|---|---|---|
| Patients Enrolled | - | 583 | 100 | 416 | 71.36 | 167 | 28.65 |
| Age (in years) | Median | 45 | - | 46 | - | 40 | - |
| Range | 4 to 90 | - | 7 to 90 | - | 4 to 85 | - | |
| Gender | Male | 441 | 75.64 | 324 | 77.88 | 117 | 70.06 |
| Female | 142 | 24.36 | 92 | 22.12 | 50 | 29.94 | |
| Total Bilirubin (TB) | Median | 1 | - | 1.4 | - | 0.8 | - |
| Range | 0.4 to 75 | - | 0.4 to 75 | - | 0.5 to 7.3 | - | |
| Direct Bilirubin (DB) | Median | 0.3 | - | 0.5 | - | 0.2 | - |
| Range | 0.1 to 19.7 | - | 0.1 to 19.7 | - | 0.1 to 3.6 | - | |
| Alkaline Phosphatase (AP) | Median | 208 | - | 229 | - | 186 | - |
| Range | 63 to 2110 | - | 63 to 2110 | - | 90 to 1590 | - | |
| Alanine Aminotransferase (SGPT) | Median | 35 | - | 41 | - | 27 | - |
| Range | 10 to 2000 | - | 12 to 2000 | - | 10 to 181 | - | |
| Aspartate Aminotransferase (SGOT) | Median | 42 | - | 52.5 | - | 29 | - |
| Range | 4 to 4929 | - | 11 to 4929 | - | 10 to 285 | - | |
| Total Proteins (TP) | Median | 6.6 | - | 6.55 | - | 6.6 | - |
| Range | 2.7 to 9.6 | - | 2.7 to 9.6 | - | 3.7 to 9.2 | - | |
| Albumin | Median | 3.10 | - | 3.00 | - | 3.4 | - |
| Range | 0.9 to 5.5 | - | 0.9 to 5.5 | - | 1.4 to 5.0 | - | |
| Albumin and Globulin Ratio | Median | 0.93 | - | 0.90 | - | 1 | - |
| Range | 0.3 to 2.8 | - | 0.3 to 2.8 | - | 0.37 to 1.9 | - |
| Feature | Selection Frequency (out of 10) | Selection Rate (%) |
|---|---|---|
| Aspartate_Aminotransferase | 10/10 | 100% |
| Alamine_Aminotransferase | 10/10 | 100% |
| Total_Bilirubin | 10/10 | 100% |
| Age | 10/10 | 100% |
| Alkaline_Phosphatase | 7/10 | 70% |
| Direct_Bilirubin | 6/10 | 60% |
| Gender | 4/10 | 40% |
| Albumin | 2/10 | 20% |
| Albumin_and_Globulin_Ratio | 1/10 | 10% |
| Model | Best Params (Without HFS) | Best Params (with HFS) |
|---|---|---|
| KNN | metric = euclidean, n_neighbors = 5 | metric = manhattan, n_neighbors = 11 |
| SVM (RBF) | C = 100, gamma = scale | C = 1, gamma = auto |
| SVM (Linear) | C = 1 | C = 0.1 |
| XGBoost | learning_rate = 0.01, max_depth = 3, n_estimators = 200 | learning_rate = 0.01, max_depth = 7, n_estimators = 100 |
| Decision Tree | max_depth = 3, min_samples_split = 2 | max_depth = 3, min_samples_split = 2 |
| Stacking (RF + SVM) | rf__max_depth = 5, rf__n_estimators = 100 | rf__max_depth = 10, rf__n_estimators = 100 |
| Bagging | max_samples = 0.7, n_estimators = 50 | max_samples = 1.0, n_estimators = 50 |
| Random Forest | max_depth = 5, n_estimators = 300 | max_depth = 10, n_estimators = 300 |
| AdaBoost | learning_rate = 0.1, n_estimators = 50 | learning_rate = 0.1, n_estimators = 50 |
| Logistic Regression | C = 10, solver = lbfgs | C = 1, solver = liblinear |
| Model | CV ROC-AUC (Without HFS) | CV ROC-AUC (with HFS) | Δ CV ROC-AUC |
|---|---|---|---|
| KNN | 0.6806 ± 0.0629 | 0.7355 ± 0.0792 | +0.0549 |
| SVM (RBF) | 0.7294 ± 0.0676 | 0.7480 ± 0.0926 | +0.0187 |
| SVM (Linear) | 0.7101 ± 0.0915 | 0.7566 ± 0.0920 | +0.0464 |
| XGBoost | 0.7180 ± 0.0797 | 0.7218 ± 0.0683 | +0.0038 |
| Decision Tree | 0.6703 ± 0.0958 | 0.6823 ± 0.0796 | +0.0119 |
| Stacking (RF + SVM) | 0.7405 ± 0.0788 | 0.7493 ± 0.0577 | +0.0088 |
| Bagging | 0.7142 ± 0.0729 | 0.7313 ± 0.0573 | +0.0171 |
| Random Forest | 0.7407 ± 0.0831 | 0.7501 ± 0.0611 | +0.0094 |
| AdaBoost | 0.7387 ± 0.0767 | 0.7212 ± 0.0702 | −0.0174 |
| Logistic Regression | 0.7530 ± 0.0978 | 0.7612 ± 0.0891 | +0.0081 |
| Model | Accuracy | Precision | Recall | Specificity | F1 Score | ROC-AUC |
|---|---|---|---|---|---|---|
| KNN | 0.660 ± 0.033 | 0.737 ± 0.016 | 0.808 ± 0.053 | 0.297 ± 0.063 | 0.771 ± 0.028 | 0.634 ± 0.059 |
| SVM (RBF) | 0.679 ± 0.036 | 0.725 ± 0.028 | 0.890 ± 0.092 | 0.165 ± 0.168 | 0.796 ± 0.032 | 0.665 ± 0.038 |
| SVM (Linear) | 0.709 ± 0.000 | 0.709 ± 0.000 | 1.000 ± 0.000 | 0.000 ± 0.000 | 0.830 ± 0.000 | 0.694 ± 0.042 |
| XGBoost | 0.685 ± 0.035 | 0.741 ± 0.025 | 0.855 ± 0.059 | 0.268 ± 0.120 | 0.793 ± 0.027 | 0.715 ± 0.047 |
| Decision Tree | 0.659 ± 0.035 | 0.747 ± 0.046 | 0.804 ± 0.135 | 0.306 ± 0.246 | 0.765 ± 0.049 | 0.668 ± 0.048 |
| Stacking (RF + SVM) | 0.703 ± 0.021 | 0.716 ± 0.010 | 0.965 ± 0.037 | 0.065 ± 0.058 | 0.822 ± 0.015 | 0.726 ± 0.048 |
| Bagging | 0.685 ± 0.040 | 0.752 ± 0.028 | 0.833 ± 0.051 | 0.326 ± 0.098 | 0.789 ± 0.030 | 0.728 ± 0.043 |
| Random Forest | 0.694 ± 0.024 | 0.739 ± 0.009 | 0.880 ± 0.053 | 0.241 ± 0.065 | 0.802 ± 0.021 | 0.736 ± 0.047 |
| AdaBoost | 0.705 ± 0.039 | 0.746 ± 0.036 | 0.892 ± 0.070 | 0.250 ± 0.170 | 0.810 ± 0.028 | 0.717 ± 0.062 |
| Logistic Regression | 0.704 ± 0.032 | 0.737 ± 0.018 | 0.906 ± 0.044 | 0.212 ± 0.077 | 0.813 ± 0.023 | 0.740 ± 0.040 |
| Model | Accuracy | Precision | Recall | Specificity | F1 Score | ROC-AUC |
|---|---|---|---|---|---|---|
| KNN | 0.629 ± 0.050 | 0.853 ± 0.054 | 0.578 ± 0.060 | 0.753 ± 0.104 | 0.688 ± 0.049 | 0.719 ± 0.053 |
| SVM (RBF) | 0.568 ± 0.042 | 0.922 ± 0.027 | 0.429 ± 0.067 | 0.909 ± 0.038 | 0.582 ± 0.060 | 0.743 ± 0.031 |
| SVM (Linear) | 0.567 ± 0.052 | 0.931 ± 0.049 | 0.420 ± 0.071 | 0.924 ± 0.056 | 0.576 ± 0.069 | 0.748 ± 0.036 |
| XGBoost | 0.690 ± 0.041 | 0.823 ± 0.049 | 0.723 ± 0.072 | 0.609 ± 0.148 | 0.766 ± 0.037 | 0.741 ± 0.053 |
| Decision Tree | 0.626 ± 0.055 | 0.842 ± 0.022 | 0.583 ± 0.096 | 0.729 ± 0.069 | 0.684 ± 0.068 | 0.693 ± 0.034 |
| Stacking (RF + SVM) | 0.694 ± 0.038 | 0.827 ± 0.032 | 0.720 ± 0.045 | 0.629 ± 0.077 | 0.769 ± 0.032 | 0.746 ± 0.043 |
| Bagging | 0.700 ± 0.063 | 0.825 ± 0.037 | 0.731 ± 0.076 | 0.624 ± 0.083 | 0.774 ± 0.054 | 0.747 ± 0.042 |
| Random Forest | 0.692 ± 0.041 | 0.842 ± 0.048 | 0.701 ± 0.050 | 0.671 ± 0.126 | 0.763 ± 0.033 | 0.750 ± 0.044 |
| AdaBoost | 0.649 ± 0.040 | 0.850 ± 0.046 | 0.616 ± 0.049 | 0.729 ± 0.096 | 0.712 ± 0.037 | 0.727 ± 0.061 |
| Logistic Regression | 0.613 ± 0.038 | 0.885 ± 0.028 | 0.522 ± 0.049 | 0.835 ± 0.044 | 0.656 ± 0.042 | 0.746 ± 0.034 |
| Model | ROC-AUC (Without HFS) | ROC-AUC (with HFS) | Δ ROC-AUC | p-Value |
|---|---|---|---|---|
| KNN | 0.6342 ± 0.0556 | 0.7192 ± 0.0500 | +0.0850 | 0.0273 * |
| SVM (RBF) | 0.6649 ± 0.0362 | 0.7432 ± 0.0293 | +0.0783 | 0.0020 * |
| SVM (Linear) | 0.6938 ± 0.0395 | 0.7479 ± 0.0339 | +0.0541 | 0.0098 * |
| XGBoost | 0.7148 ± 0.0446 | 0.7415 ± 0.0499 | +0.0266 | 0.0137 * |
| Decision Tree | 0.6676 ± 0.0460 | 0.6928 ± 0.0324 | +0.0252 | 0.0488 * |
| Stacking (RF + SVM) | 0.7260 ± 0.0456 | 0.7461 ± 0.0407 | +0.0201 | 0.1055 |
| Bagging | 0.7284 ± 0.0407 | 0.7475 ± 0.0402 | +0.0190 | 0.0645 |
| Random Forest | 0.7356 ± 0.0444 | 0.7500 ± 0.0416 | +0.0144 | 0.3750 |
| AdaBoost | 0.7166 ± 0.0585 | 0.7274 ± 0.0581 | +0.0108 | 0.2324 |
| Logistic Regression | 0.7405 ± 0.0379 | 0.7456 ± 0.0322 | +0.0051 | 0.4413 |
| Classifier | Neither | HFS Only | SMOTE Only | HFS + SMOTE |
|---|---|---|---|---|
| KNN | 0.6342 ± 0.0586 | 0.7251 ± 0.0397 | 0.6280 ± 0.0634 | 0.7192 ± 0.0527 |
| SVM (RBF) | 0.6649 ± 0.0381 | 0.6749 ± 0.0203 | 0.7434 ± 0.0458 | 0.7432 ± 0.0309 |
| SVM (Linear) | 0.6834 ± 0.0379 | 0.6259 ± 0.1298 | 0.7445 ± 0.0421 | 0.7479 ± 0.0357 |
| XGBoost | 0.7148 ± 0.0471 | 0.7181 ± 0.0606 | 0.7203 ± 0.0452 | 0.7415 ± 0.0526 |
| Decision Tree | 0.6676 ± 0.0485 | 0.6851 ± 0.0460 | 0.6842 ± 0.0503 | 0.6928 ± 0.0342 |
| Stacking (RF + SVM) | 0.7260 ± 0.0480 | 0.7362 ± 0.0388 | 0.7311 ± 0.0523 | 0.7461 ± 0.0429 |
| Bagging | 0.7284 ± 0.0428 | 0.7402 ± 0.0458 | 0.7318 ± 0.0506 | 0.7475 ± 0.0424 |
| Random Forest | 0.7356 ± 0.0468 | 0.7405 ± 0.0319 | 0.7354 ± 0.0486 | 0.7500 ± 0.0439 |
| AdaBoost | 0.7166 ± 0.0617 | 0.7245 ± 0.0610 | 0.7175 ± 0.0636 | 0.7274 ± 0.0613 |
| Logistic Regression | 0.7405 ± 0.0400 | 0.7429 ± 0.0336 | 0.7418 ± 0.0379 | 0.7456 ± 0.0339 |
| Classifier | w = 0.0 | w = 0.25 | w = 0.50 | w = 0.75 | w = 1.0 |
|---|---|---|---|---|---|
| KNN | 0.7220 ± 0.0343 | 0.7152 ± 0.0381 | 0.7192 ± 0.0527 | 0.7196 ± 0.0522 | 0.7196 ± 0.0522 |
| SVM (RBF) | 0.7339 ± 0.0423 | 0.7396 ± 0.0345 | 0.7432 ± 0.0309 | 0.7373 ± 0.0411 | 0.7373 ± 0.0411 |
| SVM (Linear) | 0.7408 ± 0.0461 | 0.7434 ± 0.0404 | 0.7479 ± 0.0357 | 0.7466 ± 0.0382 | 0.7466 ± 0.0382 |
| XGBoost | 0.7314 ± 0.0642 | 0.7318 ± 0.0565 | 0.7415 ± 0.0526 | 0.7384 ± 0.0572 | 0.7376 ± 0.0561 |
| Decision Tree | 0.6865 ± 0.0392 | 0.6909 ± 0.0367 | 0.6928 ± 0.0342 | 0.6985 ± 0.0333 | 0.6978 ± 0.0325 |
| Stacking (RF + SVM) | 0.7381 ± 0.0566 | 0.7403 ± 0.0492 | 0.7461 ± 0.0429 | 0.7443 ± 0.0435 | 0.7439 ± 0.0450 |
| Bagging | 0.7483 ± 0.0555 | 0.7443 ± 0.0501 | 0.7475 ± 0.0424 | 0.7476 ± 0.0432 | 0.7477 ± 0.0425 |
| Random Forest | 0.7470 ± 0.0591 | 0.7499 ± 0.0525 | 0.7500 ± 0.0439 | 0.7477 ± 0.0459 | 0.7533 ± 0.0499 |
| AdaBoost | 0.7190 ± 0.0580 | 0.7196 ± 0.0581 | 0.7274 ± 0.0613 | 0.7279 ± 0.0602 | 0.7279 ± 0.0602 |
| Logistic Regression | 0.7423 ± 0.0380 | 0.7434 ± 0.0339 | 0.7456 ± 0.0339 | 0.7445 ± 0.0360 | 0.7445 ± 0.0360 |
| Classifier | Neither | HFS only | SMOTE only | HFS + SMOTE |
|---|---|---|---|---|
| KNN | 0.5986 ± 0.0795 | 0.5839 ± 0.0827 | 0.5983 ± 0.0735 | 0.5762 ± 0.0695 |
| SVM (RBF) | 0.5959 ± 0.0615 | 0.6091 ± 0.0672 | 0.5955 ± 0.0610 | 0.6189 ± 0.0645 |
| SVM (Linear) | 0.6348 ± 0.0771 | 0.6297 ± 0.0645 | 0.6341 ± 0.0843 | 0.6356 ± 0.0668 |
| XGBoost | 0.6029 ± 0.0758 | 0.5916 ± 0.0579 | 0.6022 ± 0.0766 | 0.5892 ± 0.0603 |
| Decision Tree | 0.5619 ± 0.0652 | 0.5594 ± 0.0746 | 0.5582 ± 0.0753 | 0.5410 ± 0.0634 |
| Stacking (RF + SVM) | 0.6062 ± 0.0743 | 0.5865 ± 0.0700 | 0.6146 ± 0.0743 | 0.5886 ± 0.0707 |
| Bagging | 0.5862 ± 0.0763 | 0.5716 ± 0.0790 | 0.5864 ± 0.0786 | 0.5768 ± 0.0817 |
| Random Forest | 0.5912 ± 0.0795 | 0.5810 ± 0.0653 | 0.5925 ± 0.0744 | 0.5839 ± 0.0678 |
| AdaBoost | 0.5606 ± 0.0685 | 0.5807 ± 0.0569 | 0.5672 ± 0.0680 | 0.5838 ± 0.0601 |
| Logistic Regression | 0.6356 ± 0.0738 | 0.6334 ± 0.0616 | 0.6366 ± 0.0772 | 0.6336 ± 0.0612 |
| Feature | LR | DT | RF | XGB | KNN | SVM-R | SVM-L | AdaB | Bag | Stack | Consensus |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Direct Bilirubin | 1.3 ± 0.5 | 2.2 ± 1.8 | 1.7 ± 0.5 | 1.3 ± 0.8 | 3.0 ± 1.4 | 1.3 ± 0.5 | 1.2 ± 0.4 | 2.2 ± 1.6 | 2.2 ± 1.2 | 2.3 ± 1.5 | 1.87 |
| Alk. Phosphatase | 3.9 ± 1.2 | 2.1 ± 0.4 | 1.1 ± 0.4 | 2.6 ± 1.1 | 1.9 ± 0.7 | 2.7 ± 1.6 | 2.7 ± 1.5 | 3.9 ± 1.8 | 3.3 ± 0.8 | 3.3 ± 1.0 | 2.75 |
| ALT (SGPT) | 2.4 ± 1.1 | 3.6 ± 1.4 | 3.9 ± 1.2 | 3.7 ± 1.3 | 4.0 ± 1.3 | 2.9 ± 1.0 | 3.1 ± 1.3 | 2.4 ± 1.1 | 2.6 ± 1.7 | 2.8 ± 1.8 | 3.14 |
| Total Bilirubin | 3.3 ± 1.8 | 2.1 ± 1.5 | 2.7 ± 1.1 | 3.3 ± 1.6 | 4.7 ± 1.7 | 3.1 ± 1.6 | 2.7 ± 1.6 | 3.2 ± 1.9 | 3.7 ± 2.0 | 3.2 ± 1.9 | 3.20 |
| Age | 4.6 ± 1.2 | 3.7 ± 0.8 | 4.3 ± 1.1 | 2.5 ± 1.2 | 1.7 ± 1.3 | 3.9 ± 2.0 | 4.8 ± 1.0 | 3.0 ± 1.3 | 2.5 ± 0.8 | 2.6 ± 1.2 | 3.36 |
| AST (SGOT) | 3.1 ± 1.4 | 4.2 ± 0.9 | 4.1 ± 1.4 | 4.7 ± 0.9 | 4.5 ± 1.0 | 4.5 ± 1.0 | 3.7 ± 1.2 | 4.8 ± 1.4 | 4.5 ± 1.4 | 5.0 ± 1.2 | 4.31 |
| A/G Ratio | 5.0 ± 0.0 | 5.0 ± 0.0 | 6.0 ± 0.0 | 6.0 ± 0.0 | 3.0 ± 0.0 | 6.0 ± 0.0 | 6.0 ± 0.0 | 4.0 ± 0.0 | 6.0 ± 0.0 | 6.0 ± 0.0 | 5.30 |
| Albumin | 6.0 ± 0.0 | 6.0 ± 0.0 | 6.0 ± 0.0 | 6.0 ± 0.0 | 5.0 ± 1.4 | 5.5 ± 0.7 | 5.5 ± 0.7 | 5.0 ± 1.4 | 6.0 ± 0.0 | 4.5 ± 2.1 | 5.55 |
| Gender | 6.0 ± 0.0 | 5.8 ± 0.5 | 6.0 ± 0.0 | 6.0 ± 0.0 | 4.2 ± 1.7 | 5.5 ± 0.6 | 6.0 ± 0.0 | 5.5 ± 0.6 | 5.8 ± 0.5 | 5.5 ± 0.6 | 5.63 |
| Study | Year | Dataset | Best Model | Metric | Value |
|---|---|---|---|---|---|
| Kuzhippallil et al. [41] | 2020 | ILPD | XGBoost (genetic-algorithm tuned) | Accuracy | 0.881 |
| Gupta et al. [1] | 2022 | ILPD | Random Forest | Accuracy | 0.751 |
| Anthonysamy and Babu [2] | 2023 | ILPD | MLP + Voting Classifier | Accuracy | 0.889 |
| Dritsas and Trigka [10] | 2023 | ILPD | Voting (RF + SVM + kNN) | Accuracy | 0.801 |
| Md et al. [14] | 2023 | ILPD | Extra Trees + ensemble | Accuracy | 0.918 |
| Mohamed et al. [15] | 2024 | ILPD | Two-Level Stacking Ensemble | Accuracy | 0.940 |
| Ganie and Pramanik [16] | 2024 | ILPD + LDPD | CatBoost (boosting comparison) | Accuracy | 0.988 |
| Rani et al. [11] | 2025 | ILPD + BUPA | SMOTEENN-KNN/SMOTEENN-AdaBoost | Accuracy | 0.932 |
| İlter and Kırelli [7] | 2025 | ILPD | Logistic Regression | Accuracy | 0.800 |
| Khan et al. [25] | 2026 | 1700-record dataset | ML + Explainable AI framework | Accuracy | 0.9088 |
| Mithu et al. [8] | 2026 | ILPD | Interpretable ML | Accuracy | 0.7133 |
| Proposed | 2026 | ILPD | HFS + SMOTE + Stacking (RF + SVM) | Accuracy | 0.694 ± 0.038 |
| ROC-AUC * | 0.746 ± 0.041 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Eray, O. Liver Disease Prediction Using Hybrid Feature Selection: A Comparative Analysis of Machine Learning Models. Appl. Sci. 2026, 16, 6726. https://doi.org/10.3390/app16136726
Eray O. Liver Disease Prediction Using Hybrid Feature Selection: A Comparative Analysis of Machine Learning Models. Applied Sciences. 2026; 16(13):6726. https://doi.org/10.3390/app16136726
Chicago/Turabian StyleEray, Osman. 2026. "Liver Disease Prediction Using Hybrid Feature Selection: A Comparative Analysis of Machine Learning Models" Applied Sciences 16, no. 13: 6726. https://doi.org/10.3390/app16136726
APA StyleEray, O. (2026). Liver Disease Prediction Using Hybrid Feature Selection: A Comparative Analysis of Machine Learning Models. Applied Sciences, 16(13), 6726. https://doi.org/10.3390/app16136726

