Articles | Volume 22, issue 9
Nat. Hazards Earth Syst. Sci., 22, 3015–3039, 2022
https://doi.org/10.5194/nhess-22-3015-2022

Special issue: Advances in machine learning for natural hazards risk...

Nat. Hazards Earth Syst. Sci., 22, 3015–3039, 2022
https://doi.org/10.5194/nhess-22-3015-2022
Research article
16 Sep 2022
Research article | 16 Sep 2022

Machine learning models to predict myocardial infarctions from past climatic and environmental conditions

Machine learning models to predict myocardial infarctions from past climatic and environmental conditions
Lennart Marien1, Mahyar Valizadeh2,, Wolfgang zu Castell3, Christine Nam1, Diana Rechid1, Alexandra Schneider4, Christine Meisinger5,6, Jakob Linseisen5,6, Kathrin Wolf4,, and Laurens M. Bouwer1,, Lennart Marien et al.
  • 1Climate Service Center Germany (GERICS), Helmholtz-Zentrum Hereon, Fischertwiete 1, 20095 Hamburg, Germany
  • 2Strategy and Digitalization, Helmholtz Zentrum München, German Research Center for Environmental Health, Ingolstädter Landstraße 1, 85764 Neuherberg, Germany
  • 3Department Geoinformation, Helmholtz Centre Potsdam, GFZ German Research Centre for Geosciences, Telegrafenberg, 14473 Potsdam, Germany
  • 4Institute of Epidemiology, Helmholtz Zentrum München, German Research Center for Environmental Health, Ingolstädter Landstraße 1, 85764 Neuherberg, Germany
  • 5Chair of Epidemiology, University of Augsburg, University Hospital Augsburg, Stenglinstraße 2, 86156 Augsburg, Germany
  • 6Clinical Epidemiology, Helmholtz Zentrum München, German Research Center for Environmental Health, Ingolstädter Landstraße 1, 85754 Neuherberg, Germany
  • These authors share last authorship.
  • These authors contributed equally to this work.

Correspondence: Laurens M. Bouwer (laurens.bouwer@hereon.de)

Abstract

Myocardial infarctions (MIs) are a major cause of death worldwide, and both high and low temperatures (i.e. heat and cold) may increase the risk of MI. The relationship between health impacts and climate is complex and influenced by a multitude of climatic, environmental, socio-demographic and behavioural factors. Here, we present a machine learning (ML) approach for predicting MI events based on multiple environmental and demographic variables. We derived data on MI events from the KORA MI registry dataset for Augsburg, Germany, between 1998 and 2015. Multivariable predictors include weather and climate, air pollution (PM10, NO, NO2, SO2 and O3), surrounding vegetation and demographic data. We tested the following ML regression algorithms: decision tree, random forest, multi-layer perceptron, gradient boosting and ridge regression. The models are able to predict the total annual number of MIs reasonably well (adjusted R2=0.62–0.71). Inter-annual variations and long-term trends are captured. Across models the most important predictors are air pollution and daily temperatures. Variables not related to environmental conditions, such as demographics need to be considered as well. This ML approach provides a promising basis to model future MI under changing environmental conditions, as projected by scenarios for climate and other environmental changes.

1 Introduction

Myocardial infarctions (MIs) are a major cause of cardiovascular-related mortality and morbidity. The estimated prevalence of MI worldwide in 2015 was close to 16 million, with 33 000 years lived with disability attributed to the condition (Vos et al.2016). In light of ageing western societies as well as ongoing environmental and climatic changes, which have been identified as important risk factors, MI is likely to remain a considerable burden to health systems in the future (e.g. Khraishah et al.2022). It is therefore paramount to deepen the understanding of the complex interplay between environmental and other risk factors and their effect on MI and to estimate their expected future development.

Epidemiological research has shown that both high and low air temperature extremes (i.e. extreme cold and heat) can play an important role in triggering acute MI (Chen et al.2019; Wolf et al.2009; Sun et al.2018). This is especially apparent in winter, when most of the MI events are observed. Most previous studies (e.g. with registry data) have reported significant cold effects on MI occurrence (e.g. The Eurowinter Group1997; Schwartz et al.2004; Wolf et al.2009; Bhaskaran et al.2010), whereas fewer studies have observed increased risk of MI triggered by heat exposures so far (e.g. Bhaskaran et al.2012; Madrigano et al.2013; Chen et al.2019). Severe periods of heat as encountered during heat waves are likely to occur with higher frequency, intensity and duration due to anthropogenic climate change, even if limited to warming levels between 1.5 and 2 C (Sieck et al.2021). Increasing levels of urbanisation entail higher levels of exposure to heat as well, due to the urban heat island effect (e.g. Feng et al.2014; Zhang et al.2009). Air pollution is another environmental factor known to potentially trigger MI after periods of intense short-term exposure (e.g.  Peters et al.2004; Mustafić et al.2012) but also to increase the risk in association with elevated long-term exposure (Cesaroni et al.2014; Wolf et al.2021; Rajagopalan et al.2018). Moreover, the elderly are particularly vulnerable to MI, exacerbating the potential adverse effects in light of the demographic ageing expected in developed countries, such as in Germany (Schmidt et al.2013; Rai et al.2019).

A key issue in understanding current and future health impacts is the inclusion of a multitude of processes and circumstances that influence the health outcomes (Roth2020) in quantitative models. For MI, these include the occurrence of high- and low-temperature events, air quality, the presence of water bodies, and vegetation and characteristics of the built environment. Although the relevance of humidity for MI has not been confirmed (e.g. Schwartz et al.2004), it is often included when studying human health impacts (Davis et al.2016). For instance, high temperatures are often perceived as more stressful under very humid conditions. Hot and strongly saturated air carries less oxygen and interferes with transpiration as the main mechanism of cooling the human body (Havenith2005). Therefore, the same temperature can be perceived as more straining if humidity is high as well. Changes in the exposed population, such as their age, their health status and underlying diseases, are important as well. Therefore, not only can future health risks from climate change be estimated from changes in (extreme) weather, but it is also critically important to account for all these other relevant factors (Vanos et al.2020). Finally, health interventions such as heat health action plans and improved healthcare have been shown to reduce health risks from extreme temperatures (see for instance Achebak et al.2019). But also policies related to climate change, such as reduced traffic emissions, are expected to lead to a reduction in disease burden (Laverty et al.2021).

For more reliable estimations of potential future risks, multiple variables must be incorporated into prediction models. In addition, several of the relations between environmental and other factors and health outcome are only partially known. This is where data-driven approaches are particularly useful, as they can provide accurate estimations of complex processes, taking up many variables and also accounting for complex and non-linear relations. Machine learning (ML) approaches are now being tested widely for environmental studies (Reichstein et al.2019), and they are also increasingly used to estimate social and economic impacts of environmental extremes such as floods and windstorms (Merz et al.2013; Wagenaar et al.2017, 2021). ML, however, has only recently been applied to health impact modelling. Several studies have employed statistical methods as well as ML to predict infectious diseases, such as malaria transmissions (Zinszer et al.2012; Sewe et al.2017). Zhang et al. (2014) studied heat-related mortality and identified relevant temperature and humidity variables using random forests. Other studies applied ML to evaluate the risk for MI or to predict acute MI based on data such as patient history, blood markers or electrocardiogram, but they lack an environmental dimension (e.g. Tamarappoo et al.2021; Commandeur et al.2020).

In this study we employ several ML algorithms in a data-driven setting, using a range of meteorological, environmental, demographic and health variables on preceding days. We estimate the importance of the predictive variables in the models. We also assess the effects on different subgroups, depending on location (urban/rural), as these may exhibit different vulnerabilities (Gabriel and Endlicher2011), and patient characteristics (age, smoking and diabetes). The ML models that are presented can be used to estimate future health outcomes, using a set of scenarios for changes in climatic, environmental and demographic variables. Instead of using an approach based on time series modelling (see e.g. Armstrong2006; Chen et al.2018), we employ multivariate ML regression models. These models do not require the presupposition of a known exposure–response relationship. Also, our study is aimed towards developing models to make long-term projections at climate timescales (30 years). At such timescales underlying statistical properties may change gradually, which would not be reflected by any prescribed exposure–response function based on historic or current data. Contrary to other studies, we also do not account for seasonal effects. Instead, we solely rely on a data-driven approach in which we make no a priori assumptions about the relationship between features and the health outcome. While this does not allow for an explicit decomposition of the time series into, for example, trend, seasonality and random effects, it might generalise better when applied to an ensemble of climate simulations in which the statistics of the features may have changed drastically compared to the historical training data.

