Predicting olanzapine induced BMI increase using machine learning on population-based electronic health records.

IF 4.6 2区 医学 Q2 PSYCHIATRY
Foteini Aktypi, Michael E Benros, Simon Rasmussen
{"title":"Predicting olanzapine induced BMI increase using machine learning on population-based electronic health records.","authors":"Foteini Aktypi, Michael E Benros, Simon Rasmussen","doi":"10.1186/s12888-026-08373-7","DOIUrl":null,"url":null,"abstract":"<p><strong>Background: </strong>Weight gain is a common side effect in patients treated with olanzapine, contributing to increased risks of metabolic complications such as diabetes, cardiovascular disease, and reduced treatment adherence. However, identifying which patients are most likely to experience clinically significant BMI increase remains difficult in routine clinical practice. We investigated whether routinely collected electronic health record data could be used to predict BMI increase in individuals treated with olanzapine.</p><p><strong>Methods: </strong>We developed explainable machine-learning models using population-based psychiatric electronic health record data from Denmark. The study included 11,984 adults treated with olanzapine between 2016 and 2025 who had BMI measurements available during a period relevant to olanzapine exposure. The model outcome was defined as BMI increase > 5% from baseline. We evaluated three prediction settings: BMI increase after olanzapine initiation, BMI increase from the first BMI measurement during treatment to the next available follow-up, and BMI increase within a standardized 30-180-day follow-up window during treatment. Models were trained and internally evaluated using 2016-2024 data and then tested on held-out temporal 2025 data.</p><p><strong>Results: </strong>Prediction of clinically significant BMI increase after olanzapine initiation showed moderate discrimination, with the best performance observed within the 30-180 days post-initiation prediction window. XGBoost achieved an AUROC of 0.72 in the 2016-2024 data and 0.79 in the held-out 2025 data for this prediction. For the prediction of on-treatment BMI increase to the next available follow-up, AUROC was 0.71 in the 2016-2024 data but decreased to 0.61 in the 2025 data. When the on-treatment follow-up window was standardized to 30-180 days, performance was lower, with AUROCs of 0.64 and 0.58 in the 2016-2024 and 2025 data, respectively. Models using a minimal feature set of variables performed close to the full-feature models, suggesting that most predictive signal was captured by basic clinical variables. SHAP analysis indicated that lower baseline BMI, younger age, increasing olanzapine dosage, historical BMI variability and past anxiolytic prescriptions were the features most associated with model predictions.</p><p><strong>Conclusion: </strong>Routinely collected electronic health record data predicted olanzapine-associated BMI increase with moderate discrimination, but performance was less stable in temporally held-out data. The model associations were consistent with known risk patterns for olanzapine-associated weight gain and highlighted less established predictors of BMI increase during olanzapine treatment. These findings may support future work on risk stratification and metabolic monitoring, but they should be interpreted as preliminary and underscore the need for continued research in this domain to establish effective preventive measures for individuals undergoing antipsychotic treatments.</p>","PeriodicalId":9029,"journal":{"name":"BMC Psychiatry","volume":"26 1","pages":""},"PeriodicalIF":4.6000,"publicationDate":"2026-07-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC13715163/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"BMC Psychiatry","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.1186/s12888-026-08373-7","RegionNum":2,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"PSYCHIATRY","Score":null,"Total":0}
引用次数: 0

Abstract

Background: Weight gain is a common side effect in patients treated with olanzapine, contributing to increased risks of metabolic complications such as diabetes, cardiovascular disease, and reduced treatment adherence. However, identifying which patients are most likely to experience clinically significant BMI increase remains difficult in routine clinical practice. We investigated whether routinely collected electronic health record data could be used to predict BMI increase in individuals treated with olanzapine.

Methods: We developed explainable machine-learning models using population-based psychiatric electronic health record data from Denmark. The study included 11,984 adults treated with olanzapine between 2016 and 2025 who had BMI measurements available during a period relevant to olanzapine exposure. The model outcome was defined as BMI increase > 5% from baseline. We evaluated three prediction settings: BMI increase after olanzapine initiation, BMI increase from the first BMI measurement during treatment to the next available follow-up, and BMI increase within a standardized 30-180-day follow-up window during treatment. Models were trained and internally evaluated using 2016-2024 data and then tested on held-out temporal 2025 data.

Results: Prediction of clinically significant BMI increase after olanzapine initiation showed moderate discrimination, with the best performance observed within the 30-180 days post-initiation prediction window. XGBoost achieved an AUROC of 0.72 in the 2016-2024 data and 0.79 in the held-out 2025 data for this prediction. For the prediction of on-treatment BMI increase to the next available follow-up, AUROC was 0.71 in the 2016-2024 data but decreased to 0.61 in the 2025 data. When the on-treatment follow-up window was standardized to 30-180 days, performance was lower, with AUROCs of 0.64 and 0.58 in the 2016-2024 and 2025 data, respectively. Models using a minimal feature set of variables performed close to the full-feature models, suggesting that most predictive signal was captured by basic clinical variables. SHAP analysis indicated that lower baseline BMI, younger age, increasing olanzapine dosage, historical BMI variability and past anxiolytic prescriptions were the features most associated with model predictions.

Conclusion: Routinely collected electronic health record data predicted olanzapine-associated BMI increase with moderate discrimination, but performance was less stable in temporally held-out data. The model associations were consistent with known risk patterns for olanzapine-associated weight gain and highlighted less established predictors of BMI increase during olanzapine treatment. These findings may support future work on risk stratification and metabolic monitoring, but they should be interpreted as preliminary and underscore the need for continued research in this domain to establish effective preventive measures for individuals undergoing antipsychotic treatments.

使用基于人群的电子健康记录的机器学习预测奥氮平诱导的BMI增加。
背景:体重增加是奥氮平治疗患者的常见副作用,增加了代谢并发症(如糖尿病、心血管疾病)的风险,并降低了治疗依从性。然而,在常规临床实践中,确定哪些患者最有可能经历临床显著的BMI增加仍然很困难。我们调查了常规收集的电子健康记录数据是否可用于预测接受奥氮平治疗的个体的BMI增加。方法:我们利用丹麦基于人群的精神病学电子健康记录数据开发了可解释的机器学习模型。该研究包括11984名在2016年至2025年间接受奥氮平治疗的成年人,他们在奥氮平暴露期间有BMI测量数据。模型结果定义为BMI较基线增加bb0.5 %。我们评估了三种预测设置:奥氮平开始后BMI增加,治疗期间第一次BMI测量到下一次随访期间BMI增加,以及治疗期间30-180天标准化随访窗口内BMI增加。模型使用2016-2024年的数据进行训练和内部评估,然后在2025年的暂时数据上进行测试。结果:对奥氮平起始治疗后具有临床意义的BMI升高的预测存在中度偏差,在起始治疗后30-180天预测窗口内表现最佳。XGBoost在2016-2024年的数据中实现了0.72的AUROC,在2025年的数据中实现了0.79的AUROC。对于预测治疗期间BMI增加到下一个可用随访的情况,2016-2024年数据中的AUROC为0.71,但在2025年数据中降至0.61。当治疗期随访窗口标准化为30-180天时,疗效较差,2016-2024年和2025年的auroc分别为0.64和0.58。使用最小变量特征集的模型表现接近全特征模型,这表明大多数预测信号被基本临床变量捕获。SHAP分析显示,较低的基线BMI、较年轻、奥氮平剂量增加、历史BMI变异性和过去的抗焦虑药物处方是与模型预测最相关的特征。结论:常规收集的电子健康记录数据预测与奥氮平相关的BMI增加,但在暂时保留的数据中表现不太稳定。模型关联与已知的奥氮平相关体重增加的风险模式一致,并突出了奥氮平治疗期间BMI增加的未知预测因子。这些发现可能支持未来在风险分层和代谢监测方面的工作,但它们应该被解释为初步的,并强调需要在这一领域继续研究,为接受抗精神病药物治疗的个体建立有效的预防措施。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
BMC Psychiatry
BMC Psychiatry 医学-精神病学
CiteScore
5.90
自引率
4.50%
发文量
716
审稿时长
3-6 weeks
期刊介绍: BMC Psychiatry is an open access, peer-reviewed journal that considers articles on all aspects of the prevention, diagnosis and management of psychiatric disorders, as well as related molecular genetics, pathophysiology, and epidemiology.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书