Related Experiment Video
Updated: Mar 14, 2026

Author Spotlight: Advancing Alzheimer's Research – Exploring Early Detection and Multi-Omics Approaches
Published on: December 15, 2023
From raw data to actionable insights: preprocessing real-world data for machine learning in diabetes care.
Marco Montagna1,2, Aleksandar Svilenov Rabadzhiev2, Alberto Traverso3
1Department of Medicine, IRCCS San Raffaele Scientific Institute, Milan, Italy.
Preprocessing real-world data (RWD) for machine learning (ML) models did not significantly impact performance in predicting type 2 diabetes patient outcomes. Worse baseline health metrics were key predictors of improved HbA1c levels over time.
Area of Science:
- Healthcare Data Science
- Clinical Informatics
- Machine Learning in Medicine
Background:
- Real-World Data (RWD) requires extensive preprocessing for machine learning (ML) readiness.
- Applying ML to RWD holds potential for improving patient management in healthcare.
- Type 2 diabetes patient data over 20 years was utilized to explore preprocessing impacts.
Purpose of the Study:
- To investigate the effect of data preprocessing pipelines on ML models applied to RWD.
- To evaluate ML model performance and explanations across different preprocessing strategies.
- To identify predictors of HbA1c decrease in type 2 diabetes patients using ML.
Main Methods:
- Three distinct data preprocessing pipelines were established.
- Logistic Regression (LR), XGBoost, and Decision Tree Classifier (DTC) models were applied and tuned for precision.
- Shapley Additive Explanations (SHAP) were used for model interpretability.
Main Results:
- No significant variation in precision scores for LR and XGBoost across experimental conditions.
- Decision Tree Classifier (DTC) performance improved with missing data imputation.
- Exploratory Data Analysis and SHAP confirmed that worse baseline values predict HbA1c decrease.
Conclusions:
- ML model performance and explanations were robust across preprocessing variations.
- Worse baseline health metrics are significant predictors of HbA1c decrease in type 2 diabetes patients.
- ML insights from RWD can inform clinical discussions and enhance patient management strategies.
Related Concept Videos
Diabetes: Management and Pharmacotherapy
Insulin remains the cornerstone of treatment for most patients with type 1 and many...
Pathophysiology of Diabetes
Type 1 diabetes is characterized by autoimmune-mediated destruction of pancreatic β cells, with environmental factors potentially triggering this process in genetically susceptible individuals. Despite many not having a family history, certain genes increase susceptibility,...
Diabetes Mellitus: Type 2 and Gestational
Diabetes: Symptoms, Diagnosis, and Complications
Diabetes Mellitus: Overview and Type I Subtype
Type 1 diabetes is an autoimmune disease in which the immune system mistakenly attacks and destroys the insulin-producing beta cells in the pancreas. As a result, the body is unable to produce sufficient insulin, and individuals with...