We expect that none of the risk factors that are included in our models is strong enough to directly trigger MI in an otherwise healthy person. Instead, these environmental and demographic factors must be assumed to increase the statistical likelihood of vulnerability to MI over longer periods of time. Many of the risk factors that we cover in this study can modify this individual likelihood of suffering from MI. In light of this, we do not expect the models to be able to accurately provide predictions on a daily basis. However, our research motivation is to eventually estimate the long-term tendencies in MI due to climate change. We therefore decided to aggregate our model results on an annual basis. This should allow for some of the inherent randomness to average out and allow a more statistical view of MI occurrence over annual and interannual timescales.

In Sect. 2, we present the methods used to develop the ML models. In Sect. 3, we describe the input data for our data-driven approach. In Sect. 4 the results of the simulations and their performance are given. In Sect. 5 we discuss the results and give an outlook for using the models to project future MI events, and finally in Sect. 6 we provide the conclusions.

2 Methods

In this section, we present the approach to modelling the occurrence of MI events from a large variety of data and discuss the ML methods that were applied. We also consider correlations among the features and describe how we selected suitable parameters for the ML algorithms.

2.1 A supervised learning problem for MI events

ML models can comprise classification- or regression-based algorithms. In this study, we focus solely on regression methods. The registry data are case-only; i.e. by design each participant is bound to have a MI.

The target variable in our case is the time series of daily events of MI observed in the study region. In addition, the co-occurring environmental variables that have a plausible causal relation to this target variable are collected and used as predictors in the training process. We use the scikit-learn package for performing the calculations (see Pedregosa et al.2011; Pedregosa et al.2022). The figures use colours chosen with disability friendliness in mind (Crameri et al.2020).

For any given day d let yd be the number of MI events and xi,d the value of the ith predictive variable on that day (e.g. daily maximum temperature or daily mean PM10). To work with standard regression algorithms, a fixed number of features must be selected and together with the target value yd be provided as training input. The variables xi,d represent a time series, and therefore only a subset of them should be selected as a feature of the regression problem, namely the conditions on the day of prediction. Past conditions, however, might also have an influence on current events, both long- and short-term. The sliding window method allows for this by selecting the features with a lag n, referred to as the window size. The merits of allowing for shorter or longer memories are difficult to estimate. For instance, the effects of extremely high temperatures on MI are generally expected to be short-term (Breitner et al.2014), ranging from immediate effects to up to 3 weeks lag. The vector of features, i.e. the training (or test) instance on day d, is then given as

(1) x d = x 1 , d - n + 1 , x 1 , d - n + 2 , , x 1 , d , x 2 , d - n + 1 , , x 2 , d , x m , d - n + 1 , , x m , d ,

where n is the windows size and m the number of variables. Each predictive variable then yields n features, and the total number of features for this problem is nm. Accumulating the xd and yd for all days into a matrix X and a vector y yields input that can directly be used with the scikit-learn regression algorithms. We applied the five ML methods and associated scikit-learn classes, listed in Table 1 with their abbreviations as used in the remainder of this paper. Note that some features such as the slowly changing demographic variables, were not subject to the sliding window and instead simply used the value on the day of prediction. For this study, after testing different lags between 1 and 21 d, we exclusively used a lag of n=3 d as this resulted in the best overall scores. However, in order to account for possibly longer-lasting (see Sun et al.2018) cold effects, we added a predictor using the 21 d rolling mean of the minimum temperature.

Table 1Regression methods used and associated scikit-learn classes.

All links were accessed on 4 September 2022.

Download Print Version | Download XLSX

Note that throughout this paper, we use the terms predictor and feature in an interchangeable manner, namely to refer to the features of the supervised learning problem derived above: the vector X and its components.

We also added a random feature to be able to use its importance as a benchmark. Predictors less important than the random feature can be assumed to be irrelevant. Finally, we added three time variables, namely the day of the week, the day of the year and the current month.

2.2 Scaling and random split

Different magnitudes of the features can have adverse effects as the results could be biased towards those variables given in nominally large units relative to others. To avoid this, we apply the sklearn.preprocessing.StandardScaler class to the input, resulting in features that are centred around 0 with unit variance. Second, we withhold parts of the data from the training to have independent data instances for validation. We apply sklearn.model_selection.train_test_split with shuffle, resulting in a random 75 %/25 % split of the data in training and test portions. The 25 % of data not used for training the algorithms are used for validation. Splitting the data randomly means that the underlying time series lose their natural temporal order. This has implications when visualising and interpreting model results that we will cover in a later section, but it reduces the likelihood of autocorrelations (e.g. seasonal signals) present in the time series that could result in overoptimistic predictions. In order to split the data randomly, the random number generator has to be initialised with a seed. We found that different random seeds can result in significantly different results. To avoid reporting results that are strongly dependent on the chosen seed, we repeated all calculations with 100 randomly selected seeds. The result with the R2 score closest to the average score of the ensemble was then selected as a representative example of model capability. Moreover, as the dependency on the random seed is likely related to unbalanced splits, we employed a simple stratification strategy. The data are stratified along the number of MI occurrences observed; i.e. data points with the same number of MIs are split among test and training in a representative way. This is especially important for rare events, such as five or more MIs in 1 d. The dependency on the random seed was substantially reduced in this way, but significant differences between different seeds could still be observed.

2.3 Feature importance

It is useful to evaluate the relative importance of different features, i.e. to measure the contribution a given feature makes to the overall prediction. In this study, we use the built-in variable importance capabilities provided by the scikit-learn package, yielding a number between 0 and 1 for each feature. The sum of all individual contributions is always equal to 1. For RR we simply relate the magnitude of the trained weights (coefficients) of the model to their associated predictors. Here, care must be taken to consider the relative magnitudes of the predictors, but this has been addressed in our study by scaling the input data. For DT, RF and GBR the importance is based on the normalised total impurity decrease, i.e. a measure of the quality of splits associated with a given feature, aggregated across the whole tree or the ensemble of trees, respectively. For MLP no variable importance is provided by scikit-learn, and we therefore constrained this part of the analysis to the four aforementioned algorithms.

2.4 Feature reduction

Correlated features can lead to an overemphasis of their influence on the target variable. This can be counteracted by choosing only one of the correlated features, usually the one that has the strongest correlation with the target variable. In our case, we aimed to include as many variables as possible that could reasonably have an effect on MI. The downside is that some features, for instance maximum, minimum and mean temperature, are highly correlated on a daily basis. A visualisation of the correlation between the predictors used in this study is shown in Fig. A8. To address this issue, we tested the option of transforming the data to a smaller feature space using principal component analysis (PCA). The resulting principal components are uncorrelated to each other, and the risk of introducing spurious or overly strong relationships into the training data is reduced while retaining most of the original information. We used sklearn.decomposition.PCA and opted to retain at least 98 % of the variance. Having the principal components as optional features allowed us to compare predictions with PCA to estimate the potential adverse effects of correlations present in our data. The results using the PCA data (not shown here) did not improve, suggesting that using the original set of features does not introduce spurious relations. Moreover, using PCA leads to a reduction in interpretability, as the principal components are linear combinations of the original features, without a clear relation to the original variables.

2.5 Hyperparameter optimisation

The ability of the ML algorithms listed in Table 1 to produce accurate predictions is dependent on the selection of appropriate hyperparameters. These parameters generally control specific aspects of the underlying methods, such as the maximum depth of a decision tree, the number of neurons in a layer or the strength of regularisation. With regularisation, a penalty is added as model complexity increases, which helps to avoid overfitting. In this study, we used the sklearn.model_selection.GridSearchCV class to optimise hyperparameters over predefined parameter spaces with 5-fold cross-validation. We used the adjusted R2 as the governing score to make decisions on optimal parameters. The parameter set with the best overall score is selected. Using cross-validation allows the production of more robust generalisation error estimates without having to reserve a dedicated cross-validation set that would not be available for training. Moreover, by using folds based only on 75 % of the training data, no information from the remaining 25 % of the data is used for optimising the models and validation through parameter selection.

Due to substantial computational expense, we only optimised over rather sparse parameter spaces and a limited number of the available parameters. Table 2 shows a list of the selected hyperparameters for all the methods used as well as their optimised values. To speed up the calculations we used the Intel® extension package for scikit-learn, called scikit-learn-intelex.

Table 2Optimised hyperparameters marked with bold.

Download Print Version | Download XLSX

https://nhess.copernicus.org/articles/22/3015/2022/nhess-22-3015-2022-f01

Figure 1Number of annual MIs (a) and mean annual cycle (b) in people aged under 75 from 1985 to 2015 for the study region (city of Augsburg and counties Aichach-Friedberg and Augsburg).

Download

3 Data

The dataset used in this study is highly heterogeneous along many dimensions, with differences ranging from file format, metadata conventions, spatial coverage (e.g. regional, local) and resolution to temporal frequency (e.g. daily, monthly, annual) and representation (e.g. raster, polygon and point data). In this section, we give an overview of the data used in this study and describe the workflow applied to homogenise and prepare these. Table 3 lists all environmental and demographic predictive variables that were used for this study in addition to the MI data, as well as the source datasets and associated references.

