Construction and SHAP interpretability analysis of a risk prediction model for feeding intolerance in preterm newborns based on machine learning

Abstract Objective To construct a highly accurate and interpretable feeding intolerance (FI) risk prediction model for preterm newborns based on machine learning (ML) to assist medical staff in clinical diagnosis. Methods In this study, a sample of 350 hospitalized preterm newborns were retrospectiv...

Full description

Saved in:
Bibliographic Details
Main Authors: Hui Xu, Xingwang Peng, Ziyu Peng, Rui Wang, Rui Zhou, Lianguo Fu
Format: Article
Language:English
Published: BMC 2024-11-01
Series:BMC Medical Informatics and Decision Making
Subjects:
Online Access:https://doi.org/10.1186/s12911-024-02751-5
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1850128946119573504
author Hui Xu
Xingwang Peng
Ziyu Peng
Rui Wang
Rui Zhou
Lianguo Fu
author_facet Hui Xu
Xingwang Peng
Ziyu Peng
Rui Wang
Rui Zhou
Lianguo Fu
author_sort Hui Xu
collection DOAJ
description Abstract Objective To construct a highly accurate and interpretable feeding intolerance (FI) risk prediction model for preterm newborns based on machine learning (ML) to assist medical staff in clinical diagnosis. Methods In this study, a sample of 350 hospitalized preterm newborns were retrospectively analysed. First, dual feature selection was conducted to identify important feature variables for model construction. Second, ML models were constructed based on the logistic regression (LR), decision tree (DT), support vector machine (SVM) and eXtreme Gradient Boosting (XGBoost) algorithms, after which random sampling and tenfold cross-validation were separately used to evaluate and compare these models and identify the optimal model. Finally, we apply the SHapley Additive exPlanation (SHAP) interpretable framework to analyse the decision-making principles of the optimal model and expound upon the important factors affecting FI in preterm newborns and their modes of action. Results The accuracy of XGBoost was 87.62%, and the area under the curve (AUC) was 92.2%. After the application of tenfold cross-validation, the accuracy was 83.43%, and the AUC was 89.45%, which was significantly better than those of the other models. Analysis of the XGBoost model with the SHAP interpretable framework showed that a history of resuscitation, use of probiotics, milk opening time, interval between two stools and gestational age were the main factors affecting the occurrence of FI in preterm newborns, yielding importance scores of 0.632, 0.407, 0.313, 0.313, and 0.258, respectively. A history of resuscitation, first milk opening time ≥ 24 h and interval between stools ≥ 3 days were risk factors for FI, while the use of probiotics and gestational age ≥ 34 weeks were protective factors against FI in preterm newborns. Conclusions In practice, we should improve perinatal care and obstetrics with the aim of reducing the occurrence of hypoxia and preterm delivery. When feeding, early milk opening, the use of probiotics, the stimulation of defecation and other measures should be implemented with the aim of reducing the occurrence of FI.
format Article
id doaj-art-afa018ddb439441db2d61e8dfdb17ccf
institution OA Journals
issn 1472-6947
language English
publishDate 2024-11-01
publisher BMC
record_format Article
series BMC Medical Informatics and Decision Making
spelling doaj-art-afa018ddb439441db2d61e8dfdb17ccf2025-08-20T02:33:08ZengBMCBMC Medical Informatics and Decision Making1472-69472024-11-0124111410.1186/s12911-024-02751-5Construction and SHAP interpretability analysis of a risk prediction model for feeding intolerance in preterm newborns based on machine learningHui Xu0Xingwang Peng1Ziyu Peng2Rui Wang3Rui Zhou4Lianguo Fu5Department of Medical Records & Statistics, Affiliated Hospital of Xuzhou Medical UniversityChangjiang Road Community Health Service CenterDepartment of Child and Adolescent Health, School of Public Health, Bengbu Medical UniversityDepartment of Child and Adolescent Health, School of Public Health, Bengbu Medical UniversityThe First Affiliated Hospital of Bengbu Medical UniversityDepartment of Child and Adolescent Health, School of Public Health, Bengbu Medical UniversityAbstract Objective To construct a highly accurate and interpretable feeding intolerance (FI) risk prediction model for preterm newborns based on machine learning (ML) to assist medical staff in clinical diagnosis. Methods In this study, a sample of 350 hospitalized preterm newborns were retrospectively analysed. First, dual feature selection was conducted to identify important feature variables for model construction. Second, ML models were constructed based on the logistic regression (LR), decision tree (DT), support vector machine (SVM) and eXtreme Gradient Boosting (XGBoost) algorithms, after which random sampling and tenfold cross-validation were separately used to evaluate and compare these models and identify the optimal model. Finally, we apply the SHapley Additive exPlanation (SHAP) interpretable framework to analyse the decision-making principles of the optimal model and expound upon the important factors affecting FI in preterm newborns and their modes of action. Results The accuracy of XGBoost was 87.62%, and the area under the curve (AUC) was 92.2%. After the application of tenfold cross-validation, the accuracy was 83.43%, and the AUC was 89.45%, which was significantly better than those of the other models. Analysis of the XGBoost model with the SHAP interpretable framework showed that a history of resuscitation, use of probiotics, milk opening time, interval between two stools and gestational age were the main factors affecting the occurrence of FI in preterm newborns, yielding importance scores of 0.632, 0.407, 0.313, 0.313, and 0.258, respectively. A history of resuscitation, first milk opening time ≥ 24 h and interval between stools ≥ 3 days were risk factors for FI, while the use of probiotics and gestational age ≥ 34 weeks were protective factors against FI in preterm newborns. Conclusions In practice, we should improve perinatal care and obstetrics with the aim of reducing the occurrence of hypoxia and preterm delivery. When feeding, early milk opening, the use of probiotics, the stimulation of defecation and other measures should be implemented with the aim of reducing the occurrence of FI.https://doi.org/10.1186/s12911-024-02751-5Preterm newbornFeeding intoleranceMachine learningModel construction
spellingShingle Hui Xu
Xingwang Peng
Ziyu Peng
Rui Wang
Rui Zhou
Lianguo Fu
Construction and SHAP interpretability analysis of a risk prediction model for feeding intolerance in preterm newborns based on machine learning
BMC Medical Informatics and Decision Making
Preterm newborn
Feeding intolerance
Machine learning
Model construction
title Construction and SHAP interpretability analysis of a risk prediction model for feeding intolerance in preterm newborns based on machine learning
title_full Construction and SHAP interpretability analysis of a risk prediction model for feeding intolerance in preterm newborns based on machine learning
title_fullStr Construction and SHAP interpretability analysis of a risk prediction model for feeding intolerance in preterm newborns based on machine learning
title_full_unstemmed Construction and SHAP interpretability analysis of a risk prediction model for feeding intolerance in preterm newborns based on machine learning
title_short Construction and SHAP interpretability analysis of a risk prediction model for feeding intolerance in preterm newborns based on machine learning
title_sort construction and shap interpretability analysis of a risk prediction model for feeding intolerance in preterm newborns based on machine learning
topic Preterm newborn
Feeding intolerance
Machine learning
Model construction
url https://doi.org/10.1186/s12911-024-02751-5
work_keys_str_mv AT huixu constructionandshapinterpretabilityanalysisofariskpredictionmodelforfeedingintoleranceinpretermnewbornsbasedonmachinelearning
AT xingwangpeng constructionandshapinterpretabilityanalysisofariskpredictionmodelforfeedingintoleranceinpretermnewbornsbasedonmachinelearning
AT ziyupeng constructionandshapinterpretabilityanalysisofariskpredictionmodelforfeedingintoleranceinpretermnewbornsbasedonmachinelearning
AT ruiwang constructionandshapinterpretabilityanalysisofariskpredictionmodelforfeedingintoleranceinpretermnewbornsbasedonmachinelearning
AT ruizhou constructionandshapinterpretabilityanalysisofariskpredictionmodelforfeedingintoleranceinpretermnewbornsbasedonmachinelearning
AT lianguofu constructionandshapinterpretabilityanalysisofariskpredictionmodelforfeedingintoleranceinpretermnewbornsbasedonmachinelearning