{"title":"Breastfeeding Prediction Using Machine Learning: Insights into Key Predictors and Model Performance.","authors":"Feng Wei, Zihan Sun","doi":"10.1177/15568253261450552","DOIUrl":null,"url":null,"abstract":"<p><strong>Background: </strong>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.</p><p><strong>Methods: </strong>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.</p><p><strong>Results: </strong>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.</p><p><strong>Conclusions: </strong>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.</p>","PeriodicalId":9142,"journal":{"name":"Breastfeeding Medicine","volume":" ","pages":"359-367"},"PeriodicalIF":2.1000,"publicationDate":"2026-07-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Breastfeeding Medicine","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.1177/15568253261450552","RegionNum":3,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/5/21 0:00:00","PubModel":"Epub","JCR":"Q2","JCRName":"OBSTETRICS & GYNECOLOGY","Score":null,"Total":0}
引用次数: 0
Abstract
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.
期刊介绍:
Breastfeeding Medicine provides unparalleled peer-reviewed research, protocols, and clinical applications to ensure optimal care for mother and infant. The Journal answers the growing demand for evidence-based research and explores the immediate and long-term outcomes of breastfeeding, including its epidemiologic, physiologic, and psychological benefits. It is the exclusive source of the Academy of Breastfeeding Medicine protocols.
Breastfeeding Medicine coverage includes:
Breastfeeding recommendations and protocols
Health consequences of artificial feeding
Physiology of lactation and biochemistry of breast milk
Optimal nutrition for the breastfeeding mother
Breastfeeding indications and contraindications
Managing breastfeeding discomfort, pain, and other complications
Breastfeeding the premature or sick infant
Breastfeeding in the chronically ill mother
Management of the breastfeeding mother on medication
Infectious disease transmission through breast milk and breastfeeding
The collection and storage of human milk and human milk banking
Measuring the impact of being a “baby-friendly” hospital
Cultural competence and cultural sensitivity
International public health issues including social and economic issues.