Helmholtz Zentrum München (2022)DWD (2022)DWD (2022)DWD (2022)DWD (2022)CGLS (2022)Bayerische Landesamt für Umwelt (2022)Bayerische Landesamt für Umwelt (2022)Bayerische Landesamt für Umwelt (2022)Bayerische Landesamt für Umwelt (2022)Bayerische Landesamt für Umwelt (2022)Bayerisches Landesamt für Statistik (2022)Bayerisches Landesamt für Statistik (2022)Bayerisches Landesamt für Statistik (2022)Bayerisches Landesamt für Statistik (2022)Bayerisches Landesamt für Statistik (2022)Bayerisches Landesamt für Statistik (2022)Bayerisches Landesamt für Statistik (2022)Bayerisches Landesamt für Statistik (2022)Bayerisches Landesamt für Statistik (2022)Bayerisches Landesamt für Statistik (2022)Bayerisches Landesamt für Statistik (2022)Bayerisches Landesamt für Statistik (2022)Bayerisches Landesamt für Statistik (2022)Bayerisches Landesamt für Statistik (2022)Bayerisches Landesamt für Statistik (2022)Bayerisches Landesamt für Statistik (2022)Bayerisches Landesamt für Statistik (2022)Bayerisches Landesamt für Statistik (2022)

Table 3Overview of predictive variables, source datasets and their origin.

Download Print Version | Download XLSX

3.1 KORA MI registry

The health dataset for our study is the KORA/MONICA MI registry (see Tunstall-Pedoe et al.1994; Holle et al.2005), comprising records of MI events that occurred within the study region from 1985 to 2015. These data were collected at the hospitals in the Augsburg region. Each record contains the date of the MI occurrence and age and sex of the patient. Depending on availability, complementary information is given, such as the patients' residential county (Landkreis), their body mass index (BMI), smoking status and pre-existing conditions such as diabetes. Although no detailed information is provided on the location of the patient during a MI event, they can be assigned to either the urban (city of Augsburg) or one of the two rural counties (Landkreise) of the study region (Landkreis Augsburg and Aichach-Friedberg). As pointed out earlier, the individual patient-specific data could not be used as predictive data due to the nature of the regression approach, which aims to predict the gross number of MI in the population. It is, however, possible to use these data to confine investigations to subgroups, e.g. to inhabitants of either urban or rural areas, and also to the elderly or to smokers, albeit at the cost of being limited to a smaller subset of the overall data. In total the number of recorded MIs is n=34 618. Until 2008 the study was limited to participants of up to 74 years of age, with n=30 081 records total in that category. Figure 1 shows the aggregated number of MIs per year and the mean annual cycle for the population aged under 75. The yearly maximum in MI is observed during the winter months, whereas the summertime shows the lowest number of occurrences. To generate the ground truth for our regression problem, we counted the total daily number of MIs observed in the KORA study and used the resultant time series as input for the ML algorithms.

3.2 Air temperature and humidity

Air temperature close to the ground is the most important factor to consider as the most direct measure of human exposure to heat and cold. The relatively small spatial scale of the study region (1998 km2) puts high demand on the data in terms of spatial resolution and accuracy. At the same time, daily environmental data are required for our approach.

We opted to derive a 1×1 km grid for the study period between 1985 and 2015 from daily data of 22 DWD stations in the vicinity of Augsburg and its neighbouring districts. To this end, we applied universal Kriging with linear drift to the daily values at the temperature stations shown in Fig. 2. The resulting gridded datasets (minimum, maximum and mean temperature) were aggregated to the counties comprising the study region. This relatively simple approach proved to be accurate enough to obtain realistic aggregated daily time series for the study region, as shown by the reasonable predictions in this paper.

We also include humidity features in the models to gauge their relative importance. Relative humidity was also gathered from DWD, and we applied the same Kriging procedure for spatial interpolation, as used for temperature. To account for possible effects of perceived heat stress expressed by simultaneous high humidity and high temperatures we included apparent temperature. Measures of apparent temperatures relate a given temperature to the ambient humidity to account for the perceived temperature differences between dry and humid conditions. The specifics of the computation can be found in the Appendix A1.

In a next step, the data were aggregated for the three different counties within the model region, the urban and the two rural areas, by computing weighted area means. The resulting daily time series can be readily used as input to the ML models, as described in Sect. 2.

3.3 Air quality

Air pollution is usually a complex mixture, but several particulate and gaseous pollutants can be considered in investigating its effects on MI (e.g. Chen et al.2018; Bourdrel et al.2017; Mustafić et al.2012). From the “Bavarian Air Hygiene State Monitoring System” (LÜB) database (Bayerische Landesamt für Umwelt2022) we collected data on PM10, NO, NO2, ozone (O3) and SO2 concentrations at multiple stations across Bavaria at daily resolution.

Table A1 in the Appendix gives an overview of the selected measuring stations and their urban or rural categories, the corresponding pollutants data, and their availability. Figure 2 gives an overview of the selected temperature and air quality measurement stations. We determined the aggregated daily means by calculating the mean values of the aforementioned stations, taking into consideration their proximity to the city centres, traffic-loaded inner-city streets, industrial areas and the outskirts as well as taking into consideration the large-scale background pollution.

https://nhess.copernicus.org/articles/22/3015/2022/nhess-22-3015-2022-f02

Figure 2Air quality (blue) and temperature (orange) stations in the region of interest (ROI) around Augsburg.

The map shows that there are only few air quality stations within the study region (five blue circles and an archived station with red border circle). Since not all stations have been always active during our study period, we use merely the active stations. However, if none of the regularly used stations in the counties had recorded data on a given day, especially for the surrounding counties, alternative stations (light-blue dots in Fig. 2) with equal proximity settings from outside the study region were used as replacements for the calculations. This has been achieved through an acceptable 10 %–15 % error criterion for the monthly value of alternative stations compared to the calculated monthly mean value of the county over a span of time provided by the monitoring system. The calculated monthly mean time series have been provided in Fig. A9.

3.4 Vegetation

The normalised difference vegetation index (NDVI) is an indicator of the greenness of the natural vegetation and other vegetation types such as agriculture, parks and gardens. It is widely used for ecosystem monitoring. In this study NDVI also is used as a proxy for shade as well as a potential local cooling effect of vegetation by absorbing sunlight and through evapotranspiration. The NDVI_v2_1km database of the CGLS (2022) vegetation products is freely available at a 1×1 km spatial resolution starting in April 1998, measured every 10 d. We extracted the NDVI for our region and used a cubic spline interpolation to upscale the temporal resolution from 10 d to daily values. Given the very gradual rate of change in vegetation cover and consequently the NDVI, we assume this interpolation does not produce large errors. Note that due to lack of availability of NDVI data before 1998, training and testing of the algorithms had to be confined to the time between April 1998 and December 2015.

Table 4Training and test scores for 7 d aggregated daily predictions.

Download Print Version | Download XLSX

https://nhess.copernicus.org/articles/22/3015/2022/nhess-22-3015-2022-f03

Figure 3Daily predictions aggregated to 7 d intervals for all models. Shows predicted (crossed) and observed MI (dotted) for the training (a) and test (b) sets.

Download

3.5 Demographics

The absolute number of MIs depends not only on various environmental risk factors but also on the size and characteristics of the population. Disregarding other factors, any change in the absolute number of inhabitants would produce a similar change in the number of cases of MI as well. Moreover, both age and sex are strongly correlated with health outcomes in general, and specifically so for MI. Given trends of increasing urbanisation, rural depopulation and an ageing society, it is important to account for changes in both number of inhabitants and age stratification of the population over time. In addition, domestic migration reflected in relative changes between urban and rural parts, leading to differential changes in exposure to environmental hazards in the Augsburg region, can be important as well. We collected data from the Bavarian Office of Statistics that comprise annual values for the total number of inhabitants for each of the three counties, as well as the distribution of sex and age in the population from 1985 to 2015. Overall, 17 different age groups are accounted for as listed in Table 3. Since the algorithms require daily input values, a linear interpolation was applied to estimate the development within a given year.

4 Results

4.1 Weekly predictions of MI events

Our models produce daily predictions of MI events based on the environmental and demographic features within the given window size. We found that the models are not able to reproduce the daily variability in MI with sufficient accuracy. As an example, we show the daily predictions aggregated to 7 d intervals to increase visibility in Fig. 3. The resultant scores are given in Table 4 for both training and validation, respectively.

