Related Experiment Video
Updated: May 23, 2026

Machine Learning Algorithms for Early Detection of Bone Metastases in an Experimental Rat Model
Published on: August 16, 2020
Breastfeeding Prediction Using Machine Learning: Insights into Key Predictors and Model Performance
1Department of Sociology, Hopkins Population Center, Johns Hopkins University, Baltimore, Maryland, USA.
Background:
Breastfeeding shows persistent disparities shaped by complex maternal, infant, and household factors, making prediction challenging. As traditional models struggle to capture such complexity, this study aims to identify predictors of ever breastfeeding and longer breastfeeding duration using multiple machine learning models and to assess the potential of these methods in breastfeeding prediction.
Methods:
Using nationally representative data from the U.K. Household Longitudinal Study, we apply Lasso (Least Absolute Shrinkage and Selection Operator) logistic regression, decision tree, random forest, XGBoost, support vector machine, and neural network models to examine factors associated with whether infants were ever breastfed and whether breastfeeding stopped at or after 3 months.
Results:
Maternal, household, and birth-related factors all relate to breastfeeding, but maternal socioeconomic factors, especially education and ethnicity, emerge as the strongest predictors. Across the two breastfeeding outcomes, model performance is better for whether infants were ever breastfed than for breastfeeding duration, which is more difficult to predict. Within each outcome, the models show similar performance without substantial differences.
Conclusions:
Breastfeeding outcomes can be reasonably predicted, and the predictive signal is driven primarily by maternal socioeconomic characteristics, enabling targeted support at relatively low informational cost. However, prediction remains limited, especially for breastfeeding duration, suggesting that while key influences are captured, more nuanced or situational mechanisms remain difficult to anticipate. Lasso logistic regression, with its low complexity and transparent structure, performs comparably to more complex models and may therefore be a more appropriate methodological choice for breastfeeding prediction.
More Related Videos
05:04A Common Marmoset Model of Mother-Infant Intervention for Breastfeeding Disorders in the Presence of Paternal Inhibition and Maternal Neglect
Published on: September 22, 2023
07:13Comparison of Predictive Performance of Three Lymph Node Staging Systems in Colorectal Signet Ring Cell Carcinoma Based on Machine Learning Model
Published on: April 18, 2025