IDEAS home Printed from https://ideas.repec.org/a/plo/pone00/0312238.html
   My bibliography  Save this article

Predicting early cessation of exclusive breastfeeding using machine learning techniques

Author

Listed:
  • Freja Marie Nejsum
  • Rikke Wiingreen
  • Andreas Kryger Jensen
  • Ellen Christine Leth Løkkegaard
  • Bo Mølholm Hansen

Abstract

Background: Identification of mother-infant pairs predisposed to early cessation of exclusive breastfeeding is important for delivering targeted support. Machine learning techniques enable development of transparent prediction models that enhance clinical applicability. We aimed to develop and validate two models to predict cessation of exclusive breastfeeding within one month among infants born after 35 weeks gestation using machine learning techniques. Methods: Utilizing a nationwide dataset from Statistics Denmark, including infants born between the 1st of January 2014 and the 31st of December 2015, we employed random forest machine learning to develop two predictive models. The first model included 11 well-established factors associated with cessation of exclusive breastfeeding within one month. The second model was expanded to include 21 additional factors associated with complications during pregnancy and delivery that potentially impede breastfeeding. Feature importance was applied to elucidate the factors driving model predictions. Results: The dataset comprised 110,206 infants and 106,835 mothers. The first model predicted cessation of exclusive breastfeeding within one month with an area under the receiver operating curve of 62.0% (95% confidence interval 61.3% - 62.7%) and an accuracy of 60.4% (95% confidence interval 59.8% - 61.0%). The second model predicted cessation of exclusive breastfeeding within one month with an area under the receiver operating curve of 62.2% (95% confidence interval 61.5% - 62.9%) and an accuracy of 60.0% (95% confidence interval 59.3% - 60.6%). In both models, birthplace, maternal education, delivery mode, and maternal body mass index were the most important factors influencing the overall model performance. Conclusions: The two models could not accurately predict cessation of exclusive breastfeeding within one month among infants born after 35 weeks gestation. Contrary to our expectations, including additional factors in the model did not increase model performance.