Although the 7 d predictions suggest some skill for the training period, for the testing period the models do not predict 7 d variations (or day-to-day predictions) accurately enough for practical purposes. The predictions are too close to the mean and lack the variability displayed by the observations. An overview of average mean, standard deviation, and minimum and maximum daily predictions across models and for each subgroup considered is given in Table A8. This is likely related to randomness as well as risk factors that affect MI events that were not considered in the models. For instance, the temperature or air quality predictors may not sufficiently capture actual local circumstances, but also information about the built environment and other conditions that cannot be easily accounted for is missing.

Table 5Training and test scores on annual basis for the general population.

Download Print Version | Download XLSX

https://nhess.copernicus.org/articles/22/3015/2022/nhess-22-3015-2022-f04

Figure 4Annually aggregated predictions of MI in the general population for all models. Predicted (solid) and observed MI (dashed) for training (a) and test (b) sets.

Download

4.2 Annual predictions of MI events

Figure 4 shows the model performances on both the training and test sets as well as the actually observed MI as a reference for the five ML models given in Table 1. After training the models and performing the daily prediction on the test set, the results were aggregated to annual sums. By aggregating the model results to an annual basis, some of the inherent randomness is averaged out. Based on the annualised prediction results and time series of observed MI, the performance scores were derived (see Table 5). The training scores demonstrate that the ML models are able to predict the year-to-year variations quite well, with adjusted R2 scores between 0.87 and 0.94. The performance on the test dataset is relevant for assessing the generalisation error for previously unseen data. In contrast to the training data, the results on the test set are less but still reasonably accurate, with adjusted R2 scores between 0.62 and 0.71, showing that inter-annual variations and long-term trends are largely captured. The RR and MLP models exhibit the best performance, showing that both well-tuned linear models and neural networks are able to simulate the relations between environmental conditions and MI events. The DTR shows the lowest overall performance by comparison.

4.3 Feature importance

In Fig. 5 we show a condensed rendition of the feature importance, where related variables have been grouped together for each model, except for the MLP, which does not support feature importance within the scikit-learn framework. Note that variables subject to the sliding window were aggregated over the window length of 3 d to improve readability. Moreover, features related to time such as the current month number and the day of the week were also aggregated to a single group. More detailed plots retaining the differentiation of all features and window days can be found in the Appendix (see Figs. A6 and A7). The latter figure also shows that many of the original demographic features carry little to no weight. We therefore reduced the granularity of the demographic data to the age groups 0–29, 30–49, 50–74 and >75, generally yielding improved results.

https://nhess.copernicus.org/articles/22/3015/2022/nhess-22-3015-2022-f05

Figure 5Aggregated feature importance for predicting MI for the general population. Related features have been grouped thematically. Larger values indicate higher importance, and per model the sum over all features equals 1.

Download

While the performance of the models differs, some trends can be observed. Overall, the single most important group is air quality, closely followed by temperature-, demographic- and time-related predictors. Humidity as well as NDVI exhibits the lowest explanatory power. NDVI is ranked very closely to the random feature by all models.

Compared to the environmental features that display strong daily variation the demographic predictors are subject to slow, gradual change only. We therefore also conducted this experiment with all demographic features turned off. The results are shown in Table A7. As evidenced by the reduction in scores (adjusted R2 reduced from 0.67 to 0.62 on average) the demographic predictors still make a relevant contribution to the overall result despite the lower temporal resolution of the input data.

4.4 Subgroup analysis

The models were also applied to subgroups of the population, albeit at the expense of a reduced number of available training data (see Table 6 for an overview). For this analysis we selected a total of five subgroups: the urban (Augsburg city) and rural population (two adjacent counties), respectively; the elderly (people aged between 60 and 74); patients with diabetes; and active smokers. The data were reduced to include only participants with the associated attribute. The training procedure was then repeated as detailed for the general case on the resulting subsets. As expected, the validation scores dropped considerably for all subgroups, likely a consequence of reduced quantities of training data. We refer to the Appendix for detailed results, but for the urban and rural subgroups adjusted R2 scores between 0.35 and 0.6 were observed in validation (see Tables A2 and A3). Both subgroups, being of almost equal size, performed comparably well, with the urban population exhibiting slightly lower scores however.

Table 6Overview of the number of cases as well as age and sex distribution for the different study populations considered.

Download Print Version | Download XLSX

The validation results for the elderly population (see Fig. A3 and Table A4) are more accurate (adjusted R2 between 0.53 and 0.65) than for the urban and rural populations, although the number of training samples is much higher in both of those cases.

The results for patients with diabetes are shown in Fig. A4 and Table A5. As observed with the elderly, the scores for patients with diabetes (adjusted R2 between 0.28 and 0.61) are comparable to those of the (much bigger) rural and urban subgroups, except for DTR, which resulted in a substantially reduced score.

The results for the smoking population are shown in Fig. A5, and the scores are given in Table A6. For this group adjusted R2 validation scores drop to around 0.42 on average, indicating a less accurate fit than for all the other subgroups. This is consistent with the smoker group being the smallest of the explored subgroups, resulting in the lowest number of training data as well.

https://nhess.copernicus.org/articles/22/3015/2022/nhess-22-3015-2022-f06

Figure 6Change in feature importance for predicting MI in percent relative to the general population for every subgroup considered. Related features have been grouped thematically.

Download

Overall, the skill of the models is clearly reduced when limited to subsets of the overall data. The decrease in performance, however, is quite different between subgroups, especially when taking into account their relative sizes. A particularly interesting question is whether the variable importance for any one subgroup changes substantially in comparison to the general population. Figure 6 shows the difference in variable importance for each of the subgroups in relation to that of the general population. To aid readability, related features have been grouped again. Considerable differences between subgroups, models and feature groups can be observed. For instance, most models agree that demographics, humidity and NDVI are particularly important for predicting urban MI while giving less weight to the temperature-related features. The importance of time-related indicators reduced consistently over the general population. In some cases the importance of the random feature is also reduced, indicating increased robustness of the results.

For the rural population the results suggest slightly increased relevance of NDVI compared to the overall population. Temperature and air quality mostly align with the results for the general population. The demographic indicators are less relevant when compared to the general case, as are the time-related features.

For the elderly, the models are mostly undecided on air quality, with a slight tendency towards increased importance. The weight of the demographic features is emphasised in comparison to the general case. Less importance is also attributed to (apparent) temperature and humidity.

For patients with diabetes, the models mostly agree that demographic features, NDVI and air quality are more important in predicting MI for this group in comparison to the general population. On the other hand, (apparent) temperature-, humidity- and time-related features are ranked lower.

Lastly, for the group of active smokers the models mostly suggest an increased importance of air quality as well as demographic features for the prediction of MI. Humidity as well as (apparent) temperature- and time-related features is overall considered less important.

5 Discussion

To our knowledge, this is the first study building and testing ML models that include more than only weather variables (such as Zhang et al.2009, for heat mortality) for predicting MI prevalence. The developed ML models have varying skill in predicting MI. At the daily to 7 d timescales, randomness seems too large to produce meaningful predictions. However, when predictions are aggregated to annual sums, the models are very well capable of reproducing the inter-annual variability in observed MI, as well as the long-term trends, also for the validation datasets. This is comparable to the performance of methods used for predicting malaria incidence (e.g. Sewe et al.2017). In terms of performance scores the models achieve very similar outcomes in both training and validation (see Table 5), indicating some robustness of the predictions. More qualitative differences emerge, however, when investigating feature importance. There are substantial differences between the ML models in terms of some features (Fig. 5). Most models rank air quality variations and temperatures among the most important features, but a large spread between models can be observed. This indicates at least some inherent uncertainty.

Classical epidemiological approaches like general linear or additive models are mostly used for explaining the direction and corresponding uncertainty in associations between environmental risk factors and health outcomes, thereby adjusting for potential confounding factors. In the case of potential non-linearities, the shape of the exposure–response curve is usually modelled as a smooth function. However, the models are limited in the case of high correlation and/or high-dimensional interactions between the covariates. The suggested ML approaches can (partly) handle these issues and offer the possibility of comparing the importance and predictive performance of a multitude of environmental predictors.

The training scores in many cases are close to the maximum, with adjusted R2 values greater than 0.85. This may be indicative of overfitting, possibly opening room for improving further on the generalisation by applying stronger regularisation. While the models were adjusted by optimising the hyperparameters, not all possible parameter values have been explored. For instance, in the case of the tree-based models pruning is an effective way to reduce overfitting, which was not applied here. For the MLP and RR models regularising parameters were explicitly included in the optimisation, but possibly the ranges were not wide enough to achieve the best trade-off between training and validation.

The model results are sensitive to the selection of the random seed that is used in making the initial train–test split. We found that changes in the random seed routinely had greater impact than the choice of hyperparameters. One way of dealing with this would be to also include this random seed in the optimisation process. Currently, only the random seeds used for randomly selecting the folds in cross-validation and in initialising the regressors are optimised. In light of the strong influence of the initial split, however, we opted to instead test over a range of possible seeds and select the results closest to the average performance of the models, not to overstate our results. The sensitivity to the initial split may indicate a lack of data but is likely mostly due to unbalanced splits. We reduced this sensitivity by employing a simple but effective stratification strategy. This reduced the variation across seeds but does not entirely resolve the issue. Possibly, more intricate stratification approaches may reduce the dependency even further.

