Prediabetes (PD), a reversible metabolic condition that precedes type 2 diabetes (T2DM), carries a high risk of progression to T2DM, but can be effectively treated by restoring normal blood glucose levels, mainly through lifestyle changes such as diet and physical activity. This study uses data from 21'023 patients from Canadian primary care Electronic Medical Records (EMRs), expanding a pre-existing clinical dataset by adding detailed information on drug prescriptions and smoking status, to train and compare different machine learning models to predict future normoglycemia, PD, or T2DM. The use of explainability techniques enhances our understanding of the progression from PD to T2DM, emphasizing the crucial role of blood sugar levels, body mass index, cholesterol levels and blood pressure in determining T2DM risk. These results highlight the potential of routinely collected clinical data to support early identification of high-risk individuals, enabling preventive interventions. Future studies should validate these findings in prospective cohorts and expand the set of investigated features to further improve the model's predictive performance and generalizability.

Identifying Clinical Predictors of Diabetes and Prediabetes: An Explainable AI Approach Using Primary Care Electronic Medical Records

Carpani G.
Primo
;
Lenatti M.;Simeone D.;Paglialonga A.
Ultimo
2026

Abstract

Prediabetes (PD), a reversible metabolic condition that precedes type 2 diabetes (T2DM), carries a high risk of progression to T2DM, but can be effectively treated by restoring normal blood glucose levels, mainly through lifestyle changes such as diet and physical activity. This study uses data from 21'023 patients from Canadian primary care Electronic Medical Records (EMRs), expanding a pre-existing clinical dataset by adding detailed information on drug prescriptions and smoking status, to train and compare different machine learning models to predict future normoglycemia, PD, or T2DM. The use of explainability techniques enhances our understanding of the progression from PD to T2DM, emphasizing the crucial role of blood sugar levels, body mass index, cholesterol levels and blood pressure in determining T2DM risk. These results highlight the potential of routinely collected clinical data to support early identification of high-risk individuals, enabling preventive interventions. Future studies should validate these findings in prospective cohorts and expand the set of investigated features to further improve the model's predictive performance and generalizability.
2026
Istituto di Elettronica e di Ingegneria dell'Informazione e delle Telecomunicazioni - IEIIT
9781643686615
EMR
Explainable AI
Prediabetes
SHAP
Type 2 diabetes
File in questo prodotto:
File Dimensione Formato  
Carpani_XAI-T2D_EFMI-MIE_2026.pdf

accesso aperto

Descrizione: Carpani et al., EFMI MIE 2026
Tipologia: Versione Editoriale (PDF)
Licenza: Creative commons
Dimensione 2.29 MB
Formato Adobe PDF
2.29 MB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/20.500.14243/589943
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 0
  • ???jsp.display-item.citation.isi??? ND
social impact