Development and validation of a machine learning model for prediction of type 2 diabetes in patients with mental illness

被引:7
作者
Bernstorff, Martin [1 ,2 ,3 ,4 ]
Hansen, Lasse [1 ,2 ,3 ]
Enevoldsen, Kenneth [1 ,2 ,3 ]
Damgaard, Jakob [1 ,2 ,3 ]
Haestrup, Frida [1 ,2 ,3 ]
Perfalk, Erik [1 ,2 ]
Danielsen, Andreas Aalkjaer [1 ,2 ]
Ostergaard, Soren Dinesen [1 ,2 ]
机构
[1] Aarhus Univ Hosp Psychiat, Dept Affect Disorders, Aarhus, Denmark
[2] Aarhus Univ, Dept Clin Med, Aarhus, Denmark
[3] Aarhus Univ, Ctr Humanities Comp, Aarhus, Denmark
[4] Aarhus Univ Hosp Psychiat, Dept Affect Disorders, Palle Juul Jensens Blvd 175, DK-8200 Aarhus, Denmark
关键词
diabetes mellitus; forecasting; machine learning; mental disorders; RISK; ANALYTICS; METFORMIN; MELLITUS; COHORT;
D O I
10.1111/acps.13687
中图分类号
R749 [精神病学];
学科分类号
100205 ;
摘要
BackgroundType 2 diabetes (T2D) is approximately twice as common among individuals with mental illness compared with the background population, but may be prevented by early intervention on lifestyle, diet, or pharmacologically. Such prevention relies on identification of those at elevated risk (prediction). The aim of this study was to develop and validate a machine learning model for prediction of T2D among patients with mental illness.MethodsThe study was based on routine clinical data from electronic health records from the psychiatric services of the Central Denmark Region. A total of 74,880 patients with 1.59 million psychiatric service contacts were included in the analyses. We created 1343 potential predictors from 51 source variables, covering patient-level information on demographics, diagnoses, pharmacological treatment, and laboratory results. T2D was operationalised as HbA1c >= 48 mmol/mol, fasting plasma glucose >= 7.0 mmol/mol, oral glucose tolerance test >= 11.1 mmol/mol or random plasma glucose >= 11.1 mmol/mol. Two machine learning models (XGBoost and regularised logistic regression) were trained to predict T2D based on 85% of the included contacts. The predictive performance of the best performing model was tested on the remaining 15% of the contacts.ResultsThe XGBoost model detected patients at high risk 2.7 years before T2D, achieving an area under the receiver operating characteristic curve of 0.84. Of the 996 patients developing T2D in the test set, the model issued at least one positive prediction for 305 (31%).ConclusionA machine learning model can accurately predict development of T2D among patients with mental illness based on routine clinical data from electronic health records. A decision support system based on such a model may inform measures to prevent development of T2D in this high-risk population.
引用
收藏
页码:245 / 258
页数:14
相关论文
共 48 条
[1]   Prediction models for risk of developing type 2 diabetes: systematic literature search and independent external validation study [J].
Abbasi, Ali ;
Peelen, Linda M. ;
Corpeleijn, Eva ;
van der Schouw, Yvonne T. ;
Stolk, Ronald P. ;
Spijkerman, Annemieke M. W. ;
van der A, Daphne L. ;
Moons, Karel G. M. ;
Navis, Gerjan ;
Bakker, Stephan J. L. ;
Beulens, Joline W. J. .
BMJ-BRITISH MEDICAL JOURNAL, 2012, 345
[2]   Predicting diabetes mellitus using SMOTE and ensemble machine learning approach: The Henry Ford ExercIse Testing (FIT) project [J].
Alghamdi, Manal ;
Al-Mallah, Mouaz ;
Keteylan, Steven ;
Brawner, Clinton ;
Ehrman, Jonathan ;
Sakr, Sherif .
PLOS ONE, 2017, 12 (07)
[3]   A Predictive Metabolic Signature for the Transition From Gestational Diabetes Mellitus to Type 2 Diabetes [J].
Allalou, Amina ;
Nalla, Amarnadh ;
Prentice, Kacey J. ;
Liu, Ying ;
Zhang, Ming ;
Dai, Feihan F. ;
Ning, Xian ;
Osborne, Lucy R. ;
Cox, Brian J. ;
Gunderson, Erica P. ;
Wheeler, Michael B. .
DIABETES, 2016, 65 (09) :2529-2539
[4]  
Amer Diabet Assoc, 2013, DIABETES CARE, V36, pS67, DOI [10.2337/dc13-S067, 10.2337/dc11-S011, 10.2337/dc10-S011, 10.2337/dc14-S081, 10.2337/dc12-s064, 10.2337/dc12-s011, 10.2337/dc11-S062, 10.2337/dc13-S011, 10.2337/dc10-S062]
[5]  
Anderson Jeffrey P, 2015, J Diabetes Sci Technol, V10, P6, DOI 10.1177/1932296815620200
[6]  
[Anonymous], Definition and diagnosis of diabetes mellitus and intermediate hyperglycaemia : report of a WHO/IDF consultation
[7]  
[Anonymous], Diagnostic Criteria for Major Depressive Disorder and Depressive Episodes
[8]  
[Anonymous], TYPE 2 DIABETES DANI
[9]  
[Anonymous], TRIPOD AI ROUND 1 SU
[10]  
Bernstorff M., 2023, J OPEN SOURCE SOFTW, V8, P5197, DOI DOI 10.21105/JOSS.05197