We were able to indicate differences between different geographical regions, i.e. urban and rural populations. For instance, humidity, demographics and NDVI become more important predictors for the urban population, compared to the overall population, at the expense of (apparent) temperature. The models could be further improved by increasing the spatial representation, as the environmental predictors also would support this. Increased spatial representation would also allow for additional exposure metrics to be established and more predictors, such as those related to building structures, their insulation and energy efficiency.

An additional area of possible improvement is the environmental data. Some variables such as the NDVI and the air quality indicators were not fully available for the period between 1985 and 2015, effectively limiting analysis to the period from 1998 to 2015. It is also possible to reduce the bias in the station data (temperature, air quality), for instance by using more sophisticated interpolation methods or additional data sources such as from remote sensing.

All ML models' results consistently demonstrated the importance of the air quality variables. Climate impact studies, especially related to MI, might therefore benefit from carefully analysing possible future developments of these variables. Electrification of traffic, reduction in fossil fuel and related changes might yield substantial improvements in air quality in the future. Instead of just focusing on projected changes in, for example, temperature and humidity, scenarios for air quality need to be considered as well.

Current data availability from climate modelling and demographic and environmental scenario development provide many opportunities to use the developed ML models from our research for projecting future health risks. Ensembles of regional climate models provide climate projections with the highest spatial resolution. For the study region, EURO-CORDEX simulations (Jacob et al.2014, 2020) can be considered, providing the largest ensemble of climate simulations at high spatial (0.11, i.e. 12 km) and temporal (daily) resolution available today. Several of the predictors used in this study could be derived from the EURO-CORDEX ensemble, namely temperatures and in many cases relative humidity, as well as dew point temperatures. Alternatively, an ensemble of convection permitting decadal regional climate simulations at ∼3 km, for both historic and future conditions, has been created within CORDEX FPS (e.g. Ban et al.2021). Using an ensemble of near-future (2035–2065) climate model simulations allows for scenario uncertainty, internal climate variability and climate model uncertainty to be assessed (Hawkins and Sutton2011) when comparing the changes in MI to the reference historical simulations.

Demographic predictions until 2039 for the study region at the county level can be obtained from the Bayerisches Landesamt für Statistik (2022). Longer-term projections up until the year 2060, albeit contingent on different socio-economic scenarios and at the level of the federal state of Bavaria, could be obtained from the Statistisches Bundesamt (2022) and be used to estimate the local projected demographics in the study area. These projections would provide a robust basis to estimate potential developments of the local population in the near-future.

For vegetation changes, as represented by NDVI, it can be reasonably assumed that the potential for increased greenness in the inner city is limited. Likewise, the potential for substantial effects from added green in the rural surroundings of Augsburg is low, as it is already ubiquitous there. We therefore believe that moderate up- or downscaling of NDVI patterns observed in the past and present may suffice to yield suitable estimates of possible future developments, such as adaptation measures of increasing vegetation to reduce the urban heat island effect.

Air quality projections are related to the emission scenarios used by global climate models. For the CMIP6 climate models, estimates of regional surface air quality are available at the global model scale (Turnock et al.2020). These projections could be used to scale the observed daily air quality observations, but more exhaustive and local projection data would be preferred. To date, however, regional climate models do not feature the necessary complex chemical models to accurately model the transport, dispersion and diffusion of pollutants. A pragmatic up- or downscaling of the observed patterns from the global to the local level currently appears to be the most convenient approach.

6 Conclusions

We have developed an approach for predicting MI events using multivariable ML methods, based on environmental and demographic data. Given that health outcomes depend on a multitude of factors, we applied a data-driven approach to establish relevant relationships. We acquired data on MI events from the KORA MI registry in Augsburg, Germany, as well as weather, environmental and demographic data from various sources to create a meaningful and consistent daily time series of the predictive features and the target variable.

Starting from these time series, a supervised learning problem for MI was formulated, accounting for lagged effects. Five different regression algorithms were trained on these data, based on random 75/25 train–test splits for the period between April 1998 and December 2015. Various hyperparameters were used to optimise the performance of the algorithms, based on 5-fold cross-validation with respect to the R2 scores.

Applying the trained models on the unseen test data allowed an estimation of the generalisation error of the models. We found that the daily or weekly results do not provide meaningful and accurate predictions of MI events. We found that the annually aggregated predictions agree well with the observed MI events, accurately reflecting observed trends and inter-annual variability in MI. The match between observations and the model predictions is supported by the observed validation scores, with adjusted R2 scores ranging between 0.62 and 0.71. Overall, the models displayed comparable skill, but the ridge regression (RR) and multi-layer perceptron (MLP) models slightly outperformed the tree-based methods. The least accurate results were produced by the decision tree (DTR) model. The feature importance showed that despite similar overall scores, the relative weight can vary substantially between the models. This emphasised the necessity to consider ensembles of models, as it allows the model spread to be gauged and inherent uncertainty to be estimated. In this study, air quality tends to be the most important feature to predict MI, closely followed by temperature, demographics and apparent temperature. We also applied the models to various vulnerable subgroups, such as the elderly or patients with diabetes, resulting in only slightly reduced skill scores due to the reduced quantities of training data.

Possibilities of improving the current approach are manifold, including increasing the variety and quality of the predictor data. Further analysis of the data, including accounting for trends over time, may further increase robustness of the results to prevent the attribution of exogenous effects not considered in the model to the existing features. Also, different ML approaches could be explored, such as density estimation and Bayesian methods, yielding estimates of relative risk of different groups to suffer MI. Such estimates could be more readily compared with commonly used epidemiological models than the regression models presented here. Overall, the models' capacity to give reasonable estimates of possible future developments of MI based on the predictive features appears robust. In a next step, the trained models can be applied to scenarios of future climatic, environmental and demographic conditions. This will allow the estimation of future changes in MI taking into account climatic as well as other environmental and demographic factors expanding on limitations of earlier studies. These changes could also include further improvements in air quality or increased “greening” of urban environments with vegetation. Such estimates will enable the gauging of the sensitivity of the complex health–environment interactions and benefits of proposed environmental and health interventions in urban areas.

Appendix A

A1 Derivation of apparent temperature

We have computed the apparent temperature according to

(A1) T a = - 2.653 + 0.994 T + 0.01537 T d 2 ,

where Ta is the apparent temperature, T the near-surface mean temperature and Td the near-surface dew point temperature (see Davis et al.2016). Dew point temperature, however, was not available for this study. To facilitate the estimation of the apparent temperature we therefore first derived another humidity-related quantity: vapour pressure. Applying again universal Kriging with linear drift, we arrived at 1×1 km gridded data for vapour pressure, applying the Magnus formula to estimate the dew point temperature:

(A2) T d = b v a - v ,

where a=7.5; b=237.3; and v=log10pv6.1078, with pv the vapour pressure.

Applying these formulas to the gridded temperature and humidity data derived before yields a 1×1 km grid for apparent temperature. Note that the formulas were independently applied to mean, maximum and minimum temperature. Subsequent aggregation over the model region then completed the preparation of apparent temperature as an input feature.

A2 Detailed subgroup and feature importance results

https://nhess.copernicus.org/articles/22/3015/2022/nhess-22-3015-2022-f07

Figure A1Annually aggregated predictions of MI in the urban population for all models. Predicted (solid) and observed MI (dashed) for training (a) and test (b) sets.

Download

https://nhess.copernicus.org/articles/22/3015/2022/nhess-22-3015-2022-f08

Figure A2Annually aggregated predictions of MI in the rural population for all models. Predicted (solid) and observed MI (dashed) for training (a) and test (b) sets.

Download

https://nhess.copernicus.org/articles/22/3015/2022/nhess-22-3015-2022-f09

Figure A3Annually aggregated predictions of MI in the elderly population for all models. Predicted (solid) and observed MI (dashed) for training (a) and test (b) sets.

Download

https://nhess.copernicus.org/articles/22/3015/2022/nhess-22-3015-2022-f10

Figure A4Annually aggregated predictions of MI in the diabetic population for all models. Predicted (solid) and observed MI (dashed) for training (a) and test (b) sets.

Download

https://nhess.copernicus.org/articles/22/3015/2022/nhess-22-3015-2022-f11

Figure A5Annually aggregated predictions of MI in the smoking population for all models. Predicted (solid) and observed MI (dashed) for training (a) and test (b) sets.

Download

https://nhess.copernicus.org/articles/22/3015/2022/nhess-22-3015-2022-f12

