# Use of artificial intelligence for public health surveillance

Romana Haneef, Sofiane Kab, Rok Hrzic, Sonsoles Fuentes, Sandrine

Fosse-Edorh, Emmanuel Cosson, Anne Gallay

► To cite this version:

Romana Haneef, Sofiane Kab, Rok Hrzic, Sonsoles Fuentes, Sandrine Fosse-Edorh, et al. Use of artificial intelligence for public health surveillance: a case study to develop a machine Learning-algorithm to estimate the incidence of diabetes mellitus in France. Archives of Public Health, 2021, 79 (1), pp.168. 10.1186/s13690-021-00687-0. hal-03598304

HAL Id: hal-03598304

https://hal.science/hal-03598304

Submitted on 2 Jun 2022

HAL is a multi-disciplinary open access
archive for the deposit and dissemination of sci-
entific research documents, whether they are pub-
lished or not. The documents may come from
teaching and research institutions in France or
abroad, or from public or private research centers.

L'archive ouverte pluridisciplinaire HAL, est
destinée au dépôt et à la diffusion de documents
scientifiques de niveau recherche, publiés ou non,
émanant des établissements d'enseignement et de
recherche français ou étrangers, des laboratoires
publics ou privés.

<figure><img src="image_1.png" /></figure>
<figure><img src="image_2.png" /></figure>

# Use of artificial intelligence for public health surveillance: a case study to develop a machine Learning-algorithm to estimate the incidence of diabetes mellitus in France

Romana Haneef<fnref n="1" />*, Sofiane Kab²†, Rok Hrzic³†, Sonsoles Fuentes<fnref n="1" />, Sandrine Fosse-Edorh<fnref n="1" />, Emmanuel Cosson⁴,⁵ and Anne Gallay<fnref n="1" />

## Abstract

**Background:** The use of machine learning techniques is increasing in healthcare which allows to estimate and predict health outcomes from large administrative data sets more efficiently. The main objective of this study was to develop a generic machine learning (ML) algorithm to estimate the incidence of diabetes based on the number of reimbursements over the last 2 years.

**Methods:** We selected a final data set from a population-based epidemiological cohort (i.e., CONSTANCES) linked with French National Health Database (i.e., SNDS). To develop this algorithm, we adopted a supervised ML approach. Following steps were performed: i. selection of final data set, ii. target definition, iii. Coding variables for a given window of time, iv. split final data into training and test data sets, v. variables selection, vi. training model, vii. Validation of model with test data set and viii. Selection of the model. We used the area under the receiver operating characteristic curve (AUC) to select the best algorithm.

**Results:** The final data set used to develop the algorithm included 44,659 participants from CONSTANCES. Out of 3468 variables from SNDS linked to CONSTANCES cohort were coded, 23 variables were selected to train different algorithms. The final algorithm to estimate the incidence of diabetes was a Linear Discriminant Analysis model based on number of reimbursements of selected variables related to biological tests, drugs, medical acts and hospitalization without a procedure over the last 2 years. This algorithm has a sensitivity of 62%, a specificity of 67% and an accuracy of 67% [95% CI: 0.66–0.68].

<footnote>* Correspondence: Romana.HANEEF@santepubliquefrance.fr</footnote>

<footnote>† Sofiane Kab and Rok Hrzic contributed equally as a second author.</footnote>

<footnote n="1">¹Department of Non-Communicable Diseases and Injuries, Santé Publique France, 12 rue du Val d'Onse, 94415 Saint-Maurice, France
Full list of author information is available at the end of the article</footnote>
**Conclusions:** Supervised ML is an innovative tool for the development of new methods to exploit large health administrative databases. In context of InfAct project, we have developed and applied the first time a generic ML-algorithm to estimate the incidence of diabetes for public health surveillance. The ML-algorithm we have developed, has a moderate performance. The next step is to apply this algorithm on SNDS to estimate the incidence of type 2 diabetes cases. More research is needed to apply various MLTs to estimate the incidence of various health conditions.

**Keywords:** Artificial intelligence, Machine learning technique, Supervise learning, Health indicator, Incidence, Diabetes mellitus, Electronic health records and public health surveillance

## Background

The availability of administrative data generated from different sources is increasing and the possibility to link these data sources with other databases offers unique opportunity to answer those research questions, which require a large sample size or detailed data on hard-to-reach population [1]. French National Health Data System (i.e., SNDS [Système National de Données Santé]) is an example of a big data/large administrative linked data set, which is used for public health surveillance in France [2]. It includes most updated, individual level health information about health insurance claims, hospital discharge and mortality of whole French population (i.e., 66 million people) [2]. However, the estimation of health indicators from linked administrative data is challenging due to several reasons such as variability in data sources and data collection methods, availability of a large number of variables, lack of skills and capacity to analyze big data [3]. More efficient ways of analyzing health information using big data across European countries are required. In that context, the use of artificial intelligence (AI) is increasing in healthcare. Indeed AI allows to handle data with a large number of dimensions (features) and units (feature vectors) efficiently with a high precision. AI techniques offer benefits in estimation of health indicators both at individual and population levels (i.e., improving social and health policy process). Machine learning (ML) is an application of AI that provides systems the ability to learn automatically and improve from experience without being explicitly programmed [4]. Supervised learning algorithms build on a mathematical model of a set of data that contains both the inputs and the desired outputs [5]. This approach is based on the prior knowledge of what the output values for a given sample should be [6]. ML techniques have been applied for the diagnosis of certain conditions as well as outcome prediction and prognosis evaluation with high precision [7-9].

This study was carried out under the InfAct (Information for Action) project [10], which is a joint action of Member States aiming to develop a more sustainable European health information system through improving the availability of comparable, robust and policy-relevant health status data and health system performance

information. InfAct gathers 40 national health authorities from 28 Member States. This study is part of a work package (WP9) focused on innovation in health information system (i.e., using data linkages and/or AI) to improve public health surveillance and health system performance for health policy process. As a first step, we have explored the current usage of these innovative techniques (i.e., data linkages and/or AI) in European countries and very few countries apply AI to estimate health indicators in their public health activities [11]. Therefore, the next step was to develop a generic approach by applying these innovative techniques to estimate the health indicators of chronic conditions for improved surveillance.

We used diabetes as a case study due to several reasons. First, it is one of the leading cause of morbidity in the world [12] and its prevalence is increasing among all ages in the European region, mostly due to increase in overweight and obesity, unhealthy diet and physical inactivity [13]. Second, a training data set using CONSTANCES cohort was already developed and used to answer various research questions for diabetes. Third, as this study is part of the InfAct project with a limited period to be completed. Fourth, estimation of incidence of diabetes cases is important to develop the prevention strategies to reduce its burden. For example, promoting healthy diet and physical activity in daily life could reduce the risk of developing diabetes 2.

