Application of Machine Learning Models in Predicting Non-Alcoholic Fatty Liver Disease Among Inactive Chronic Hepatitis B Patients: A Cross-Sectional Analysis
Open Access
- 16 July 2025
- journal article
- research article
- Published by MDPI AG in Journal of Clinical Medicine
- Vol. 14 (14) , 5042
Abstract
Background/Objectives: Non-alcoholic fatty liver disease (NAFLD) represents significant health challenges, especially among patients with chronic hepatitis B (CHB). This study uses machine learning models to predict NAFLD in patients with inactive CHB. It builds on previous research by employing classification algorithms to analyze demographic, clinical, and laboratory data to identify NAFLD predictors. Methods: A single-center cross-sectional study was conducted, including 450 inactive CHB patients from Sultan Qaboos University Hospital. Five ML models were developed: Logistic Regression, Random Forest, Extreme Gradient Boosting (XGBoost), Support Vector Machine (SVM), and Multi-Layer Perceptron (MLP). Results: The prevalence of NAFLD was 50.22%. Among the machine learning models, Random Forest achieved the highest performance with an ROC AUC of 0.983 (95% CI: 0.952–0.999), followed by XGBoost at 0.977 (95% CI: 0.938–0.999) and MLP at 0.963 (95% CI: 0.915–0.995). SVM also showed strong performance with an AUC of 0.949 (95% CI: 0.897–0.985), while Logistic Regression demonstrated comparatively lower discrimination with an AUC of 0.886 (95% CI: 0.799–0.952). Key predictive features identified included platelet count, low-density lipoprotein (LDL), hemoglobin, and alanine aminotransferase (ALT). Logistic Regression highlighted platelet count as the most significant negative predictor, while LDL and ALT were positive contributors. Conclusions: This study shows the utility of ML in improving the identification and management of NAFLD in CHB patients, enabling targeted interventions. Future research should expand on these findings, integrating genetic and lifestyle factors to enhance predictive accuracy across diverse populations.Keywords
This publication has 37 references indexed in Scilit:
- The relationship between cadmium exposure and hepatitis B susceptibility and the establishment of its prediction modelEnvironmental Science and Pollution Research, 2023
- Global prevalence of hepatitis B or hepatitis C infection among patients with tuberculosis disease: systematic review and meta-analysiseClinicalMedicine, 2023
- Study protocol for a randomized, controlled trial using a novel, family-centered diet treatment to prevent nonalcoholic fatty liver disease in Hispanic childrenContemporary Clinical Trials, 2023
- Prevalence of human immunodeficiency virus, syphilis, and hepatitis B and C virus infections in pregnant women: a systematic review and meta-analysisClinical Microbiology and Infection, 2023
- Machine learning models are superior to noninvasive tests in identifying clinically significant stages of NAFLD and NAFLD‐related cirrhosisHepatology, 2022
- Chronic hepatitis B: the demise of the ‘inactive carrier’ phaseHepatology International, 2021
- Improving the accuracy of medical diagnosis with causal machine learningNature Communications, 2020
- The diagnosis and management of nonalcoholic fatty liver disease: Practice guidance from the American Association for the Study of Liver DiseasesHepatology, 2017
- EASL 2017 Clinical Practice Guidelines on the management of hepatitis B virus infectionJournal of Hepatology, 2017
- Prevalence of steatosis and insulin resistance in patients with chronic hepatitis B compared with chronic hepatitis C and non-alcoholic fatty liver diseaseEuropean Journal of Internal Medicine, 2015