Figure A6Feature importance for predicting MI in the general population. Larger values indicate higher importance, and per model the sum over all features equals 1.

Download

https://nhess.copernicus.org/articles/22/3015/2022/nhess-22-3015-2022-f13

Figure A7Feature importance for predicting MI in the general population when the full set of demographic features is used. Where applicable the lag in days (0, 1 or 2) is indicated. Larger values indicate higher importance, and per model the sum over all features equals 1.

Download

https://nhess.copernicus.org/articles/22/3015/2022/nhess-22-3015-2022-f14

Figure A8Feature correlation matrix differentiated by lag in days (0, 1 or 2) and with the full set of demographic features.

Download

https://nhess.copernicus.org/articles/22/3015/2022/nhess-22-3015-2022-f15

Figure A9Monthly mean time series for all air quality features.

Download

Table A1Air quality stations data availability and categories.

Download Print Version | Download XLSX

Table A2Training and test scores on annual basis for the urban population.

Download Print Version | Download XLSX

Table A3Training and test scores on annual basis for the rural population.

Download Print Version | Download XLSX

Table A4Training and test scores on annual basis for the elderly population.

Download Print Version | Download XLSX

Table A5Training and test scores on annual basis for the diabetic population.

Download Print Version | Download XLSX

Table A6Training and test scores on annual basis for the smoker population.

Download Print Version | Download XLSX

Table A7Training and test scores on annual basis for the general population with demographic features turned off.

Download Print Version | Download XLSX

Table A8Daily mean, standard deviation, and minimum and maximum predictions across models for each subgroup.

Download Print Version | Download XLSX

Code and data availability

The data used in this paper are available from third-party sources. The principle MI registry data are available from the KORA dataset and can be applied for at HMGU here: https://helmholtz-muenchen.managed-otrs.com/external (Helmholtz Zentrum München2022). Other data sources (environmental and demographic data) are available from the sources quoted in the paper (Table 3). The code used for the ML models and data pre- and post-processing is available on request from the authors.

Author contributions

LM, WzC and LMB designed the research. LM and MV set up the models, collected the data and did the simulations. LM, MV and LMB analysed the results and wrote the paper. AS, CM, JL and KW provided the KORA MI data. All authors contributed to the interpretation of results, reviewed the paper, approved the final draft and accepted responsibility to submit for publication.

Competing interests

The contact author has declared that none of the authors has any competing interests.

Disclaimer

Publisher's note: Copernicus Publications remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Special issue statement

This article is part of the special issue “Advances in machine learning for natural hazards risk assessment”. It is not associated with a conference.

Acknowledgements

We thank our colleague Gaby Langendijk, Francesco Sera and another anonymous referee for their comments and suggestions that helped to substantially improve this paper. This study is part of the Digital Earth project, supported by the Innovation and Networking Fund of the Helmholtz Association (funding code ZT-0025).

We would like to thank all members of the Helmholtz Zentrum München, Institute of Epidemiology, and the Chair of Epidemiology at the University Hospital of Augsburg who were involved in planning and conducting the study. Steering partners of the MI Registry, Augsburg, include the Chair of Epidemiology at the University Hospital of Augsburg and the Department of Internal Medicine I, Cardiology, University Hospital of Augsburg. Many thanks for their support go to the local health departments, the office-based physicians and the clinicians of the hospitals within the study area. Finally, we express our appreciation to all study participants.