Suggested Citation

  • Freja Marie Nejsum & Rikke Wiingreen & Andreas Kryger Jensen & Ellen Christine Leth Løkkegaard & Bo Mølholm Hansen, 2025. "Predicting early cessation of exclusive breastfeeding using machine learning techniques," PLOS ONE, Public Library of Science, vol. 20(1), pages 1-17, January.
  • Handle: RePEc:plo:pone00:0312238
    DOI: 10.1371/journal.pone.0312238
    as

    Download full text from publisher

    File URL: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0312238
    Download Restriction: no

    File URL: https://journals.plos.org/plosone/article/file?id=10.1371/journal.pone.0312238&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pone.0312238?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. van Buuren, Stef & Groothuis-Oudshoorn, Karin, 2011. "mice: Multivariate Imputation by Chained Equations in R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 45(i03).
    2. Kuhn, Max, 2008. "Building Predictive Models in R Using the caret Package," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 28(i05).
    3. Freja Marie Nejsum & Ragnhild Måstrup & Christian Torp-Pedersen & Ellen Christine Leth Løkkegaard & Rikke Wiingreen & Bo Mølholm Hansen, 2023. "Exclusive breastfeeding: Relation to gestational age, birth weight, and early neonatal ward admission. A nationwide cohort study of children born after 35 weeks of gestation," PLOS ONE, Public Library of Science, vol. 18(5), pages 1-16, May.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Siyu Han & Shixiang Yu & Mengya Shi & Makoto Harada & Jianhong Ge & Jiesheng Lin & Cornelia Prehn & Agnese Petrera & Ying Li & Flora Sam & Giuseppe Matullo & Jerzy Adamski & Karsten Suhre & Christian , 2025. "LEOPARD: missing view completion for multi-timepoint omics data via representation disentanglement and temporal knowledge transfer," Nature Communications, Nature, vol. 16(1), pages 1-20, December.
    2. repec:osf:socarx:ehpt7_v1 is not listed on IDEAS
    3. Sara Saadatmand & Khodakaram Salimifard & Reza Mohammadi & Alex Kuiper & Maryam Marzban & Akram Farhadi, 2023. "Using machine learning in prediction of ICU admission, mortality, and length of stay in the early stage of admission of COVID-19 patients," Annals of Operations Research, Springer, vol. 328(1), pages 1043-1071, September.
    4. Zazueta, Jorge & Zazueta-Hernández, Jorge & Heredia, Andrea Chavez, 2023. "Support Vector Machines and Bankruptcy Prediction," SocArXiv 7z24k, Center for Open Science.
    5. Danielle J Parsons & Abigail E Green & Bryan C Carstens & Tara A Pelletier, 2024. "Predicting genetic biodiversity in salamanders using geographic, climatic, and life history traits," PLOS ONE, Public Library of Science, vol. 19(10), pages 1-20, October.
    6. Nikos Stratakis & Augusto Anguita-Ruiz & Lorenzo Fabbri & Léa Maitre & Juan R. González & Sandra Andrusaityte & Xavier Basagaña & Eva Borràs & Hector C. Keun & Lida Chatzi & David V. Conti & Jesse Goo, 2025. "Multi-omics architecture of childhood obesity and metabolic dysfunction uncovers biological pathways and prenatal determinants," Nature Communications, Nature, vol. 16(1), pages 1-15, December.
    7. Zazueta, Jorge & Heredia, Andrea Chavez & Zazueta-Hernández, Jorge, 2021. "Endogenous Prediction of Bankruptcy using a Support Vector Machine," SocArXiv ehpt7, Center for Open Science.
    8. Noémi Kreif & Richard Grieve & Iván Díaz & David Harrison, 2015. "Evaluation of the Effect of a Continuous Treatment: A Machine Learning Approach with an Application to Treatment for Traumatic Brain Injury," Health Economics, John Wiley & Sons, Ltd., vol. 24(9), pages 1213-1228, September.
    9. Abhilash Bandam & Eedris Busari & Chloi Syranidou & Jochen Linssen & Detlef Stolten, 2022. "Classification of Building Types in Germany: A Data-Driven Modeling Approach," Data, MDPI, vol. 7(4), pages 1-23, April.
    10. Prabal Das & D. A. Sachindra & Kironmala Chanda, 2022. "Machine Learning-Based Rainfall Forecasting with Multiple Non-Linear Feature Selection Algorithms," Water Resources Management: An International Journal, Published for the European Water Resources Association (EWRA), Springer;European Water Resources Association (EWRA), vol. 36(15), pages 6043-6071, December.
    11. Jie Zhao & Ji Chen & Damien Beillouin & Hans Lambers & Yadong Yang & Pete Smith & Zhaohai Zeng & Jørgen E. Olesen & Huadong Zang, 2022. "Global systematic review with meta-analysis reveals yield advantage of legume-based rotations and its drivers," Nature Communications, Nature, vol. 13(1), pages 1-9, December.
    12. Boonstra Philip S. & Little Roderick J.A. & West Brady T. & Andridge Rebecca R. & Alvarado-Leiton Fernanda, 2021. "A Simulation Study of Diagnostics for Selection Bias," Journal of Official Statistics, Sciendo, vol. 37(3), pages 751-769, September.
    13. Lin Lin & Rachel L Spreng & Kelly E Seaton & S Moses Dennison & Lindsay C Dahora & Daniel J Schuster & Sheetal Sawant & Peter B Gilbert & Youyi Fong & Neville Kisalu & Andrew J Pollard & Georgia D Tom, 2024. "GeM-LR: Discovering predictive biomarkers for small datasets in vaccine studies," PLOS Computational Biology, Public Library of Science, vol. 20(11), pages 1-23, November.
    14. Piaopiao Chen & Agnès H. Michel & Jianzhi Zhang, 2022. "Transposon insertional mutagenesis of diverse yeast strains suggests coordinated gene essentiality polymorphisms," Nature Communications, Nature, vol. 13(1), pages 1-15, December.
    15. Paulo Infante & Gonçalo Jacinto & Anabela Afonso & Leonor Rego & Pedro Nogueira & Marcelo Silva & Vitor Nogueira & José Saias & Paulo Quaresma & Daniel Santos & Patrícia Góis & Paulo Rebelo Manuel, 2023. "Factors That Influence the Type of Road Traffic Accidents: A Case Study in a District of Portugal," Sustainability, MDPI, vol. 15(3), pages 1-16, January.
    16. Li, Li & Li, Han & Panagiotelis, Anastasios, 2025. "Boosting domain-specific models with shrinkage: An application in mortality forecasting," International Journal of Forecasting, Elsevier, vol. 41(1), pages 191-207.
    17. Ephrem Habyarimana & Faheem S Baloch, 2021. "Machine learning models based on remote and proximal sensing as potential methods for in-season biomass yields prediction in commercial sorghum fields," PLOS ONE, Public Library of Science, vol. 16(3), pages 1-23, March.
    18. Banks, Jonathan & Rabbani, Arif & Nadkarni, Kabir & Renaud, Evan, 2020. "Estimating parasitic loads related to brine production from a hot sedimentary aquifer geothermal project: A case study from the Clarke Lake gas field, British Columbia," Renewable Energy, Elsevier, vol. 153(C), pages 539-552.
    19. Christopher J Greenwood & George J Youssef & Primrose Letcher & Jacqui A Macdonald & Lauryn J Hagg & Ann Sanson & Jenn Mcintosh & Delyse M Hutchinson & John W Toumbourou & Matthew Fuller-Tyszkiewicz &, 2020. "A comparison of penalised regression methods for informing the selection of predictive markers," PLOS ONE, Public Library of Science, vol. 15(11), pages 1-14, November.
    20. Liangyuan Hu & Lihua Li, 2022. "Using Tree-Based Machine Learning for Health Studies: Literature Review and Case Series," IJERPH, MDPI, vol. 19(23), pages 1-13, December.
    21. Norah Alyabs & Sy Han Chiou, 2022. "The Missing Indicator Approach for Accelerated Failure Time Model with Covariates Subject to Limits of Detection," Stats, MDPI, vol. 5(2), pages 1-13, May.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:plo:pone00:0312238. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: plosone (email available below). General contact details of provider: https://journals.plos.org/plosone/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.