Development of a predictive model for postoperative body mass index and diabetes outcomes after metabolic bariatric surgery: retrospective cohort study.
Vincent Ochs, Lars Kollmann, Ilan Rosenblum, Adisa Poljo, Andreas Heule, Bassey Enodien, Maryna Chumakova-Orin, Eric J DeMaria, Emanuel Burri, Reinhard Stoll, Otto Kollmar, Robert Rosenberg, Pascal Probst, Markus K Muller, Stephanie Taha-Mehlitz, Beat P Müller, Daniel M Frey, Piotr Kalinowski, Marta Przybysz, Mateusz Bartkowiak, Muhammed Said Dalkilic, Abdullah Sisik, Rodrigo Otavio Carvalho De Oliveria, Fatima Martins, Erik Stenberg, Ellen Andersson, Torsten Olbers, Sven Flemming, Florian Seyfried, Florian Ponholzer, Annemarie Weissenbacher, Dietmar Öfner, Johanna Betzler, Mirko Otto, Ralph Peterli, Philippe C Cattin, Anas Taha
{"title":"Development of a predictive model for postoperative body mass index and diabetes outcomes after metabolic bariatric surgery: retrospective cohort study.","authors":"Vincent Ochs, Lars Kollmann, Ilan Rosenblum, Adisa Poljo, Andreas Heule, Bassey Enodien, Maryna Chumakova-Orin, Eric J DeMaria, Emanuel Burri, Reinhard Stoll, Otto Kollmar, Robert Rosenberg, Pascal Probst, Markus K Muller, Stephanie Taha-Mehlitz, Beat P Müller, Daniel M Frey, Piotr Kalinowski, Marta Przybysz, Mateusz Bartkowiak, Muhammed Said Dalkilic, Abdullah Sisik, Rodrigo Otavio Carvalho De Oliveria, Fatima Martins, Erik Stenberg, Ellen Andersson, Torsten Olbers, Sven Flemming, Florian Seyfried, Florian Ponholzer, Annemarie Weissenbacher, Dietmar Öfner, Johanna Betzler, Mirko Otto, Ralph Peterli, Philippe C Cattin, Anas Taha","doi":"10.1093/bjsopen/zrag054","DOIUrl":null,"url":null,"abstract":"<p><strong>Background: </strong>Predicting postoperative body mass index (BMI) trajectories and long-term type 2 diabetes (T2D) remission after bariatric surgery remains challenging. Existing models often rely on baseline variables only and fail to incorporate dynamic postoperative changes. This study aimed to develop and validate a multicentre machine-learning framework that predicts individualized BMI trajectories and T2D remission using routinely available preoperative data and time-dependent weight evolution.</p><p><strong>Methods: </strong>This multicentre retrospective cohort study included adult patients who underwent Roux-en-Y gastric bypass or sleeve gastrectomy across 11 European centres (2012-2023). Variables with > 30% missing data were excluded; remaining missing values were imputed iteratively. A two-stage approach was used: a regression model predicting postoperative BMI at 3-60 months using an autoregressive design; and a classification model predicting T2D remission using baseline features and predicted BMI trajectories. Internal performance was evaluated with ten-fold and leave-one-clinic-out cross-validation; external validation used an independent cohort from Linköping, Sweden.</p><p><strong>Results: </strong>Of the 11 457 patients initially identified, 9652 patients with complete baseline and follow-up information were used for the analysis. The best BMI model (HistGradientBoosting) achieved a root mean square error (RMSE) of 1.11 kg/m2 (95% confidence interval 1.07 to 1.14) and a mean absolute error (MAE) of 0.62 kg/m2 across clinics; external testing showed an RMSE of 1.12 kg/m2 (95% confidence interval 1.11 to 1.12) and an MAE of 0.63 kg/m2. The T2D remission classifier (XGBoost) obtained a Macro F1 score of 0.88 (precision 0.87, recall 0.88), with an external F1 score of 0.89. Incorporating predicted BMI trajectories improved discrimination compared with baseline-only models (C-index 0.95 versus 0.93).</p><p><strong>Conclusion: </strong>A two-stage machine-learning framework has high predictive performance for postoperative BMI and T2D remission up to 5 years after bariatric surgery. Dynamic incorporation of predicted weight trajectories enhances metabolic risk prediction and supports individualized counselling and postoperative management.</p>","PeriodicalId":9028,"journal":{"name":"BJS Open","volume":"10 4","pages":""},"PeriodicalIF":4.9000,"publicationDate":"2026-07-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC13331347/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"BJS Open","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.1093/bjsopen/zrag054","RegionNum":3,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"SURGERY","Score":null,"Total":0}
引用次数: 0
Abstract
Background: Predicting postoperative body mass index (BMI) trajectories and long-term type 2 diabetes (T2D) remission after bariatric surgery remains challenging. Existing models often rely on baseline variables only and fail to incorporate dynamic postoperative changes. This study aimed to develop and validate a multicentre machine-learning framework that predicts individualized BMI trajectories and T2D remission using routinely available preoperative data and time-dependent weight evolution.
Methods: This multicentre retrospective cohort study included adult patients who underwent Roux-en-Y gastric bypass or sleeve gastrectomy across 11 European centres (2012-2023). Variables with > 30% missing data were excluded; remaining missing values were imputed iteratively. A two-stage approach was used: a regression model predicting postoperative BMI at 3-60 months using an autoregressive design; and a classification model predicting T2D remission using baseline features and predicted BMI trajectories. Internal performance was evaluated with ten-fold and leave-one-clinic-out cross-validation; external validation used an independent cohort from Linköping, Sweden.
Results: Of the 11 457 patients initially identified, 9652 patients with complete baseline and follow-up information were used for the analysis. The best BMI model (HistGradientBoosting) achieved a root mean square error (RMSE) of 1.11 kg/m2 (95% confidence interval 1.07 to 1.14) and a mean absolute error (MAE) of 0.62 kg/m2 across clinics; external testing showed an RMSE of 1.12 kg/m2 (95% confidence interval 1.11 to 1.12) and an MAE of 0.63 kg/m2. The T2D remission classifier (XGBoost) obtained a Macro F1 score of 0.88 (precision 0.87, recall 0.88), with an external F1 score of 0.89. Incorporating predicted BMI trajectories improved discrimination compared with baseline-only models (C-index 0.95 versus 0.93).
Conclusion: A two-stage machine-learning framework has high predictive performance for postoperative BMI and T2D remission up to 5 years after bariatric surgery. Dynamic incorporation of predicted weight trajectories enhances metabolic risk prediction and supports individualized counselling and postoperative management.