Applying Machine Learning to Predict Complex Clinical Course in Youth With Eating Disorders
Open Access
- 13 October 2025
- journal article
- Published by Wiley in International Journal of Eating Disorders
- Vol. 59 (1) , 134-145
Abstract
Objective: To compare the predictive performance of supervised machine learning models to logistic regression in identifying youth with eating disorders at risk of a complex clinical course based on clinical characteristics from the first treatment episode. Methods: Clinical data from 327 youth treated at any level of care at the Children's Hospital of Eastern Ontario Eating Disorders Program (2018–2024) were extracted. Complex clinical course outcome was defined as either readmission after discharge or a treatment trajectory deviating from the expected step‐down in intensity, including return to the same or escalation to a higher level of care. Thirty‐four intake and discharge variables from the first treatment episode were used to train seven machine learning models and logistic regression using repeated nested cross‐validation. Performance was assessed by AUC and brier scores. Models using intake‐only versus intake plus discharge data were compared. A parsimonious model using the top 10 predictors was also evaluated. Results: Random forest model with intake and discharge data achieved the best performance ( AUC = 0.723; Brier = 0.176) that was significantly superior to logistic regression. Models trained on intake‐only data showed poor discrimination ( AUCs < 0.6). Including discharge data improved model performance across all algorithms. The most important predictor was weight change throughout treatment. Random forest performance declined when restricted to the top 10 predictors. Discussion: Supervised machine learning demonstrates improved predictive performance for eating disorder disease course outcomes compared to traditional statistical methods, especially in higher‐dimensionality settings. These findings support future application of machine learning to complex biopsychosocial datasets to advance precision medicine initiatives in the eating disorder field and better understand the etiology of disease trajectory.Keywords
This publication has 69 references indexed in Scilit:
- Weight gained during treatment predicts 6‐month body mass index in a large sample of patients with anorexia nervosa using ensemble machine learningInternational Journal of Eating Disorders, 2024
- An overview and investigation of relapse predictors in anorexia nervosa: A systematic review and meta‐analysisInternational Journal of Eating Disorders, 2023
- Development of transdiagnostic clinical risk prediction models for 12‐month onset and course of eating disorders among adolescents in the communityInternational Journal of Eating Disorders, 2023
- An exploratory application of machine learning methods to optimize prediction of responsiveness to digital interventions for eating disorder symptomsInternational Journal of Eating Disorders, 2022
- Prediction of eating disorder treatment response trajectories via machine learning does not improve performance versus a simpler regression approachInternational Journal of Eating Disorders, 2021
- A multicenter audit of outpatient care for adult anorexia nervosa: Symptom trajectory, service use, and evidence in support of “early stage” versus “severe and enduring” classificationInternational Journal of Eating Disorders, 2020
- Comparison of Machine Learning Methods With Traditional Models for Use of Administrative Claims With Electronic Medical Records to Predict Heart Failure OutcomesJAMA Network Open, 2019
- Predictors of treatment outcome in individuals with eating disorders: A systematic review and meta‐analysisInternational Journal of Eating Disorders, 2015
- Mortality Rates in Patients With Anorexia Nervosa and Other Eating DisordersArchives of General Psychiatry, 2011
- Course and predictors of rehospitalization in adolescent anorexia nervosa in a multisite studyInternational Journal of Eating Disorders, 2007