Department of Nursing, University of Alicante, Spain.
Department of Software and Computing Systems, University of Alicante, Spain.
Comput Methods Programs Biomed. 2022 Jun;221:106837. doi: 10.1016/j.cmpb.2022.106837. Epub 2022 Apr 26.
Adequate support in maternity wards is decisive for breastfeeding outcomes during the first year of life. Quality improvement interventions require the identification of the factors influencing hospital benchmark indicators. Machine Learning (ML) models and post-hoc Explainable Artificial Intelligence (XAI) techniques allow accurate predictions and explaining them. This study aimed to predict exclusive breastfeeding during the in-hospital postpartum stay by ML algorithms and explain the ML model's behaviour to support decision making.
The dataset included 2042 mothers giving birth in 18 hospitals in Eastern Spain. We obtained information on demographics, mothers' breastfeeding experiences, clinical variables, and participating hospitals' support conditions. The outcome variable was exclusive breastfeeding during the in-hospital postpartum stay. We tested algorithms from different ML families. To evaluate the ML models, we applied 10-fold stratified cross-validation. We used the following metrics: Area under curve receiver operating characteristic (ROC AUC), area under curve precision-recall (PR AUC), accuracy, and Brier score. After selecting the best fitting model, we calculated Shapley's additive values to assign weights to each predictor depending on its additive contribution to the outcome and to explain the predictions.
The XGBoost algorithms showed the best metrics (ROC AUC = 0.78, PR AUC = 0.86, accuracy = 0.75, Brier = 0.17). The main predictors of the model included, in order of importance, the pacifier use, the degree of breastfeeding self-efficacy, the previous breastfeeding experience, the birth weight, the admission of the baby to a neonatal care unit after birth, the moment of the first skin-to-skin contact between mother and baby, and the Baby-Friendly Hospital Initiative accreditation of the hospital. Specific examples for linear and nonlinear relations between main predictors and the outcome and heterogeneity of effects are presented. Also, we describe diverse individual cases showing the variation of the prediction depending on individual characteristics.
The ML model adequately predicted exclusive breastfeeding during the in-hospital stay. Our results pointed to opportunities for improving care related to support for specific mother's groups, defined by current and previous infant feeding experiences and clinical conditions of the newborns, and the participating hospitals' support conditions. Also, XAI techniques allowed identifying non-linearity relations and effect's heterogeneity, explaining specific cases' risk variations.
在生命的第一年,产妇病房提供充分的支持对母乳喂养结果至关重要。质量改进干预措施需要确定影响医院基准指标的因素。机器学习 (ML) 模型和事后可解释的人工智能 (XAI) 技术可以实现准确的预测,并解释它们。本研究旨在通过 ML 算法预测住院期间的纯母乳喂养,并通过解释 ML 模型的行为来支持决策。
该数据集包括在西班牙东部 18 家医院分娩的 2042 位母亲。我们获取了人口统计学、母亲母乳喂养经历、临床变量以及参与医院支持条件的信息。因变量为住院期间的纯母乳喂养。我们测试了来自不同 ML 家族的算法。为了评估 ML 模型,我们应用了 10 倍分层交叉验证。我们使用了以下指标:接收者操作特征曲线下的面积(ROC AUC)、准确率、召回率和 Brier 得分。在选择最佳拟合模型后,我们计算了 Shapley 的附加值,根据每个预测因子对结果的附加贡献为其分配权重,并解释预测。
XGBoost 算法显示出最佳指标(ROC AUC = 0.78,PR AUC = 0.86,准确率 = 0.75,Brier = 0.17)。模型的主要预测因子按重要性顺序依次为奶嘴使用、母乳喂养自我效能程度、既往母乳喂养经历、出生体重、婴儿出生后入住新生儿监护病房、母婴首次皮肤接触时间以及医院的婴儿友好医院倡议认证。呈现了主要预测因子与结果之间的线性和非线性关系以及效应异质性的具体示例。此外,我们还描述了不同的个体案例,展示了根据个体特征预测的变化。
ML 模型能够很好地预测住院期间的纯母乳喂养。我们的研究结果指出,有机会改善与支持特定母亲群体相关的护理,这些群体由当前和既往婴儿喂养经历以及新生儿的临床状况以及参与医院的支持条件定义。此外,XAI 技术可以识别非线性关系和效应的异质性,解释特定案例的风险变化。