Related Experiment Videos
Uncovering complex correlations between multidimensional factors and breastfeeding duration using XGBoost
Lijing Yang1, Wanju Wang1, Yajuan Chen1
1Department of Obstetrics and Gynecology, Wuhan Children's Hospital (Wuhan Maternal and Child Healthcare Hospital), Tongji Medical College, Huazhong University of Science & Technology, Wuhan, Hubei, China.
Background:
Breastfeeding duration is influenced by a complex interplay of obstetric, physiological, and sociodemographic factors. Traditional linear statistical models often struggle to capture the high-dimensional, non-linear synergistic effects among these variables, while complex deep learning models are prone to overfitting on small clinical datasets.
Methods:
To address these challenges, this study proposes an interpretable machine learning framework based on eXtreme Gradient Boosting (XGBoost). We analyzed clinical follow-up data from 210 postpartum women. The framework incorporates Explicit Polynomial Feature Engineering to construct high-order interaction terms and utilizes SMOTE to resolve class imbalance. Crucially, SHAP (SHapley Additive exPlanations) analysis was employed to provide bidirectional feature attribution. Results: The proposed model achieved robust, cross-validated performance with an Accuracy of 76.2% (95% CI: 64.3%-88.1%), an AUC of 0.72 (95% CI: 0.54-0.89), and a high Recall of 0.92 for the long-term breastfeeding group (≥ 11 months), outperforming traditional baselines. SHAP analysis identified critical non-linear risk patterns. Notably, the interaction between "Delivery Mode × Milk Stasis Duration" demonstrated that the protective effect of vaginal delivery mitigates stasis risks, whereas Cesarean sections disproportionately amplify the inhibitory effect of milk stasis. Additionally, the negative interaction of "Education × Feeding Type" highlighted the compounded risk for highly educated mothers transitioning to mixed feeding.
Conclusions:
This study confirms that an interpretable XGBoost framework with explicit interaction features effectively overcomes the modeling bottlenecks of small-sample clinical data. By uncovering hidden synergistic risk factors, it provides a data-driven basis for precision lactation support, advocating for targeted interventions for specific high-risk profiles rather than generic education.
Related Concept Videos
Multiple Regression
Farmers can use multiple regression to determine the crop yield based on more than one factor, such as water availability, fertilizer, soil properties, etc. Here, the crop yield is the response or dependent variable as it depends on the other independent variables. The analysis requires the construction of a scatter plot...
Longitudinal Studies
Comparing the Survival Analysis of Two or More Groups
Regression Analysis
In regression analysis, a regression equation is determined based on the line of best fit– a line that best fits the data points plotted in a graph. This line is also called the regression line. The algebraic equation for the regression line is called the regression equation. It is represented as:
Longitudinal Research
Survival Tree
Building a Survival Tree
Constructing a survival tree begins...