Mapping neighbourhood-level drivers of type 2 diabetes for precision public health using predictive and causal machine learning

Type 2 diabetes has become an urban epidemic influenced by neighbourhood environments. However, conventional risk models focusing solely on individual factors fail to account for these neighbourhood influences and often require detailed patient data that may not be available. To address this gap, we developed an integrated approach combining machine learning and causal inference to map type 2 diabetes risk at the neighbourhood level. Using demographic, health, and socioeconomic data from 1,149 Census Tracts (CTs; the neighbourhood unit in this study) in a large metropolitan region, we trained seven machine learning models to identify neighbourhoods with high diabetes prevalence. Although neighbourhood-level diabetes data were available for this study area, our model's high predictive accuracy on external validation data (area under the curve (AUC) = 0.95), particularly from a distinct geographical region, suggests potential utility for predicting diabetes risk in other Canadian regions or elsewhere where such data are unavailable, provided comparable covariates are available and the model is locally retrained and validated using spatially aware procedures. The top models achieved high recall ([Formula: see text]) and AUC up to 0.96 on test data, indicating accurate identification of high-risk neighbourhoods with few missed high-risk areas. Survey-derived neighbourhood health indicators, including obesity rate, physical inactivity, and median age were strong predictors of diabetes prevalence. We then applied a Causal Forest approach to estimate conditional average treatment effects (CATE, τ) for selected potentially modifiable factors and summarized the results with the mean [Formula: see text]. Higher work stress ([Formula: see text]) and daily smoking ([Formula: see text]) were moderately associated with increased risk, whereas better mental health ([Formula: see text]) was protective, highlighting mental health as a priority for further evaluation, especially in neighbourhoods predicted to have high diabetes prevalence. These findings could help identify modifiable neighbourhood-level factors for local prevention efforts and inform equity-oriented planning in diverse urban populations. Prospective or quasi-experimental studies are needed to evaluate intervention effects. Our integrated machine-learning and causal framework lays the groundwork for precision public health, suggesting that modifiable neighbourhood factors may indicate diabetes risk when patient-level data are scarce. Furthermore, the pipeline is conceptually adaptable to other chronic diseases influenced by social and environmental determinants and may inform targeted prevention beyond type 2 diabetes, contingent on disease-specific feature sets and external validation.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-01-05
DOI
https://doi.org/10.1038/s41598-025-34287-7
Primary Topic
Urban Transport and Accessibility
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Mapping neighbourhood-level drivers of type 2 diabetes for precision public health using predictive and causal machine learning

Jeffrey R. Brook, Olli Saarela, Karim Keshavjee, Mohammad Noaeen et al.
Scientific Reports
Urban Transport and Accessibility
article

Mapping neighbourhood-level drivers of type 2 diabetes for precision public health using predictive and causal machine learning

Jeffrey R. Brook, Olli Saarela, Karim Keshavjee, Mohammad Noaeen, Zahra Shakeri, AmirHosein Rostami, Ibrahim Ghanem
article en

Abstract

Type 2 diabetes has become an urban epidemic influenced by neighbourhood environments. However, conventional risk models focusing solely on individual factors fail to account for these neighbourhood influences and often require detailed patient data that may not be available. To address this gap, we developed an integrated approach combining machine learning and causal inference to map type 2 diabetes risk at the neighbourhood level. Using demographic, health, and socioeconomic data from 1,149 Census Tracts (CTs; the neighbourhood unit in this study) in a large metropolitan region, we trained seven machine learning models to identify neighbourhoods with high diabetes prevalence. Although neighbourhood-level diabetes data were available for this study area, our model's high predictive accuracy on external validation data (area under the curve (AUC) = 0.95), particularly from a distinct geographical region, suggests potential utility for predicting diabetes risk in other Canadian regions or elsewhere where such data are unavailable, provided comparable covariates are available and the model is locally retrained and validated using spatially aware procedures. The top models achieved high recall ([Formula: see text]) and AUC up to 0.96 on test data, indicating accurate identification of high-risk neighbourhoods with few missed high-risk areas. Survey-derived neighbourhood health indicators, including obesity rate, physical inactivity, and median age were strong predictors of diabetes prevalence. We then applied a Causal Forest approach to estimate conditional average treatment effects (CATE, τ) for selected potentially modifiable factors and summarized the results with the mean [Formula: see text]. Higher work stress ([Formula: see text]) and daily smoking ([Formula: see text]) were moderately associated with increased risk, whereas better mental health ([Formula: see text]) was protective, highlighting mental health as a priority for further evaluation, especially in neighbourhoods predicted to have high diabetes prevalence. These findings could help identify modifiable neighbourhood-level factors for local prevention efforts and inform equity-oriented planning in diverse urban populations. Prospective or quasi-experimental studies are needed to evaluate intervention effects. Our integrated machine-learning and causal framework lays the groundwork for precision public health, suggesting that modifiable neighbourhood factors may indicate diabetes risk when patient-level data are scarce. Furthermore, the pipeline is conceptually adaptable to other chronic diseases influenced by social and environmental determinants and may inform targeted prevention beyond type 2 diabetes, contingent on disease-specific feature sets and external validation.

Scientific ReportsVol. 16(1)
University of Toronto (CA), Hospital for Sick Children (CA), Public Health Ontario (CA), Hudbay Minerals (Canada) (CA), Institute for Work & Health (CA), Schwartz/Reisman Emergency Medicine Institute (CA)
Good health and well-being, Sustainable cities and communities
Openalex Percentile: Top 97%
Urban Transport and Accessibility
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.