The main objective of this study was to develop for the first time a generic ML-algorithm to estimate the incidence of diabetes based on the number of reimbursements over the last 2 years, excluding the anti-diabetes drugs as predictors and focused on non-diabetic participants over the last 2 years.

## Method

### Development of the ML-algorithm

To develop ML-algorithm, we adopted a supervised ML approach using R-software (R × 64 3.6.3) and used following key libraries: caret 6.0-86, AppliedPredictiveModeling 1.1-7, CORElearn 1.54.2, C50 0.1.3.1, and xgboost 1.3.2.1. Following steps were performed: i. selection of final data set, ii. target definition, iii. Coding of
variables for a given window of time, iv. split final data into training and test data sets, v. variables selection, vi. training model, vii. Validation of model with test data set and viii. Selection of the model.

### i. Selection of final data set

We selected a final data set from a population-based epidemiological cohort (i.e., CONSTANCES) to develop an algorithm to estimate the incidence of diabetes. The participants were recruited by CONSTANCES between January 1, 2012, and December 31, 2014. This cohort comprises after final completion a national representative randomly selected sample of 50,954 aged between 18 and 69 years (inclusive) and living in France [14, 15]. The participants are randomly selected from the beneficiaries of the National Health Insurance Fund (i.e. CNAM [Caisse Nationale d'Assurance Maladie]). In this cohort, data are collected using a self-administered questionnaire (SAQ) and a medical questionnaire (MQ) and were used to define the known diabetes cases and pharmacologically-treated diabetes [16]. For known diabetes cases, in the SAQ, participants reported to have diabetes through the item: "Have you ever been told by a doctor or other health care professional that you had diabetes?" In the medical questionnaire, completed during the medical examination, the physician asked each participant if they had diabetes. For the pharmacologically-treated diabetes, two questions in the medical questionnaire were related to diabetes treatment: "Are you currently being treated for diabetes with oral medication?" And "Are you currently being treated for diabetes with one or more insulin injections?" [16].

After fulfilling a SAQ on health status, life style factors, socioeconomic and demographic characteristics, the participants attend to their related health screening center for a medical examination which includes: medical questionnaire, physical examination and blood sampling. This information previously collected was linked with the French National Health Data System (i.e., SNDS). We excluded women who declared being already diagnosed of gestational diabetes mellitus, pregnant women, no data on participants in SNDS, incomplete data in SAQ/MQ, incomplete data on age of diabetes diagnosis, diabetes cases who were declared before 12 months of SAQ/MQ and all participants with antidiabetic drug reimbursement between 12 and 36 months before SAQ/MQ. Moreover, we considered gestational diabetes as a special group and excluded these women due to their different physiopathology. Some may develop the diabetes earlier or later due to hormonal disturbance. To predict the incidence of diabetes among these women required specific case definitions.

### ii. Target definition

The target definition includes the participants who declared diabetes in CONSTANCES cohort (first occurrence ≤12 months) with the first antidiabetic drug reimbursement between 0 and 12 months before inclusion. The diabetes status at inclusion (M0: inclusion in CONSTANCES) was defined according to CONSTANCES as described above. The linkage with the French National Health Data System (i.e., SNDS) allowed recording all antidiabetic drug reimbursement between 0 and 36 months before inclusion (SAQ/MQ).

Participants without declared diabetes (CONSTANCES SAQ/MQ) and/or antidiabetic drug reimbursement between 0 and 36 months before inclusion were defined as non-diabetes cases (target 0). Participants who declared diabetes in CONSTANCES SAQ/MQ (first occurrence ≤12 months) with the first antidiabetic drug reimbursement ≤12 months before inclusion were defined as incident cases (target 1). These diabetes cases included both type 1 and 2. Participants with antidiabetic drug reimbursement between 12 and 36 months before inclusion or declared diabetes (first occurrence > 12 months) were excluded (see Fig. 1). We excluded these participants to avoid the potential influence of anti-diabetes drugs on the estimation of incidence of diabetes (not true incident cases).

### iii. Coding of variables for a given window of time

In CONSTANCES, we only coded those variables, which were also available in the SNDS to apply the potential ML-algorithm on SNDS to estimate the incidence of diabetes. A total of 3483 continuous variables were coded and standardized using the z-score transformation (for each data point, we subtracted the mean and divided with the standard deviation) over the last 24 months before the date of SAQ. The rational to have a time window of 24 months before the SAQ was to provide a long duration to study changes in diagnostic procedures, hospitalizations and drug consumption that allows to estimate the incidence of diabetes with high accuracy. Following were the main categories of variables: number of medical consultations (50 variables), drug dispensed coded using the 5th level of the Anatomical Therapeutic code [ATC 05] (461 variables), biological test (747 variables), medical acts (i.e., X-ray, surgery, etc.) (2135 variables), all hospitalizations (5 variables), hospitalizations with a procedure (i.e., dialysis, radiotherapy, etc.) (5 variables), hospitalizations without a procedure (5 variables), hospitalizations related to following associated health conditions: diabetes, heart failure, stroke, heart attack, foot ulcer, lower limb amputation, ischemic heart disease, transient ischemic attack, end-stage renal failure, diabetic coma, diabetic ketoacidosis and cancer (75 variables).
<figure><img src="image_3.png" /></figure>

iv. Split final data set into training and test data sets

The final data set was randomly split into 80% as a training data set and 20% as test data set. There was a significant imbalance of number of positive target (i.e., target 1 = diabetes treated cases) over the number of negative target (i.e., target 0 = non-diabetes cases) in the training dataset. To avoid the bias in ML-algorithm and skew in class distribution, we performed a random down sampling in the training data set in target 0 group to achieve the same number of individuals in both target groups. This includes 35,728 participants where target 0 includes 35,663 participants and target 1 includes 65. Random down sampling was performed on target 0 until to achieve the same number of target 1 i.e., 65.

The selection of variables and the model was performed using the training data. The test data was used solely to test the final model performance.

v. Variables selection

First, we removed all variables with a variance equal to zero and then the ReliefF exp. score was estimated, based on the relevance of each variable, to differentiate between target 1 and target 0. The ReliefF expRank method is noise tolerant and is not affected by features interactions [17–19]. All the variables were ranked according to the ReliefF exp. score. For continuous variables, the score values range from 0 to 1 [18]. The cutoff score was 0.01 and was selected based on the visual inspection of the ordered plot of ReliefF values for all variables, called “elbow plot” approach. The variables that

had a ReliefF exp. score equal or more than 0.01 were included to train different models and the variables less than 0.01 were excluded.

Steps vi to viii model selection and validation of the model with test data set

The four following models [i.e., 1. Linear discriminant analysis (LDA), 2. Logistic regression (LR), 3. Flexible discriminant analysis (FDA) and 4. Decision tree model (C5)] were applied to the training data set. We also fit three boosted algorithms (1. Boosted logistic regression, 2. Boosted C5, and 3. XGBoost), to test whether these more computationally intensive algorithms can perform significantly better than the more standard four models. The AUC is the most commonly used evaluation/performance metric in machine learning studies and measure the ability of a classifier to distinguish between classes. We used the area under the receiver operating characteristic curve (AUC) in both the cross-validation steps and the best (final) algorithm. For each model, we compared the performance in terms of AUC. We used five-fold cross-validation repeated three times to fit each model in the training stage. After that, the models' performances were assessed using the testing data set. We calculated the mean distributions of variables to highlight each predictor, the relative difference in the two predicted groups (diabetic, non-diabetic), for example the mean of age was 56.70 y for the predicted diabetics and 43.69 y for non-diabetics.
## Sensitivity analysis

Unbalanced training data set can skew the class distribution that may affect the performance of the machine learning algorithm. To address this issue, random resampling was applied to balance the training data set and to avoid the bias estimation. We applied two following techniques: 1. over sampling is the random repeated sampling from the minority class (positive target: diabetes cases) that artificially inflates its prevalence and 2. Down sampling is the random repeated sampling from the majority class (negative target: non-diabetes cases) that artificially reduces its prevalence. The sensitivity analysis was performed for over and down sampling approaches on the test data set. Then, we automated the model selection process by giving the computer a specific metric including sensitivity, specificity, positive

predictive value, negative predictive value and kappa. Finally, a single model was retained based on its performance and its transferability to other databases.

## Results

### Final data set

The final data set to develop the algorithm included 44,659 participants, with 81 incident diabetes cases (target 1) and 44,578 participants without diabetes (target 0) (Fig. 2). The general characteristics of the final data set is described in Table 1. The incident diabetes group was included older, with a higher percentage of men, treated hypertension and dyslipidemia, former smokers, a higher body mass index and a family history of diagnosed diabetes as compared to non-diabetes group.

<figure><img src="image_4.png" /><figcaption>**Fig. 2** Flow chart for the selection of the final data set from CONSTANCES Cohort, "A case study performed in 2019-20 to develop a Machine Learning-algorithm to estimate the incidence of Diabetes Mellitus in France". *SAQ = Self-administered Questionnaire. MQ = Medical Questionnaire</figcaption></figure>
<table><caption>**Table 1** General characteristics of final data set (i.e., study population). “A case study performed in 2019-20 to develop a Machine Learning-algorithm to estimate the incidence of Diabetes Mellitus in France”</caption><thead><tr><th rowspan="2">Study Population</th><th rowspan="2">Total<br>(N = 44,659)</th><th colspan="2">N = 44,659</th></tr><tr><th>Target 0 (Non-diabetes cases = 44,578)</th><th>Target 1 (Incident diabetes cases = 81)</th></tr></thead><tbody><tr><td>Age in years, mean (±SD)</td><td>47.8, ±13.2</td><td>47.8, ±13.2</td><td>57.0, ±8.2</td></tr><tr><td>Gender, men % (n)</td><td>46.9 (20946)</td><td>46.9 (20896)</td><td>61.7 (50)</td></tr><tr><td>Smoking status, % (n)</td><td></td><td></td><td></td></tr><tr><td>Never smoked</td><td>43.2 (19296)</td><td>43.2 (19271)</td><td>30.9 (25)</td></tr><tr><td>Former smoker</td><td>33.1 (14772)</td><td>33.1 (14741)</td><td>38.3 (31)</td></tr><tr><td>Current smoker</td><td>18.6 (8320)</td><td>18.6 (8307)</td><td>16.0 (13)</td></tr><tr><td>Missing</td><td>5.1 (2271)</td><td>5.1 (2259)</td><td>14.8 (12)</td></tr><tr><td>Body mass index, kg/m² (mean, ±SD), (n)</td><td>25.0, ±4.4 (43668)</td><td>25.0, ±4.4 (43588)</td><td>31.8, ±6.0 (80)</td></tr><tr><td>Treated hypertension, yes, % (n)</td><td>11.3 (5031)</td><td>11.2 (4996)</td><td>43.2 (35)</td></tr><tr><td>Treated dyslipidemia, yes, % (n)</td><td>8.1 (3635)</td><td>8.1 (3609)</td><td>32.1 (26)</td></tr><tr><td>Mother/father diagnosed with diabetes, yes, % (n)</td><td>15.1 (6764)</td><td>15.1 (6730)</td><td>42.0 (34)</td></tr><tr><td>Education<sup>a</sup> % (n)</td><td></td><td></td><td></td></tr><tr><td>No education - primary education</td><td>3.1 (1374)</td><td>3.1 (1366)</td><td>9.9 (8)</td></tr><tr><td>Lower secondary education</td><td>6.9 (3060)</td><td>6.8 (3042)</td><td>22.2 (18)</td></tr><tr><td>Upper secondary education</td><td>33.5 (14942)</td><td>33.4 (14911)</td><td>38.3 (31)</td></tr><tr><td>Lower tertiary education</td><td>33.0 (14728)</td><td>33.0 (14714)</td><td>17.3 (14)</td></tr><tr><td>Upper tertiary education</td><td>21.7 (9709)</td><td>21.8 (9699)</td><td>12.3 (10)</td></tr><tr><td>Missing or other category</td><td>1.9 (846)</td><td>1.9 (846)</td><td>0 (.)</td></tr><tr><td>Geographical origin, % (n)</td><td></td><td></td><td></td></tr><tr><td>Metropolitan France</td><td>87.9 (39249)</td><td>87.9 (39177)</td><td>88.9 (72)</td></tr><tr><td>FOT<sup>b</sup></td><td>0.9 (381)</td><td>0.9 (379)</td><td>2.5 (2)</td></tr><tr><td>Europe</td><td>4.2 (1861)</td><td>4.2 (1859)</td><td>2.5 (2)</td></tr><tr><td>North Africa</td><td>2.8 (1260)</td><td>2.8 (1257)</td><td>3.7 (3)</td></tr><tr><td>Sub-Saharan Africa</td><td>1.1 (503)</td><td>1.1 (502)</td><td>1.2 (1)</td></tr><tr><td>Asia</td><td>0.7 (326)</td><td>0.7 (326)</td><td>0 (.)</td></tr><tr><td>Others</td><td>1.0 (433)</td><td>1.0 (433)</td><td>0 (.)</td></tr><tr><td>Missing or don't want to answer</td><td>1.4 (646)</td><td>1.4 (645)</td><td>1.2 (1)</td></tr><tr><td>Professional activity, % (n)</td><td></td><td></td><td></td></tr><tr><td>Employed</td><td>65.2 (29123)</td><td>65.3 (29093)</td><td>37.0 (30)</td></tr><tr><td>Unemployed</td><td>6.1 (2721)</td><td>6.1 (2712)</td><td>11.1 (9)</td></tr><tr><td>Retired</td><td>21.8 (9753)</td><td>21.8 (9720)</td><td>40.7 (33)</td></tr><tr><td>Student</td><td>1.5 (653)</td><td>1.5 (653)</td><td>0 (.)</td></tr><tr><td>Unemployed due to disability</td><td>0.9 (390)</td><td>0.9 (385)</td><td>6.2 (5)</td></tr><tr><td>No professional activity</td><td>1.4 (603)</td><td>1.4 (602)</td><td>1.2 (1)</td></tr><tr><td>Missing or other category</td><td>3.2 (1416)</td><td>3.2 (1413)</td><td>3.7 (3)</td></tr></tbody></table>

SD Standard Deviation

## Variables selection

Out of 3468 continuous variables coded, 23 variables (0.7%) had a ReliefF exp. Score above 0.01, ranked based on this score and were therefore selected (Fig. 3) (Table 2).

The first variable was the “age”. The following nine were related to “number of reimbursements of biological tests performed in last 2 years” (i.e., Alkaline Phosphatase test, Gamma Glutamyle Transferase test, Transaminases (ALAT and ASAT, TGP and TGO) blood test,

<footnote>a Based on the International Classification ISCED</footnote>

<footnote>b French overseas territories</footnote>
<figure><img src="image_5.png" /><figcaption>**Fig. 3** Variables selection based on ReliefF Exp Score, "A case study performed in 2019-20 to develop a Machine Learning-algorithm to estimate the incidence of Diabetes Mellitus in France"</figcaption></figure>

Uric Acid (Uricemia) blood test, glucose blood, Creatinine level blood test, Exploration of a Lipid Anomaly (ELA) blood test, HbA1c test and C-Reactive Protein test). The next seven were related to "number of reimbursements of various non-diabetes drugs in last 2 years" (i.e., Proton pump inhibitors drugs, antidiarrheal drugs, Penicillin with broad spectrum drugs, bacterial and viral vaccines, Acetic acid derivatives, Propionic acid derivatives and Anilides (Paracetamol). The following five were related to "number of reimbursements of various medical acts" (i.e., fundus examination by biomicroscopy with contact lens, functional examination of ocular motricity, binocular vision examination, mammography and X-ray for thorax). The last one is "the total number of hospitalizations without a procedure (i.e., dialysis, chemotherapy) in last 2 years".

**Algorithm to estimate the incidence of diabetes**

After the selection of variables, four different models [i.e., 1. Linear discriminant analysis (LDA), 2. Logistic regression (LR), 3. Flexible discriminant analysis (FDA) and 4. Decision tree model (C5)], were trained with the training dataset using three repeats of five-fold cross-validation graph. The performance of each of the model was tested on the test dataset and was measured by AUC, for which an empirical 95% confidence interval was calculated based on 15 resamples with replacement (Fig. 4). After that, we compared the performances of

these four models using test data set to select the one based on the performance metrics (Table 3). We kept the LDA model since it showed a better performance with an accuracy of 67% with the test data set as compared to other models (Table 3). The three boosted algorithms improved on the predictive performance as compared to the standard models (Fig. 4). The accuracy of boosted version of logistic regression, the boosted C5.0 classification model, and XGBoost was 77, 67 and 69%, respectively (see Additional file 1). The results of sensitivity analysis are reported in the Additional file 1.

**Distribution of means of selected variables in test data set**

After the selection of LDA model, the 23 selected variables were trained with the test data set (20% of final data set 44,659 = 8931). We compared the distribution of means of these continuous variables among two groups: incident diabetes cases (i.e., 2921) and non-diabetes incident cases (i.e., 6010) using LDA algorithm in the test data set (Table 4). The 2921 diabetes patients in the test dataset are the predicted cases. The mean distribution of all selected variables related to the number of reimbursements of biological tests, medicines not used for diabetes treatment and medical acts performed in last 2 years, was significantly higher in the incident diabetes group than in non-diabetes group. For example, the age was the first ranked variable with 0.04 ReliefF exp. score
<table><caption>**Table 2** List of selected variables ranked based on their Relieff Exp Score. "A case study performed in 2019-20 to develop a Machine Learning-algorithm to estimate the incidence of Diabetes Mellitus in France"</caption><thead><tr><th>Ranked #</th><th>CATEGORIES</th><th>Independent Variables</th></tr></thead><tbody><tr><td>1</td><td>AGE</td><td>Age in years</td></tr><tr><td colspan="3"><strong>Diabetes related variables</strong></td></tr><tr><td>6</td><td>BIOLOGICAL TESTS</td><td>Nb. of reimbursement of Glucose blood test in last 2 years</td></tr><tr><td>9</td><td>BIOLOGICAL TESTS</td><td>Nb. of reimbursement of HbA1c tests in last 2 years</td></tr><tr><td>18</td><td>MEDICAL ACTS</td><td>Nb. of reimbursement of Fundus examination by biomicroscopy with contact lens in last 2 years</td></tr><tr><td>19</td><td>MEDICAL ACTS</td><td>Nb. of reimbursement of functional examination of the ocular motricity in last 2 years</td></tr><tr><td>20</td><td>MEDICAL ACTS</td><td>Nb. of reimbursement of binocular vision examination in last 2 years</td></tr><tr><td colspan="3"><strong>Non-diabetes related variables</strong></td></tr><tr><td>2</td><td>BIOLOGICAL TESTS</td><td>Nb. of reimbursement of Alkaline Phosphatase test in last 2 years</td></tr><tr><td>3</td><td>BIOLOGICAL TESTS</td><td>Nb. of reimbursement of Gamma Glutamyle Transferase test in last 2 years</td></tr><tr><td>4</td><td>BIOLOGICAL TESTS</td><td>Nb. of reimbursement of Transaminases (ALAT and ASAT, TGP and TGO) blood test in last 2 years</td></tr><tr><td>5</td><td>BIOLOGICAL TESTS</td><td>Nb. of reimbursement of Uric Acid (Uricemia) blood test in last 2 years</td></tr><tr><td>7</td><td>BIOLOGICAL TESTS</td><td>Nb. of reimbursement of Creatinine level blood test in last 2 years</td></tr><tr><td>8</td><td>BIOLOGICAL TESTS</td><td>Nb. of reimbursement of Exploration of a Lipid Anomaly (ELA) blood test in last 2 years</td></tr><tr><td>10</td><td>BIOLOGICAL TESTS</td><td>Nb. of reimbursement of C-Reactive Protein test in last 2 years</td></tr><tr><td>11</td><td>DRUGS</td><td>Nb. of reimbursement of Proton pump inhibitors drugs in last 2 years</td></tr><tr><td>12</td><td>DRUGS</td><td>Nb. of reimbursement of other antidiarrheal drugs in last 2 years</td></tr><tr><td>13</td><td>DRUGS</td><td>Nb. of reimbursement of Penicillin with broad spectrum drugs in last 2 years</td></tr><tr><td>14</td><td>DRUGS</td><td>Nb. of reimbursement of bacterial and viral vaccines, combined (diphtheria-haemophilus influenza B-pertussis-tetanus-hepatitis B-meningococcal A + C) in last 2 years</td></tr><tr><td>15</td><td>DRUGS</td><td>Nb. of reimbursement of Acetic acid derivatives and related substances in last 2 years</td></tr><tr><td>16</td><td>DRUGS</td><td>Nb. of reimbursement of Propionic acid derivatives in last 2 years</td></tr><tr><td>17</td><td>DRUGS</td><td>Nb. of reimbursement of Anilides (Paracetamol) in last 2 years</td></tr><tr><td>21</td><td>MEDICAL ACTS</td><td>Nb. of reimbursement of mammography, in last 2 years</td></tr><tr><td>22</td><td>MEDICAL ACTS</td><td>Nb. of reimbursement of X-ray thorax in the previous 2 years in last 2 years</td></tr><tr><td>23</td><td>HOSPITALIZATION</td><td>Total number of hospitalizations without a procedure (i.e. dialysis, chemotherapy) in last 2 years</td></tr></tbody></table>

among 23 selected variables and was highly discriminant in the incident diabetes group. The mean age of patients in diabetes group was 57 years old as compared to 44 years old in non-diabetes group (Table 4).

Following the age variable, nine other features selected, related to the mean number of reimbursements of biological tests, were more discriminant (i.e., the behavior of distinguishing features or characteristics of variables by comparing two groups) in incident diabetes group than in non-diabetes group. These biological tests were performed to measure the normal values of certain enzymes, proteins, glucose and uric acid in the blood to check the normal functions of liver, kidney, pancreas and other organs. For example, the mean number of reimbursement of blood glucose test in last 2 years was 1.74 times higher in diabetes predicted group than in non-diabetes predicted group. The following group of features was the mean number of reimbursements of drugs. There were seven drugs and their mean number of reimbursements in last 2 years was more discriminant

in incident diabetes group than in non-diabetes group. In the category of medical acts, there were three following features more discriminant in incident diabetes group: mean number of reimbursements of examination of fundus by biomicroscopy with contact lens, ocular motricity and binocular vision in last 2 years.

There were seven unusual features selected by the ML-algorithm and were discriminant in incident diabetes group: mean number of reimbursements of broad-spectrum penicillin, vaccines, propionic acid, Anilides (Paracetamol), mammography, X-ray for thorax and mean number of hospitalizations without any procedure.

## Discussion

We have developed an algorithm based on the supervised ML approach to estimate the incidence of diabetes using a training data set from a cohort study. This algorithm (i.e., LDA model) was built on 23 selected variables from the CONSTANCES based on the number of reimbursements over the last 2 years to estimate the
<figure><img src="image_6.png" /></figure>

incidence of diabetes. This algorithm showed a moderate performance in predicting the incidence of diabetes cases with a sensitivity of 62% and an accuracy of 67%. Among 23 selected variables, six were related to diabetes that were expected, such as age and Glucose blood test. Whereas 17 other variables were not directly related to diabetes and were more discriminant in incident diabetes group than in non-diabetes group such as Proton pump inhibitors drug.

<table><caption>**Table 3** Model performance evaluation with test data set, "A case study performed in 2019-20 to develop a Machine Learning-algorithm to estimate the incidence of Diabetes Mellitus in France"</caption><thead><tr><th></th><th>LDA</th><th>LR</th><th>FDA</th><th>C5</th></tr></thead><tbody><tr><td>Accuracy</td><td>0,67</td><td>0,65</td><td>0,66</td><td>0,64</td></tr><tr><td>95% CI:</td><td>(0,66-0,68)</td><td>(0,64-0,66)</td><td>(0,65-0,67)</td><td>(0,63-0,65)</td></tr><tr><td>No Information Rate:</td><td>0,998</td><td>0,998</td><td>0,998</td><td>0,998</td></tr><tr><td>P-Value [Acc > NIR]:</td><td>1000</td><td>1000</td><td>1000</td><td>1000</td></tr><tr><td>Kappa</td><td>0,003</td><td>0,004</td><td>0,002</td><td>0,003</td></tr><tr><td>McNemar's Test P-Value</td><td>&lt;2e-16</td><td>&lt;2e-16</td><td>&lt;2e-16</td><td>&lt;2e-16</td></tr><tr><td>Sensitivity</td><td>0,625</td><td>0,750</td><td>0,563</td><td>0,625</td></tr><tr><td>Specificity</td><td>0,673</td><td>0,650</td><td>0,661</td><td>0,640</td></tr><tr><td>Pos Pred Value</td><td>0,003</td><td>0,004</td><td>0,003</td><td>0,003</td></tr><tr><td>Neg Pred Value</td><td>0,999</td><td>0,999</td><td>0,999</td><td>0,999</td></tr><tr><td>F1-statistics</td><td>2,50</td><td>3,0</td><td>2252</td><td>2,50</td></tr><tr><td>Detection Rate</td><td>0,001</td><td>0,001</td><td>0,001</td><td>0,001</td></tr><tr><td>Balanced Accuracy</td><td>0,649</td><td>0,700</td><td>0,612</td><td>0,633</td></tr></tbody></table>

## Main limitations of the ML-algorithm

This study was performed as a proof of concept using ML-approach to estimate the incidence of diabetes cases from reimbursement data. The results have highlighted low accuracy and there are several aspects that could explain this low accuracy. Here are some limitations: *first*, small number of diabetes-treated cases in the final data set, which could be related to the lack of older population in CONSTANCES cohort (participants between 18 and 69 years at inclusion), maybe potentially linked with low accuracy. Participation in a cohort like CONSTANCES is cumbersome and demands additional time to take part in health examinations. People in less good health and having co-morbidities (including both old and young people), require regular health check-ups therefore, they could less motivation to participate in cohort studies. Thus, it required to wait few years of follow-up for volunteers to include older age groups to have more incident diabetes cases. The risk of developing diabetes increases with age, therefore by including larger number of older people in the final dataset, the performance of this algorithm may be improved. *Second*, the time window used to code the variables was previous 2 years, was long duration. We included a longer window to better evaluate the changes in diagnostic procedures, number of hospitalizations and drug consumption and to estimate the incidence of diabetes with high accuracy. More research is needed to explore different time windows and their impact on accuracy level of estimates. *Third* is related to diabetes, which is a complex medical condition with two major clinical types of diabetes, type 1 diabetes and type 2 diabetes. The pathology and dynamics of developing these two types of diabetes are very different. The type 1 diabetes is thought to be due to autoimmunological destruction of the Langerhans Islets hosting pancreatic-β-cells. It is diagnosed at very early stage of life and is believed to involve a combination of genetic and environmental factors. Whereas the main causes of type 2 diabetes are due to lifestyle, physical activity, dietary habits and genetic, is usually developed at later than 50 years of life. In our study, we defined the pharmacologically treated diabetes cases as target 1 and non-diabetes cases as target 0. However, we did not explicitly define the pharmacological treated diabetes cases to be further characterized as type 1 and type 2. With the inclusion of this information in the model, the accuracy level of the model could be enhanced. *Fourth*, the predictors from reimbursement data may not have a strong ability to predict the diabetes outcome. *Fifth*, these results highlight the low level of model specificity. Considering the low incidence of diabetes, it is important to take into account that insufficient model specificity could lead to the overestimation of the diabetes incidence. These results should be interpreted with
<table><caption>**Table 4** Distribution of means of variables selected for the final algorithm in test data set using Linear Discriminant Analysis (LDA) model, case study performed in 2019–20 to estimate the incidence of Diabetes Mellitus in France</caption><thead><tr><th>Ranked ≠</th><th>Categories</th><th>Variables</th><th>Mean (incident diabetes group) n = 2921</th><th>Mean (non-diabetes group) n = 6010</th><th>P value (Student's t-test)</th></tr></thead><tbody><tr><td>1</td><td>AGE</td><td>Age in years</td><td>56.70*</td><td>43.69</td><td>&lt; 0.0001</td></tr><tr><td>2</td><td>BIOLOGICAL TESTS</td><td>Nb. of reimbursement of Alkaline Phosphatase test in last 2 years</td><td>0.36*</td><td>0.20</td><td>&lt; 0.0001</td></tr><tr><td>3</td><td>BIOLOGICAL TESTS</td><td>Nb. of reimbursement of Gamma Glutamyle Transferase test in last 2 years</td><td>1.05*</td><td>0.40</td><td>&lt; 0.0001</td></tr><tr><td>4</td><td>BIOLOGICAL TESTS</td><td>Nb. of reimbursement of Transaminases (ALAT and ASAT, TGP and TGO) blood test in last 2 years</td><td>1.33*</td><td>0.63</td><td>&lt; 0.0001</td></tr><tr><td>5</td><td>BIOLOGICAL TESTS</td><td>Nb. of reimbursement of Uric Acid (Uricemia) blood test in last 2 years</td><td>0.47*</td><td>0.22</td><td>&lt; 0.0001</td></tr><tr><td>6</td><td>BIOLOGICAL TESTS</td><td>Nb. of reimbursement of Glucose blood test in last 2 years</td><td>1.29*</td><td>0.74</td><td>&lt; 0.0001</td></tr><tr><td>7</td><td>BIOLOGICAL TESTS</td><td>Nb. Of reimbursement of Creatinine level blood test in last 2 years</td><td>1.09*</td><td>0.39</td><td>&lt; 0.0001</td></tr><tr><td>8</td><td>BIOLOGICAL TESTS</td><td>Nb. of reimbursement of Exploration of a Lipid Anomaly (ELA) blood test in last 2 years</td><td>1.20*</td><td>0.65</td><td>&lt; 0.0001</td></tr><tr><td>9</td><td>BIOLOGICAL TESTS</td><td>Nb. Of reimbursement of HbA1c tests in last 2 years</td><td>0.20*</td><td>0.04</td><td>&lt; 0.0001</td></tr><tr><td>10</td><td>BIOLOGICAL TESTS</td><td>Nb. Of reimbursement of C-Reactive Protein test in last 2 years</td><td>1.16*</td><td>0.38</td><td>&lt; 0.0001</td></tr><tr><td>11</td><td>DRUGS</td><td>Nb. Of reimbursement of Proton pump inhibitors drugs in last 2 years</td><td>3.67*</td><td>0.54</td><td>&lt; 0.0001</td></tr><tr><td>12</td><td>DRUGS</td><td>Nb. Of reimbursement of other antidiarrheal drugs in last 2 years</td><td>0.21*</td><td>0.03</td><td>&lt; 0.0001</td></tr><tr><td>13</td><td>DRUGS</td><td>Nb. of reimbursement of Penicillin with broad spectrum drugs in last 2 years</td><td>0.74*</td><td>0.23</td><td>&lt; 0.0001</td></tr><tr><td>14</td><td>DRUGS</td><td>Nb. Of reimbursement of bacterial and viral vaccines, combined (diphtheria-haemophilus influenza B-pertussis-tetanus-hepatitis B-meningococcal A + C) in last 2 years</td><td>0.23*</td><td>0.13</td><td>&lt; 0.0001</td></tr><tr><td>15</td><td>DRUGS</td><td>Nb. of reimbursement of Acetic acid derivatives and related substances in last 2 years</td><td>0.57*</td><td>0.19</td><td>&lt; 0.0001</td></tr><tr><td>16</td><td>DRUGS</td><td>Nb. of reimbursement of Propionic acid derivatives in last 2 years</td><td>1.53*</td><td>1.07</td><td>&lt; 0.0001</td></tr><tr><td>17</td><td>DRUGS</td><td>Nb. of reimbursement of Anilides (Paracetamol) in last 2 years</td><td>3.65*</td><td>1.69</td><td>&lt; 0.0001</td></tr><tr><td>18</td><td>MEDICAL ACTS</td><td>Nb. of reimbursement of Fundus examination by biomicroscopy with contact lens in last 2 years</td><td>0.30*</td><td>0.03</td><td>&lt; 0.0001</td></tr><tr><td>19</td><td>MEDICAL ACTS</td><td>Nb. of reimbursement of functional examination of the ocular motricity in last 2 years</td><td>0.19*</td><td>0.08</td><td>&lt; 0.0001</td></tr><tr><td>20</td><td>MEDICAL ACTS</td><td>Nb. of reimbursement of binocular vision examination in last 2 years</td><td>0.32*</td><td>0.10</td><td>&lt; 0.0001</td></tr><tr><td>21</td><td>MEDICAL ACTS</td><td>Nb. of reimbursement of mammography in last 2 years</td><td>0.12*</td><td>0.10</td><td>0.0062</td></tr><tr><td>22</td><td>MEDICAL ACTS</td><td>Nb. Of reimbursement of X-ray thorax in the previous 2 years in last 2 years</td><td>0.20*</td><td>0.07</td><td>&lt; 0.0001</td></tr><tr><td>23</td><td>HOSPITALIZATION</td><td>Total number of hospitalizations without a procedure (i.e. dialysis, chemotherapy) in last 2 years</td><td>0.89*</td><td>0.26</td><td>&lt; 0.0001</td></tr></tbody></table>

*Highest mean
caution. *Sixth*, we applied an automated procedure and selected 23 the most related variables to our outcome based on a ReliefF exp. score equal or more than 0.01. We did not consult is with a clinician. We recommend to combining both upstream clinical expertise and automated approaches for future research, for example by defining more complex indicators (more specific algorithms) related to specific conditions with higher risk of developing diabetes such as hypertension or dyslipidaemia, this can improve the performance of the algorithms. *Finally*, using the boosted algorithm for over sampling requires a high computational capacity and may take several days to compute the results. The computational capacity that is currently routinely available to public health institutions limits the attractiveness of complex analytical models that, while potentially highly accurate, may require several days to fit. This often results in such models being the product of specific research projects instead of being routinely developed in-house to support population health monitoring and clinical decision-making. This unfortunately partially limits the access to the advantages of advanced analytics. We therefore recommend that public health institutions invest in high-performance computing capacity.

Despite these limitations of this ML-algorithm, this study has some strengths: *first* is using supervised machine learning approach, we have developed the innovative methodology and could be applied to address other research questions. *Second*, this approach allows to reduce the dimension of a large number of variables (i.e., 3468) and identifies the most relevant variables (i.e., 23/3468 = 0.7%) to the desired outcomes more efficiently. The LDA model has been used for variables selection and dimensionality reduction for diabetes diagnosis [20]. *Third*, it allows to identify new variables, which were not observed using classical statistical approaches and can enrich the information to estimate the health indicators.

Our study has highlighted that among the 23 selected variables in the final model, five could be related to diabetes “number of Glucose blood test”, “number of reimbursement of HbA1c tests”, “number of Fundus examination by biomicroscopy with contact lens”, “number of reimbursement of functional examination of the ocular motricity” and “number of reimbursement of binocular vision examination”. These tests/examinations could happen after a diagnosed diabetes (without treatment in our study) or also characterize a group with higher risk factors but with not diagnosed diabetes. Further, three variables among the five are not specific to diabetes (“number of Fundus examination by biomicroscopy with contact lens”, “number of reimbursement of functional examination of the ocular motricity” and “number of reimbursements of binocular vision examination. We also performed an additional analysis after

implementing the model without these 5 variables, the accuracy was 65% (81% sensitivity and 65% specificity). In France, the screening recommendations for diabetes are based on the glucose blood test. HbA1c is only recommended for the management of diabetes but not for diagnoses. In 2009 and 2010, the WHO has introduced HbA1c as an alternative method to diagnose diabetes that has been adopted by many countries since this date. The ophthalmologic problems such as glaucoma, cataract, ocular movement disorders, etc., are the main complications of diabetes. Therefore, the increase frequency of medical acts performed as a result of diabetes related complications such as visual functions allowed to better characterize incident diabetes cases. Moreover, the increased use of non-diabetic drugs along with mentioned biological tests in incident diabetes group may explain potentially the pre-existing comorbidity or may be late diagnosis diabetes with cardiovascular or gastrointestinal diseases. The aim was to estimate the incidence of treated diabetes, therefore all participants with prior antidiabetic drugs (12–36 months before inclusion) were excluded and therefore the antidiabetic drugs were not included among 23 selected variables. The main reason to exclude these participants were to capture the true estimation of incidence of diabetes and took into account other variables to predict the incidence of diabetes.

## Implications and perspectives for future research

This innovative approach has been applied to two further studies: i. to classify and to estimate the prevalence of type 1 and type 2 diabetes cases [21] and, ii. to identify the number of undiagnosed diabetes cases ML algorithms in the SNDS (on going). For the first study, ML-algorithm developed has a sensitivity of 100% and specificity of 97%, and for the second study, the sensitivity is 71% and specificity is 61%.

The next step is to apply this algorithm on SNDS to estimate the incidence of type 2 diabetes cases. We recommend further research for following perspectives using ML-techniques: *first* to use different time windows (for example 6 months, 12 months or 16 months) to code variables and to explore their impact on estimates, *second* to predict the trend of diabetes over time and *third*, to estimate the contribution of determinants of diabetes such as BMI, dietary habits and physical activity, on developing type 2 diabetes using ML approaches.

## Conclusions

The use of ML to analyze large administrative databases (health and non-health related data sources) is increasing across European countries in order to improve the public health surveillance and health policy process. Supervised machine learning is an innovative methodology for the development of algorithms to exploit large
health administrative databases. It was the first step that we have developed a generic ML-algorithm with a moderate performance to estimate the incidence of diabetes in a training data set. The results of this study have highlighted important methodological steps to apply MLTs and their implications on large health administrative databases. The next step is to apply this algorithm on SNDS to estimate the incidence of type 2 diabetes cases. More research is needed to apply various MLTs to estimate the incidence of various health conditions and to calculate the contribution of various risk factors on developing type 2 diabetes.

### Abbreviations

ML: Machine Learning; SNDS: Système National de Données Santé: French National Health Database; CONSTANCES: A population-based epidemiological cohort; AI: Artificial Intelligence; InfAct: Information for Action i.e., a joint action of Member States to establish a sustainable European health information system; WP: Work Package; CNAMTS: Caisse Nationale de l'Assurance Maladies des Travailleurs Salaries; SAQ: Self-administered Questionnaire; MQ: Medical Questionnaire; ATC: Anatomical Therapeutic Code; LDA: Linear Discriminant Analysis; LR: Logistic Regression; FDA: Flexible Discriminant Analysis; C5: Decision Tree; AUC: Area under Receiver Operating Characteristics Curve; Pos Pred Value: Positive Predictive Value; Neg Pred Value: Negative Predictive Value; 95%CI: 95% Confidence Interval; BMI: Body Mass Index; WHO: World Health Organization

### Supplementary Information

The online version contains supplementary material available at https://doi.org/10.1186/s13690-021-00687-0.

**Additional file 1.** It describes the summary of results with three boosted algorithms [boosted version of logistic regression, boosted C5.0 classification model, and XGBoost] to our set of four models [i.e., 1. Linear discriminant analysis (LDA), 2. Logistic regression (LR), 3. Flexible discriminant analysis (FDA) and 4. Decision tree model (C5)]. It includes Table S 1.1 (main analysis), Table S1.2 (sensitivity analysis: over sampling), Table S1.3 (sensitivity analysis: down sampling), Table S2 (description of models used and the set of hyperparameters explored) and Table S3 (Area under curve: AUC).

### Acknowledgements

We acknowledge Le Marie Zins (Responsible for CONSTANCES cohort) for her kind support to access and use the data from this cohort.

### Authors' contributions

Conceived and designed the study: RHaneef SFuentes RHRzic AG. Performed the study: RHaneef SKab RHRzic SFuentes. Analyzed the data: RHaneef SKab RHRzic SFuentes. Interpretation of the results: All authors contribute to the interpretation of the results. Contributed to the writing of the manuscript: All authors contributed to the writing of the manuscript. All authors read and approved the final manuscript.

### Funding

This research has been carried out in the context of the project '801553 / InfAct' which has received funding from the European Union's Health Programme (2014–2020).

### Availability of data and materials

Not applicable.

### Declarations

### Ethics approval and consent to participate

Not applicable.

### Consent for publication

All authors gave the consent for publication.

### Competing interests

R. Haneef is the first author of this paper and the section editor of "health information system" of "Archives of Public Health". All other authors declare that they have no competing interests related to the work.

### Author details

¹Department of Non-Communicable Diseases and Injuries, Santé Publique France, 12 rue du Val d'Onse, 94415 Saint-Maurice, France. ²Population-Based Epidemiological Cohorts Unit, INSERM UMS 011, Villejuif, France.

³Department of International Health, Care and Public Health Research Institute – CAPHRI, University of Maastricht University, Maastricht, The Netherlands. ⁴Department of Endocrinology-Diabetology-Nutrition, AP-HP, Avicenne Hospital, Paris 13 University, Sorbonne Paris Cité, CRNH-IdF, CINFO, Bobigny, France. ⁵Sorbonne Paris Cité, UMR U1153 Inserm/U1125 Inra/Cnam/ Université Paris 13, Bobigny, France.

Received: 25 December 2020 Accepted: 2 September 2021

Published online: 22 September 2021

### References

1. Harron K, Dibben C, Boyd J, Hjern A, Azimaee M, Barreto ML, et al. Challenges in administrative data linkage for research. Big Data Soc. 2017; 4(2):2053951717745678. https://doi.org/10.1177/2053951717745678.

2. Tuppin PRJ, Constantinou P, et al. Value of a national administrative database to guide public decisions: from the. Rev Epidemiol Sante Publique. 2017;65(4):S149–67. https://doi.org/10.1016/j.respe.2017.05.004.

3. Bradley CJ, Penberthy L, Devers KJ, Holden DJ. Health Services Research and Data Linkages: Issues, Methods, and Directions for the Future. Health Serv Res. 2010;45(5p2):1468–88.

4. Machine Learning: https://www.expertsystem.com/machine-learning-definition/. 2017.

5. Russell S, Norvig P: Artificial Intelligence: A Modern Approach: https://repository.unimal.ac.id/1022/1/Artificial%20Intelligence%20-%20A%20Modern%20Approach%203rd%20Ed%20-%20Stuart%20Russell%20and%20Peter%20Norvig%2C%20Berkeley%20%282010%29.pdf. University Text Book (Third Edition) 2009.

6. Soni D: Supervised vs Unsupervised Learning: https://towardsdatascience.com/supervised-vs-unsupervised-learning-14f68e32ea8d. 2018.

7. Jha S, Topol EJ. Adapting to artificial intelligence: radiologists and pathologists as information specialists. JAMA. 2016;316(22):2353–4. https://doi.org/10.1001/jama.2016.17438.

8. Patel VL, Shortliffe EH, Stefanelli M, Szolovits P, Berthold MR, Bellazzi R, et al. The coming of age of artificial intelligence in medicine. Artif Intell Med. 2009;46(1):5–17. https://doi.org/10.1016/j.artmed.2008.07.017.

9. Kavakiotis I, Tsave O, Salifoglou A, Maglaveras N, Vlahatas I, Chouvarda I. Machine Learning and data mining methods in diabetes research. Comput Struct Biotechnol J. 2017;15:104–16. https://doi.org/10.1016/j.csbj.2016.12.005.

10. Joint Action on Health Information: https://www.inf-aact.eu/. 2018.

11. Haneef R, Delnord M, Vernay M, Bauchet E, Gaidelyte R, Van Oyen H, et al. Innovative use of data sources: a cross-sectional study of data linkage and artificial intelligence practices across European countries. Arch Public Health. 2020;78(1):55. https://doi.org/10.1186/s13690-020-00436-9.

12. Cho NH, Shaw JE, Karuranga S, Huang Y, da Rocha Fernandes JD, Ohlrogge AW, et al. IDF diabetes atlas: global estimates of diabetes prevalence for 2017 and projections for 2045. Diabetes Res Clin Pract. 2018;138:271–81. https://doi.org/10.1016/j.diabres.2018.02.023.

13. WHO-Europe: The challenges of diabetes: http://www.euro.who.int/en/health-topics/noncommunicable-diseases/diabetes/data-and-statistics.

14. CONSTANCES: http://www.constances.fr/index_EN.php#assets. 2019.

15. Zins M, Goldberg M, team C: the French CONSTANCES population-based cohort: design, inclusion and follow-up. Eur J Epidemiol. 2015;30(12):1317–28. https://doi.org/10.1007/s10654-015-0096-4.

16. Fuentes S, Cosson E, Mandereau-Bruno L, Fagot-Campagna A, Bernillon P, Goldberg M, et al. Identifying diabetes cases in health administrative databases: a validation study based on a large French cohort. Int J Public Health. 2019;64(3):441–50. https://doi.org/10.1007/s00038-018-1186-3.
17. Chaix B, Kestens Y, Bean K, Leal C, Karusisi N, Meghiref K, et al. Cohort profile: residential and non-residential environments, individual activity spaces and cardiovascular risk factors and diseases--the RECORD cohort study. Int J Epidemiol. 2012;41(5):1283-92. https://doi.org/10.1093/ije/dyr107.

18. Kononenko MR-SI: An adaption of Relief for attribute estimation in regression: http://www.clopinet.com/isabelle/Projects/reading/robnik97-icml.pdf. 1997.

19. Devaney M, Ram A. Machine Learning: proceedings of the fourteenth international conference, Nashville, TN, July 1997 (to appear); 2004.

20. Çalışır D, Doğantekin E. An automatic diabetes diagnosis system based on LDA-wavelet support vector machine classifier. Expert Syst Appl. 2011;38(7): 8311-5. https://doi.org/10.1016/j.eswa.2011.01.017.

21. Fuentes S, Hrzic R, Haneef R, Kab S, Fosse-Edorh S, Cosson E. Development of type 1/type 2 classification algorithm through machine learning methods and its application to surveillance using a nationwide database in France in: *Diabetologia*; 2020.

**Publisher's Note**

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Ready to submit your research? Choose BMC and benefit from:

* fast, convenient online submission

* thorough peer review by experienced researchers in your field

* rapid publication on acceptance

* support for research data, including large and complex data types

* gold Open Access which fosters wider collaboration and increased citations

* maximum visibility for your research: over 100M website views per year

At BMC, research is always in progress.

Learn more biomedcentral.com/submissions