This work was supported by the Helmholtz Zentrum München, German Research Center for Environmental Health, which is funded by the German Federal Ministry of Education, Science, Research and Technology and by the State of Bavaria and the German Federal Ministry of Health. This research also received support from the Faculty of Medicine, University of Augsburg, and the University Hospital of Augsburg, Germany. Since the year 2000, the collection of MI data has been co-financed by the German Federal Ministry of Health to provide population-based MI morbidity data for the official German Health Report (see https://www.gbe-bund.de/gbe/, last access: 4 September 2022).

Financial support

This research has been supported by the Helmholtz-Gemeinschaft (grant no. ZT-0025).

The article processing charges for this open-access publication were covered by the Helmholtz-Zentrum Hereon.

Review statement

This paper was edited by Vitor Silva and reviewed by Francesco Sera and one anonymous referee.

References

Achebak, H., Devolder, D., and Ballester, J.: Trends in temperature-related age-specific and sex-specific mortality from cardiovascular diseases in Spain: a national time-series analysis, Lancet Planet. Health, 3, e297–e306, https://doi.org/10.1016/S2542-5196(19)30090-7, 2019. a

Armstrong, B.: Models for the Relationship Between Ambient Temperature and Daily Mortality, Epidemiology, 17, 624–631, https://doi.org/10.1097/01.ede.0000239732.50999.8f, 2006. a

Ban, N., Caillaud, C., Coppola, E., et al.: The first multi-model ensemble of regional climate simulations at kilometer-scale resolution, part I: evaluation of precipitation, Clim. Dynam., 57, 275–302, https://doi.org/10.1007/s00382-021-05708-w, 2021. a

Bayerische Landesamt für Umwelt: Lufthygienische Landesüberwachungssystem Bayern (LÜB), https://www.lfu.bayern.de/luft/immissionsmessungen/messwertarchiv/index.htm, last access: 4 September 2022a. a, b, c, d, e, f

Bayerisches Landesamt für Statistik: GENESIS Datenbank, https://www.statistikdaten.bayern.de/genesis/online/, last access: 4 September 2022. a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s

Bhaskaran, K., Hajat, S., Haines, A., Herrett, E., Wilkinson, P., and Smeeth, L.: Short term effects of temperature on risk of myocardial infarction in England and Wales: time series regression analysis of the Myocardial Ischaemia National Audit Project (MINAP) registry, Brit. Med. J., 341, c3823, https://doi.org/10.1136/bmj.c3823, 2010. a

Bhaskaran, K., Armstrong, B., Hajat, S., Haines, A., Wilkinson, P., and Smeeth, L.: Heat and risk of myocardial infarction: hourly level case-crossover analysis of MINAP database, Brit. Med. J., 345, e8050, https://doi.org/10.1136/bmj.e8050, 2012. a

Bourdrel, T., Bind, M.-A., Béjot, Y., Morel, O., and Argacha, J.-F.: Cardiovascular effects of air pollution, Arch. Cardiovascul. Diseas., 110, 634–642, https://doi.org/10.1016/j.acvd.2017.05.003, 2017. a

Breitner, S., Wolf, K., Devlin, R. B., Diaz-Sanchez, D., Peters, A., and Schneider, A.: Short-term effects of air temperature on mortality and effect modification by air pollution in three cities of Bavaria, Germany: A time-series analysis, Sci. Total Environ., 485-486, 49–61, https://doi.org/10.1016/j.scitotenv.2014.03.048, 2014. a

Cesaroni, G., Forastiere, F., Stafoggia, M., Andersen, Z. J., Badaloni, C., Beelen, R., Caracciolo, B., de Faire, U., Erbel, R., Eriksen, K. T., Fratiglioni, L., Galassi, C., Hampel, R., Heier, M., Hennig, F., Hilding, A., Hoffmann, B., Houthuijs, D., Jöckel, K.-H., Korek, M., Lanki, T., Leander, K., Magnusson, P. K. E., Migliore, E., Ostenson, C.-G., Overvad, K., Pedersen, N. L., Pekkanen J., J., Penell, J., Pershagen, G., Pyko, A., Raaschou-Nielsen, O., Ranzi, A., Ricceri, F., Sacerdote, C., Salomaa, V., Swart, W., Turunen, A. W., Vineis, P., Weinmayr, G., Wolf, K., de Hoogh, K., Hoek, G., Brunekreef, B., and Peters, A.: Long term exposure to ambient air pollution and incidence of acute coronary events: prospective cohort study and meta-analysis in 11 European cohorts from the ESCAPE Project, Brit. Med. J., 348, f7412, https://doi.org/10.1136/bmj.f7412, 2014. a

CGLS – Copernicus Global Land Service: NDVI 1 km V2.2 Global, https://land.copernicus.vgt.vito.be/geonetwork/srv/eng/catalog.search#/metadata/urn:cgls:global:ndvi_v2_1km (last access: 4 September 2022), 2022. a, b

Chen, K., Wolf, K., Breitner, S., Gasparrini, A., Stafoggia, M., Samoli, E., Andersen, Z. J., Bero-Bedada, G., Bellander, T., Hennig, F., Jacquemin, B., Pekkanen, J., Hampel, R., Cyrys, J., Peters, A., and Schneider, A.: Two-way effect modifications of air pollution and air temperature on total natural and cardiovascular mortality in eight European urban areas, Environ, Int,, 116, 186–196, https://doi.org/10.1016/j.envint.2018.04.021, 2018. a, b

Chen, K., Breitner, S., Wolf, K., Hampel, R., Meisinger, C., Heier, M., von Scheidt, W., Kuch, B., Peters, A., Schneider, A., Peters, A., Schulz, H., Schwettmann, L., Leidl, R., Heier, M., and Strauch, K.: Temporal variations in the triggering of myocardial infarction by air temperature in Augsburg, Germany, 1987–2014, Eur. Heart J., 40, 1600–1608, https://doi.org/10.1093/eurheartj/ehz116, 2019. a, b

Commandeur, F., Slomka, P. J., Goeller, M., Chen, X., Cadet, S., Razipour, A., McElhinney, P., Gransar, H., Cantu, S., Miller, R. J. H., Rozanski, A., Achenbach, S., Tamarappoo, B. K., Berman, D. S., and Dey, D.: Machine learning to predict the long-term risk of myocardial infarction and cardiac death based on clinical risk, coronary calcium, and epicardial adipose tissue: a prospective study, Cardiovascul. Res., 116, 2216–2225, https://doi.org/10.1093/cvr/cvz321, 2020. a

Crameri, F., Shephard, G. E., and Heron, P. J.: The misuse of colour in science communication, Natl. Commun., 11, 5444, https://doi.org/10.1038/s41467-020-19160-7, 2020. a

Davis, R. E., McGregor, G. R., and Enfield, K. B.: Humidity: A review and primer on atmospheric moisture and human health, Environ. Res., 144, 106–116, https://doi.org/10.1016/j.envres.2015.10.014, 2016. a, b

DWD – Deutscher Wetterdienst: DWD Open Data Server, https://opendata.dwd.de/, last access: 4 September 2022. a, b, c, d

Feng, H., Zhao, X., Chen, F., and Wu, L.: Using land use change trajectories to quantify the effects of urbanization on urban heat island, Adv. Space Res., 53, 463–473, https://doi.org/10.1016/j.asr.2013.11.028, 2014. a

Gabriel, K. M. A. and Endlicher, W. R.: Urban and rural mortality rates during heat waves in Berlin and Brandenburg, Germany, Environ. Pollut., 159, 2044–2050, https://doi.org/10.1016/j.envpol.2011.01.016, 2011. a

Havenith, G.: Temperature Regulation, Heat Balance and Climatic Stress, in: Extreme Weather Events and Public Health Responses, edited by: Kirch, W., Bertollini, R., and Menne, B., Springer, Berlin, Heidelberg, 69–80, https://doi.org/10.1007/3-540-28862-7_7, 2005. a

Hawkins, E. and Sutton, R.: The potential to narrow uncertainty in projections of regional precipitation change, Clim. Dynam., 37, 407–418, https://doi.org/10.1007/s00382-010-0810-6, 2011. a

Helmholtz Zentrum München: KORA Datenbank (KORA.PASST), https://helmholtz-muenchen.managed-otrs.com/external, last access: 4 September 2022. a, b

Holle, R., Happich, M., Löwel, H., and Wichmann, H.: KORA – A Research Platform for Population Based Health Research, Gesundheitswesen, 67, 19–25, https://doi.org/10.1055/s-2005-858235, 2005. a

Jacob, D., Petersen, J., Eggert, B., Alias, A., Christensen, O. B., Bouwer, L. M., Braun, A., Colette, A., Déqué, M., Georgievski, G., Georgopoulou, E., Gobiet, A., Menut, L., Nikulin, G., Haensler, A., Hempelmann, N., Jones, C., Keuler, K., Kovats, S., Kröner, N., Kotlarski, S., Kriegsmann, A., Martin, E., van Meijgaard, E., Moseley, C., Pfeifer, S., Preuschmann, S., Radermacher, C., Radtke, K., Rechid, D., Rounsevell, M., Samuelsson, P., Somot, S., Soussana, J.-F., Teichmann, C., Valentini, R., Vautard, R., Weber, B., and Yiou, P.: EURO-CORDEX: new high-resolution climate change projections for European impact research, Reg. Environ. Change, 14, 563–578, https://doi.org/10.1007/s10113-013-0499-2, 2014. a

Jacob, D., Teichmann, C., Sobolowski, S., Katragkou, E., Anders, I., Belda, M., Benestad, R., Boberg, F., Buonomo, E., Cardoso, R. M., Casanueva, A., Christensen, O. B., Christensen, J. H., Coppola, E., De Cruz, L., Davin, E. L., Dobler, A., Domínguez, M., Fealy, R., Fernandez, J., Gaertner, M. A., García-Díez, M., Giorgi, F., Gobiet, A., Goergen, K., Gómez-Navarro, J. J., Alemán, J. J. G., Gutiérrez, C., Gutiérrez, J. M., Güttler, I., Haensler, A., Halenka, T., Jerez, S., Jiménez-Guerrero, P., Jones, R. G., Keuler, K., Kjellström, E., Knist, S., Kotlarski, S., Maraun, D., van Meijgaard, E., Mercogliano, P., Montávez, J. P., Navarra, A., Nikulin, G., de Noblet-Ducoudré, N., Panitz, H.-J., Pfeifer, S., Piazza, M., Pichelli, E., Pietikäinen, J.-P., Prein, A. F., Preuschmann, S., Rechid, D., Rockel, B., Romera, R., Sánchez, E., Sieck, K., Soares, P. M. M., Somot, S., Srnec, L., Sørland, S. L., Termonia, P., Truhetz, H., Vautard, R., Warrach-Sagi, K., and Wulfmeyer, V.: Regional climate downscaling over Europe: perspectives from the EURO-CORDEX community, Reg. Environ. Change, 20, 51, https://doi.org/10.1007/s10113-020-01606-9, 2020. a

Khraishah, H., Alahmad, B., Ostergard, R. L., AlAshqar, A., Albaghdadi, M., Vellanki, N., Chowdhury, M. M., Al-Kindi, S. G., Zanobetti, A., Gasparrini, A., and Rajagopalan, S.: Climate change and cardiovascular disease: implications for global health, Nature Reviews Cardiology, Nature Publishing Group, 1–15, https://doi.org/10.1038/s41569-022-00720-x, 2022. a

Laverty, A. A., Goodman, A., and Aldred, R.: Low traffic neighbourhoods and population health, Brit. Med. J., 372, n443, https://doi.org/10.1136/bmj.n443, 2021. a

Madrigano, J., Mittleman, M. A., Baccarelli, A., Goldberg, R., Melly, S., von Klot, S., and Schwartz, J.: Temperature, myocardial infarction, and mortality: effect modification by individual- and area-level characteristics, Epidemiology, 24, 439–446, https://doi.org/10.1097/EDE.0b013e3182878397, 2013. a

Merz, B., Kreibich, H., and Lall, U.: Multi-variate flood damage assessment: a tree-based data-mining approach, Nat. Hazards Earth Syst. Sci., 13, 53–64, https://doi.org/10.5194/nhess-13-53-2013, 2013. a

Mustafić, H., Jabre, P., Caussin, C., Murad, M. H., Escolano, S., Tafflet, M., Périer, M.-C., Marijon, E., Vernerey, D., Empana, J.-P., and Jouven, X.: Main Air Pollutants and Myocardial Infarction: A Systematic Review and Meta-analysis, JAMA-J. Am. Med. Assoc., 307, 713–721, https://doi.org/10.1001/jama.2012.126, 2012. a, b

Pedregosa, F., Varoquaux, G., Gramfort, A., Michel, V., Thirion, B., Grisel, O., Blondel, M., Prettenhofer, P., Weiss, R., Dubourg, V., Vanderplas, J., Passos, A., Cournapeau, D., Brucher, M., Perrot, M., and Duchesnay, E.: Scikit-learn: Machine Learning in Python, J. Mach. Learn. Res., 12, 2825–2830, 2011. a

Pedregosa, F., Varoquaux, G., Gramfort, A., Michel, V., Thirion, B., Grisel, O., Blondel, M., Prettenhofer, P., Weiss, R., Dubourg, V., Vanderplas, J., Passos, A., Cournapeau, D., Brucher, M., Perrot, M., and Duchesnay, E.: Scikit-learn: software repository, https://scikit-learn.org/stable/, last access: 4 September 2022. a

Peters, A., von Klot, S., Heier, M., Trentinaglia, I., Hörmann, A., Wichmann, H. E., Löwel, H., and Cooperative Health Research in the Region of Augsburg Study Group: Exposure to traffic and the onset of myocardial infarction, N. Engl. J. Med., 351, 1721–1730, https://doi.org/10.1056/NEJMoa040203, 2004. a

Rai, M., Breitner, S., Wolf, K., Peters, A., Schneider, A., and Chen, K.: Impact of climate and population change on temperature-related mortality burden in Bavaria, Germany, Environ. Res. Lett., 14, 124080, https://doi.org/10.1088/1748-9326/ab5ca6, 2019. a

Rajagopalan, S., Al-Kindi, S. G., and Brook, R. D.: Air Pollution and Cardiovascular Disease: JACC State-of-the-Art Review, J. Am. College Cardiol., 72, 2054–2070, https://doi.org/10.1016/j.jacc.2018.07.099, 2018. a

Reichstein, M., Camps-Valls, G., Stevens, B., Jung, M., Denzler, J., Carvalhais, N., and Prabhat: Deep learning and process understanding for data-driven Earth system science, Nature, 566, 195–204, https://doi.org/10.1038/s41586-019-0912-1, 2019. a

Roth, G. A.: Global Burden of Cardiovascular Diseases and Risk Factors, 1990–2019, J. Am. Coll. Cardiol., 76, 2982-–3021, 2020. a

Schmidt, S., Hendricks, V., Griebenow, R., and Riedel, R.: Demographic change and its impact on the health-care budget for heart failure inpatients in Germany during 1995–2025, Herz, 38, 862–867, https://doi.org/10.1007/s00059-013-3955-3, 2013. a

Schwartz, J., Samet, J. M., and Patz, J. A.: Hospital Admissions for Heart Disease: The Effects of Temperature and Humidity, Epidemiology, 15, 755–761, https://doi.org/10.1097/01.ede.0000134875.15919.0f, 2004. a, b

Sewe, M. O., Tozan, Y., Ahlm, C., and Rocklöv, J.: Using remote sensing environmental data to forecast malaria incidence at a rural district hospital in Western Kenya, Scient. Rep., 7, 2589, https://doi.org/10.1038/s41598-017-02560-z, 2017. a, b

Sieck, K., Nam, C., Bouwer, L. M., Rechid, D., and Jacob, D.: Weather extremes over Europe under 1.5 and 2.0 C global warming from HAPPI regional climate ensemble simulations, Earth Syst. Dynam., 12, 457–468, https://doi.org/10.5194/esd-12-457-2021, 2021. a

Statistisches Bundesamt: 14. Koordinierte Bevölkerungsvorausberechnung – Basis 2018, https://www.destatis.de/DE/Themen/Gesellschaft-Umwelt/Bevoelkerung/Bevoelkerungsvorausberechnung/aktualisierung-bevoelkerungsvorausberechnung.html, last access: 4 September 2022. a

Sun, Z., Chen, C., Xu, D., and Li, T.: Effects of ambient temperature on myocardial infarction: A systematic review and meta-analysis, Environ. Pollut., 241, 1106–1114, https://doi.org/10.1016/j.envpol.2018.06.045, 2018. a, b

Tamarappoo, B. K., Lin, A., Commandeur, F., McElhinney, P. A., Cadet, S., Goeller, M., Razipour, A., Chen, X., Gransar, H., Cantu, S., Miller, R. J., Achenbach, S., Friedman, J., Hayes, S., Thomson, L., Wong, N. D., Rozanski, A., Slomka, P. J., Berman, D. S., and Dey, D.: Machine learning integration of circulating and imaging biomarkers for explainable patient-specific prediction of cardiac events: A prospective study, Atherosclerosis, 318, 76–82, https://doi.org/10.1016/j.atherosclerosis.2020.11.008, 2021. a

The Eurowinter Group: Cold exposure and winter mortality from ischaemic heart disease, cerebrovascular disease, respiratory disease, and all causes in warm and cold regions of Europe, Lancet, 349, 1341–1346, https://doi.org/10.1016/S0140-6736(96)12338-2, 1997. a

Tunstall-Pedoe, H., Kuulasmaa, K., Amouyel, P., Arveiler, D., Rajakangas, A. M., and Pajak, A.: Myocardial infarction and coronary deaths in the World Health Organization MONICA Project. Registration procedures, event rates, and case-fatality rates in 38 populations from 21 countries in four continents, Circulation, 90, 583–612, https://doi.org/10.1161/01.CIR.90.1.583, 1994. a

Turnock, S. T., Allen, R. J., Andrews, M., Bauer, S. E., Deushi, M., Emmons, L., Good, P., Horowitz, L., John, J. G., Michou, M., Nabat, P., Naik, V., Neubauer, D., O'Connor, F. M., Olivié, D., Oshima, N., Schulz, M., Sellar, A., Shim, S., Takemura, T., Tilmes, S., Tsigaridis, K., Wu, T., and Zhang, J.: Historical and future changes in air pollutants from CMIP6 models, Atmos. Chem. Phys., 20, 14547–14579, https://doi.org/10.5194/acp-20-14547-2020, 2020. a

Vanos, J. K., Baldwin, J. W., Jay, O., and Ebi, K. L.: Simplicity lacks robustness when projecting heat-health outcomes in a changing climate, Nat. Commun., 11, 6079, https://doi.org/10.1038/s41467-020-19994-1, 2020. a

Vos, T., Allen, C., Arora, M., et al.: Global, regional, and national incidence, prevalence, and years lived with disability for 310 diseases and injuries, 1990–2015: a systematic analysis for the Global Burden of Disease Study 2015, Lancet, 388, 1545–1602, https://doi.org/10.1016/S0140-6736(16)31678-6, 2016. a

Wagenaar, D., de Jong, J., and Bouwer, L. M.: Multi-variable flood damage modelling with limited data using supervised learning approaches, Nat. Hazards Earth Syst. Sci., 17, 1683–1696, https://doi.org/10.5194/nhess-17-1683-2017, 2017. a

Wagenaar, D., Hermawan, T., Homberg, M. J. C., Aerts, J. C. J. H., Kreibich, H., Moel, H., and Bouwer, L. M.: Improved Transferability of Data-Driven Damage Models Through Sample Selection Bias Correction, Risk Anal., 41, 37–55, https://doi.org/10.1111/risa.13575, 2021. a

Wolf, K., Schneider, A., Breitner, S., von Klot, S., Meisinger, C., Cyrys, J., Hymer, H., Wichmann, H. E., and Peters, A.: Air Temperature and the Occurrence of Myocardial Infarction in Augsburg, Germany, Circulation, 120, 735–742, https://doi.org/10.1161/CIRCULATIONAHA.108.815860, 2009. a, b

Wolf, K., Hoffmann, B., Andersen, Z. J., Atkinson, R. W., Bauwelinck, M., Bellander, T., Brandt, J., Brunekreef, B., Cesaroni, G., Chen, J., Faire, U. D., Hoogh, K. D., Fecht, D., Forastiere, F., Gulliver, J., Hertel, O., Hvidtfeldt, U. A., Janssen, N. A. H., Jørgensen, J. T., Katsouyanni, K., Ketzel, M., Klompmaker, J. O., Lager, A., Liu, S., MacDonald, C. J., Magnusson, P. K. E., Mehta, A. J., Nagel, G., Oftedal, B., Pedersen, N. L., Pershagen, G., Raaschou-Nielsen, O., Renzi, M., Rizzuto, D., Rodopoulou, S., Samoli, E., v. d. Schouw, Y. T., Schramm, S., Schwarze, P., Sigsgaard, T., Sørensen, M., Stafoggia, M., Strak, M., Tjønneland, A., Verschuren, W. M. M., Vienneau, D., Weinmayr, G., Hoek, G., Peters, A., and Ljungman, P. L. S.: Long-term exposure to low-level ambient air pollution and incidence of stroke and coronary heart disease: a pooled analysis of six European cohorts within the ELAPSE project, Lancet Planet. Health, 5, e620–e632, https://doi.org/10.1016/S2542-5196(21)00195-9, 2021. a

Zhang, D.-L., Shou, Y.-X., and Dickerson, R. R.: Upstream urbanization exacerbates urban heat island effects, Geophys. Res. Lett., 36, L24401, https://doi.org/10.1029/2009GL041082, 2009. a, b

Zhang, K., Li, Y., Schwartz, J. D., and O'Neill, M. S.: What weather variables are important in predicting heat-related mortality? A new application of statistical learning methods, Environ. Res., 132, 350–359, https://doi.org/10.1016/j.envres.2014.04.004, 2014. a

Zinszer, K., Verma, A. D., Charland, K., Brewer, T. F., Brownstein, J. S., Sun, Z., and Buckeridge, D. L.: A scoping review of malaria forecasting: past work and future directions, Brit. Med. J. Open, 2, e001992, https://doi.org/10.1136/bmjopen-2012-001992, 2012. a

Download
Short summary
Myocardial infarctions (MIs; heart attacks) are influenced by temperature extremes, air pollution, lack of green spaces and ageing population. Here, we apply machine learning (ML) models in order to estimate the influence of various environmental and demographic risk factors. The resulting ML models can accurately reproduce observed annual variability in MI and inter-annual trends. The models allow quantification of the importance of individual factors and can be used to project future risk.
Altmetrics
Final-revised paper
Preprint