Skip to main content
  • Research article
  • Open access
  • Published:

Machine learning methodologies versus cardiovascular risk scores, in predicting disease risk

Abstract

Background

The use of Cardiovascular Disease (CVD) risk estimation scores in primary prevention has long been established. However, their performance still remains a matter of concern. The aim of this study was to explore the potential of using ML methodologies on CVD prediction, especially compared to established risk tool, the HellenicSCORE.

Methods

Data from the ATTICA prospective study (n = 2020 adults), enrolled during 2001–02 and followed-up in 2011–12 were used. Three different machine-learning classifiers (k-NN, random forest, and decision tree) were trained and evaluated against 10-year CVD incidence, in comparison with the HellenicSCORE tool (a calibration of the ESC SCORE). Training datasets, consisting from 16 variables to only 5 variables, were chosen, with or without bootstrapping, in an attempt to achieve the best overall performance for the machine learning classifiers.

Results

Depending on the classifier and the training dataset the outcome varied in efficiency but was comparable between the two methodological approaches. In particular, the HellenicSCORE showed accuracy 85%, specificity 20%, sensitivity 97%, positive predictive value 87%, and negative predictive value 58%, whereas for the machine learning methodologies, accuracy ranged from 65 to 84%, specificity from 46 to 56%, sensitivity from 67 to 89%, positive predictive value from 89 to 91%, and negative predictive value from 24 to 45%; random forest gave the best results, while the k-NN gave the poorest results.

Conclusions

The alternative approach of machine learning classification produced results comparable to that of risk prediction scores and, thus, it can be used as a method of CVD prediction, taking into consideration the advantages that machine learning methodologies may offer.

Peer Review reports

Background

Developed and developing countries have succeeded in protecting their populations from infectious and parasitic diseases through structured health systems and preventive campaigns including vaccination policies and regular health examinations [1, 2]. Interestingly, while communicable diseases’ incidences have steeply decreased during the past century, non-communicable diseases, such as cardiovascular disease (CVD) and malignancies have been both the direct and the underlying cause for the majority of deaths [3]. Although CVD mortality rates are currently declining in most European countries [4], there is an increasing non-fatal CVD incidence, especially among females and younger individuals, leading also to an increasing financial and social cost [5, 6]. However, CVD is a highly avertable health condition that can be prevented, delayed or even well controlled when it is diagnosed at early stages of atherosclerosis process, through a number of lifestyle changes and accurate pharmaceutical treatment and management. Under this context, an emerging need to better and early identify high-risk individuals is highlighted as a first priority in order to reduce the burden of CVD, allowing more effective intervention and thus more disease-free years [7].

The use of CVD risk estimation scores (or tools) was initially suggested in the Framingham study [8], which was used to predict individual CVD risk in US, but also in many other countries around the world, using low-cost variables, such as age, gender, smoking habit, cholesterol and blood pressure levels, etc. [8]. In the early 2000s Menotti et al., [9] revealed some methodological drawbacks of the Framingham CVD risk score when applied to different populations around the world, using the Seven Countries Study dataset. Similar considerations have also arisen from various groups regarding the accuracy of a health risk prediction tool when applied to different population from the one that was developed. Under this context, in early 2000s, the European Society of Cardiology (ESC) established the SCORE project as an attempt to develop a more accurate risk prediction tool for the European populations [10]. Since then, the SCORE is being used across European countries whilst many of these countries are using population-specific calibrated models in order to achieve the best individuals risk predictions. Among them, one of the pioneer countries was Greece which has recalibrated the European Society of Cardiology (ESC) SCORE into the HellenicSCORE by considering the prevalence of CVD risk factors in the Greek population [11]. It should be noted here - for the reader who is not familiar with CVD risk prediction scores - that there is a variety of CVD risk prediction tools, from different countries and populations, with different set of risk factors used and with a large variation regarding their performance. The majority of these scores use a common set of the “classical” CVD risk factors, e.g., age, sex, smoking, blood pressure and lipids levels, whereas others have also incorporated more advanced markers of CVD disease. The methodological framework of the vast majority of these risk prediction tools is based on stochastic - statistical - models that incorporate individual variables, based on cohort studies, in order to calculate overall risk for a future event [12]. Despite the aforementioned approaches to early identify the potential CVD candidate through risk prediction tools, a high percent of CVD events occurs in people without established risk factors, or with low-to-moderate overall risk, whereas, approximately 20% of high-risk individuals, remain underestimated due to risk misclassification, suggesting the need to identify new methodologies that could optimize the performance of risk prediction [13,14,15,16].

Due to the large amount of available data that requires analytical processing, a category of algorithms for data manipulation that has been introduced in various scientific fields, including health, is that of machine learning (ML). ML is a sub-area of artificial intelligence, with an ultimate goal to devise learning algorithms that do the learning automatically from the available data with minimal or even none human intervention. This area comprises numerous different types of algorithms capable of processing large amounts of data and that ultimately transform data into knowledge, which can be used to infer some intelligent action or decision. The interest in ML in health sciences has grown since the early 2000s [17] and ML has been applied in various healthcare and biomedicine applications [18], including cancer prognosis and prediction [19], radiologic imaging [20], the understanding of ageing process [21] and of course CVD risk prediction [22]. ML, similarly to well-known and established statistical approaches, aims at “learning” from data. In the statistical approach, mainly a probabilistic model is built, based on the assumption that the provided data are a subset of a larger population that can be described by a model. In principal, a simpler model is much more preferable than a complex one, as long as there is an acceptable performance. Moreover, human intervention is considered essential in every stage of the overall build of the model [23]. On the other hand, ML emphasizes more on predictions and thus the efficiency is evaluated via prediction performance.

The CVD risk estimation is clearly a typical classification problem, where an individual must be somehow categorized as having a low or a high CVD risk. As it will be shown in the following, it is possible to correctly classify an individual to an actual CVD risk class, using ML techniques based on various easily accessible data regarding individual’s bio-clinical risk factors, socio-economic, lifestyle and psychological characteristics. Established risk prediction tools, such as the HellenicSCORE, induct their prediction based on a very limited number of CVD risk factors that can be easily evaluated in daily practice. On the contrary, ML techniques exploit the majority of the available data, building much more complex models considering many more features than only the typical CVD risk factors. In the order to go forward with the comparisons, among the vast variety of available ML algorithms, three well-known and established ML algorithms were chosen: a) One of the simplest classifiers, the k-nearest neighbors’ algorithm (k-NN) [24], which is yet quite efficient in general, b) A more complex one, the Quinlan’s C5.0 decision tree algorithm [25] which uses a tree structure to locate the connections among the data, making the decision process quite transparent and informative, and c) A quite complex meta-learning algorithm, that of random forest (RF) [26].

Thus, the aim of the present work was to explore the potential of using ML methodologies on total cardiometabolic risk assessment of healthy adults. Therefore, the predictive accuracy of ML methodologies was compared to already known and established risk prediction tools, the HellenicSCORE, a calibration of the ESC SCORE, against the 10-year combined (fatal or non-fatal) CVD incidence; the research hypothesis was to evaluate which approach for risk classification improves the correct class CVD prediction rate of the referent population. Figure 1 illustrates the methodological framework of the present study, in a high-level approach.

Fig. 1
figure 1

Conceptual methodology applied in the present work to evaluate two approaches for CVD risk classification, a classical, statistically oriented risk prediction tool and machine learning algorithms

Methods

The ATTICA study cohort

The working dataset was based on the ATTICA prospective cohort study, performed in the Athens metropolitan area, Greece. During 2001–2002, n = 3042 Greek adults (1528 women and 1514 men), stratified by age-sex category of the Greek population (according to 2001 census), were enrolled on a volunteer basis [27]. A large amount of information was collected, and participants were followed up in 2011–12 [28, 29]. Out of the 2583 individuals that participated in the 10-year follow-up, n = 2020 participants had data without any missing information regarding the development of a combined (fatal or nonfatal) CVD event (coronary heart disease, angina, heart failure or stroke, according to ICD-9 classification). The combined 10-year CVD incidence was 15.7% (19.7% in men and 11.7% in women, p for gender difference < 0.001). Table 1 illustrates baseline characteristics of the n = 2020 participants that were used as a sample for the development of ML models.

Table 1 Description of the dataset containing the 16 baseline variables that were measured among n = 2020 ATTICA study participants

The initial ATTICA study dataset underwent an intense preprocessing phase before being used by the ML classifiers. In a first step, from the dataset of 100 bio-clinical and lifestyle behavior variables that have long been associated with the development of CVD, 43 were selected on the bases of non-highly inter-correlated. This step was of crucial importance, since the existence of numerous variables in a dataset may render the model very complex and most probably over-fitted to the dataset. In the next step, all variables with missing values in more than 70% of the individuals were excluded. For some of the remaining 22 variables, there were some levels of missing data (< 10% of the total sample), which were replaced by imputed data, using the common approach of KNN imputation [30] based on 10 neighbors. Moreover, a student’s t-test was applied to compare each variable separately with the individual’s classification as low or high CVD risk; variables passing the chosen threshold of p-value 0.01 were excluded, keeping 16 variables (pls see Table 1). The variables were then tested for high inter-correlation, which could lead to a biased model towards the correlated variables; however, no variables were excluded in this final step (Pearson r correlation coefficients < 0.8). Hence, at the end of the preprocessing phase the working dataset contained 16 baseline variables, the ones shown in Table 1.

Statistical approach for CVD risk assessment: the HellenicSCORE

The HellenicSCORE [31] is a calibration of the official ESC SCORE and was calculated based on age, sex, smoking status, systolic blood pressure and total cholesterol levels of the participants’ baseline characteristics. Specifically, based on (a) the risk factor prevalence that was obtained from the baseline evaluation of the ATTICA study in 2001–2002 [12, 27], (b) the annual death rates that were obtained from the World Health Organization mortality database for 2002 [32] accordance to the rules of the International Classification of Diseases (ICD) [33], and (c) the individuals’ characteristics, a recalibration method for the Greek population was applied separately for men and women, and the estimated 10-year risk for fatal CVD events was calculated for each participant using Cox Proportional Hazard models [12].

Machine learning methodologies for CVD risk assessment

Three different ML classifiers were chosen and hence, three distinct models were created in order to distinct whether an individual had a low or a high CVD risk. Obviously, the list of tested algorithms is not exhaustive, other methods such as Naive Bayes [34] or Support Vector Machines [35] could also be used, but preliminary tests showed that the chosen classifiers give satisfying results, with regards to missing data, outliers and computational time. Another technique for implementing ML, very well established and currently very popular, is that of deep learning [36]. However, deep learning is typically applied when there is a very large amount of available data, which is not the case in our dataset since it consists of around 2000 participants. For cases where the available dataset is relatively small, traditional machine learning techniques prevail and thus, deep learning techniques were not considered.

ML techniques in general are applied in two stages: at first, a (random) subset of the available data (called training set) is used for the training of the model and next, the rest of the data (called testing set) are used for the evaluation of the model. The training set is used to induce a model, capable of predicting the annotations of the instances in the testing set. The choice of each subset’s elements is of major importance and must be representative of the original dataset, i.e. the sampling must be completely random and not biased in any way. A common practice is to use a stratified k-fold cross-validation (k-fold CV), where the data are partitioned into k segments of equal size (folds) which retain the ratio between classes, and k independent iterations of training/validation are performed.

As already mentioned, the three ML algorithms chosen were k-NN, DT, and RF. The k-NN is one of the simplest classifiers but yet quite efficient in general. The data are clustered into similarity groups using k “neighbors” for the classification of each individual. The main principle is that instances within a dataset will generally exist in close proximity to other instances that have similar properties [37]. Once the instances are binned into classes, then an unclassified instance can be classified by observing the class of its nearest neighbors. DT is a classifier, which uses a tree structure to locate the connections among the data, making the decision process quite transparent and informative. The tree structure classifies instances based on feature values: each tree node covers a feature in an instance to be classified, and each branch represents a value that the node can assume. Starting from the root node, every instance is classified according to their feature values. Using such decision algorithms, a clinician may better visualize and classify an individual into risk categories for developing a disease. In general DTs make the classification process more “human readable”, e.g. the decision tree produced by the DT algorithm shown in Fig. 2, does not need any expertise to be followed and thus categorize an individual. RF is a tree-based ensemble classifier, which provides additional diversity in the created tree model; RF can also be seen as an adaptively weighted potential nearest neighbor [38] classifier. In general, ensemble methods create a stronger learner by combining multiple weaker learners. RF models are preferable to other tree-based classifiers, since they are less prone to over-fitting [39]; however, unlike decision trees, the rationale behind the produced model is not always easy to interpret. RF can cope with datasets with extremely large number of features since only the most important features are considered by the algorithm.

Fig. 2
figure 2

An example of a Decision Tree (DT) derived using the 5-variable dataset (age, sex, systolic blood pressure levels (SBP), total cholesterol (TC), and smoking). The thresholds for the quantitative variables (Age, TC, SBP) derived from the algorithm used to develop the DT

Before starting the training of the ML models, some additional preprocessing was necessary. The k-NN clustering is using as metric the Euclidean distance between the individuals; however, the quantitative variables of the dataset had different ranges, so in order for each variable to have the same impact on the distance, all numeric variables were normalized into the range of [0,1].

Comparisons between ML approaches vs. HellenicSCORE on 10-year CVD risk

Using the three ML techniques every individual was classified into one of the two disjoint categories of “low” (< 10%) and “high” (> 10%) 10-year CVD risk - following also the rationale of the ESC classification. These classifications were tested against the same classifications resulting from the HellenicSCORE prediction tool, i.e., HellenicSCORE < 10% (n = 1912 individuals, 95% of the sample) and > 10% (n = 108 individuals, 5% of the sample). Moreover, according to the observed 10-year CVD incidence of ATTICA study, individuals were classified as CVD-free (n = 1707, 84%) and CVD incident cases (n = 317, 16%). The three ML techniques were trained and evaluated using different sets of the preprocessed data, in an attempt to achieve the best performance. Specifically, the first set used included all the 16 available variables of the preprocessed data mentioned above, that represent widely accepted CVD risk factors. The second set contained only the 5 variables also used for the calculation of the HellenicSCORE (i.e., age, sex, smoking, total cholesterol, and systolic blood pressure levels). The latter set was used in an attempt to explore the performance of the ML models using only the data available to the HellenicSCORE, i.e. comparing the performance of the two different approaches using the same input data. While the first set was used in an attempt to build a more complex model, exploiting additional variables disregarded from the HellenicSCORE. Additionally, since the different percentages of disease-free individuals compared to cases inevitably leads to biased models towards the healthy individuals, to overcome this bias, two additional training datasets were created, using bootstrapping techniques on both the 16 variables dataset and the 5 variables dataset.

Hence, to recap, five different comparisons were made:

  1. 1

    ML_16_vs_HS: using as input the 16 variables, the results were compared against the HellenicSCORE.

  2. 2

    ML_16_vs_CVD: using as input the 16 variables, the results were compared against the 10-year CVD incidence of ATTICA study participants.

  3. 3

    ML_16_Boot_vs_CVD: based on the 16 variables and using bootstrap techniques a more balanced training dataset was created and compared against the 10-year CVD incidence.

  4. 4

    ML_5_vs_CVD: using as input the 5 variables, the results were compared against the 10-year CVD incidence.

  5. 5

    ML_5_Boot_vs_CVD: based on the 5 variables and using bootstrap techniques a more balanced training dataset was created and compared against the 10-year CVD incidence.

Once the dataset was normalized, 10 different random folds were created, each containing the 10% of the dataset. Each fold was then divided into two disjoint sets; one containing 90% of the fold data, used for the building of the k-NN model and the rest 10% for the evaluation of the produced model. The chosen number of neighbors to be considered in the construction of the model was set to 3. No data normalization was needed for the RF classifier. Regarding the folds, similarly to the k-NN approach, the same 10 different random folds were used. For each fold, an ensemble of trees was created with each one having one vote and the model decided on the classification of each individual using the majority rule. The number of trees grown in every fold in the construction of the model was set to 35. For the case of the DT classifier, there was also no need for the normalization of the variables. In order for the results to be comparable with the two aforementioned methods, the same 10 different random folds were used. Regardless of the chosen model, once it had been trained there was a need to evaluate it against known data. For the evaluation of each algorithm, the number of true positive (TP) and false negative (FN) were counted for the individuals predicted as high CVD risk. Similarly, of the individuals predicted as low CVD risk, the number of true negative (TN) and false negative positive (FN) were counted. Based on these values, five metrics were calculated for each algorithm, to evaluate the diagnostic accuracy, i.e. the amount of agreement between the results from a model and those from the known data. Namely:

  • Accuracy: the ratio of the correctly classified individuals to the total number of individuals, i.e. \( \frac{TP+ TN}{TP+ TN+ FP+ FN} \).

  • Sensitivity: the probability of predicting the individual’s class as CVD risk hazardous when it truly is CVD risk hazardous, i.e. \( \frac{TP}{TP+ FN} \).

  • Specificity: the probability of predicting the individual’s class as non-CVD risk hazardous when it truly is non-CVD risk hazardous, i.e. \( \frac{TN}{TN+ FP} \).

  • Positive Predictive Value (PPV): the probability the individual is CVD risk hazardous when it is predicted as such, i.e. \( \frac{TP}{TP+ FP} \).

  • Negative Predictive Value (NPV): the probability the individual is non-CVD risk hazardous when it is predicted as such, i.e. \( \frac{TN}{TN+ FN} \).

Neither of these metrics alone can absolutely characterize the performance of a model, e.g. a high sensitivity alone does not make a model a good model; it needs to also recognize all individuals with low CVD risk, i.e. specificity. However, in a daily practice, an individual will be more interested in the PPV and NPV, i.e. the probability of being high CVD risk after such a classification by the ML model. Whereas the NPV is the probability of being low CVD risk after such a classification by the ML model. All these metrics have different pros and cons, and they may be difficult to unilaterally interpret [40]. Therefore, one sometimes prefers a combination of them. For all the conducted types of comparisons, regardless of the dataset and the ground truth labels used for the evaluation, the same methodology was applied to each ML technique. For each of the classifiers, once all 10 models had been produced and evaluated, the average performance across all models was calculated and assigned as the total performance of the produced model. All the implementations were carried out in the R programming language [41] (version 3.3.3). For the k-NN classifier the class [24] R-package was used, for the DT classifier the C50 [25] R-package, and for the RF the randomForest [26] R-package. It is noted that the process of creating the folds and using each different fold to train and evaluate the classifier is computationally intensive, but the procedure is completely independent for each fold and thus it is possible to parallelize it by assigning each fold to a different computer core. Using in-house R scripts, the execution was parallelized into different computer cores, achieving a speed-up almost equal to the number of computer cores used for the calculations.

Results

All the possible combinations of the five different comparisons mentioned in the Validation subsection and the three different ML classifiers were performed, in order to evaluate the performance of the ML. The performance metrics - sensitivity, specificity, NPV, PPV and accuracy - of either the HellenicSCORE or the ML classifiers on the observed 10-year CVD incidence, as well as the between ML classifiers and HellenicSCORE classification, is presented in Tables 2, 3, 4, 5 and 6. In Table 2 the first comparison (ML_16_vs_HS) is presented, where as it can be seen all three ML methods had higher performance as compared to HellenicSCORE classification, achieving accuracy rates of 96, 99, and 99% for the case of k-NN, RF, and DT classifier, respectively. The same stands for the sensitivity rates, which were 98% for the k-NN, 100% for the RF, and 99% for the DT classifier. However, DT outperformed all other methods regarding specificity with a rate of 87% compared to 37 and 79% for the k-NN and RF classifiers. Regarding the PPV, the lowest performance was 97% for the k-NN and the highest 99% for the other two classifiers; however, the NPV was 79% for k-NN, 89% for the DT and 98% for the RF. In total, based on all five metrics the RF classifier achieved the best performance, DT the second best, while k-NN had the poorest performance. The specific comparison certified that the ML techniques - especially RF and DT - had comparable efficiency one another and superiority to that of HellenicSCORE.

Table 2 Performance of the three ML algorithms using the 16-variable dataset against the predicted 10-year CVD risk through the HellenicSCORE
Table 3 Performance of the three ML algorithms using the 16-variable dataset and of the HellenicSCORE, against the 10-year CVD (fatal or non-fatal) incidence of ATTICA study participants
Table 4 Performance of the three ML algorithms using the 16-variable dataset with bootstrapping and of the HellenicSCORE, against the 10-year CVD (fatal or non-fatal) incidence of ATTICA study participants
Table 5 Performance of the three ML algorithms using the 5 variables dataset and of the HellenicSCORE, against the 10-year CVD (fatal or non-fatal) incidence of ATTICA study participants
Table 6 Performance of the three ML algorithms using the 5 variables dataset with bootstrapping and of the HellenicSCORE, against the 10-year CVD incidence of ATTICA study participants

For the rest of the comparisons, the evaluation was measured against the observed 10-year CVD incidence. In Table 3 the results from all the models built based on the 16 variables (ML_16_vs_CVD) are presented, while in Table 4 the training dataset (ML_16_Boot_vs_CVD) as created using bootstrapping. It is clear that the accuracy decreased slightly when bootstrapping was used; however, the specificity increased more than double its value by the usage of bootstrapping. This happened, since the ML models were better trained to recognize unhealthy cases in the test dataset. Regarding the ML models, once more the RF one outperformed the one of DT, especially in the bootstrap case. Indeed, the results of the ML methods were completely comparable to the ones of HellenicSCORE and performed better regarding specificity.

Similarly, in Table 5 the results are presented for the models built using only the 5 variables also used for the calculation of the HellenicSCORE (ML_5_vs_CVD) and in Table 6 the same dataset (ML_5_Boot_vs_CVD) was created using bootstrapping. The accuracy when no bootstrapping was used was similar to that of the model built with the 16 bootstrapping; however, the specificity was less than half of it. When bootstrapping was used, the specificity almost doubled, but still the accuracy and the sensitivity decreased.

Therefore, in conclusion the better ML performance was achieved when more variables were used for the training of the models and the training was conducted on bootstrapped dataset, i.e., when all 16 variables were used and not only the 5 factors used for the calculation of the HellenicSCORE. Since the performance metrics for all classifiers were the mean values of respective metrics for the 10 folds, variances for all metrics per method were calculated (data not shown). The variances were small, meaning that the produced models of each fold had similar efficiency and the data used in each fold were homogenous with no significant outliers.

Discussion

Accurate risk prediction is a cornerstone in public health care. Several risk prediction scores or tools have been proposed that past years to identify the potential candidate for developing a CVD or cancer event. However, their accuracy in correcting classifying a candidate for developing the disease, is doubtable. Thus, the use of risk tools at population level, although of substantial clinical value, has not been well appreciated. In this work we introduced ML methodologies in predicting CVD events and compared their classification with an already established and used risk prediction tool. According to the presented results, the application of ML approaches in CVD risk prediction may further assist in correctly identifying individuals at high risk and in applying more effective population-based strategies. Regarding the specificity and the NPV, the results were more satisfying when bootstrapping was applied for the creation of the training dataset. Indeed, bootstrapping techniques lead to a less biased model toward the healthy individuals, since the training sets are generating from the original dataset with replacement, and thus making them balanced by including more well-adjusted number of healthy and unhealthy individuals. However, regarding the k-NN classifier, especially for the case that a larger set of variables was used combined with bootstrapping, the results for specificity and sensitivity, as well as the NPV, were not so promising. Some reasons for that might be the inherent outlier sensitivity of the specific algorithm, combined with the large dimensionality of the used data; k-NN is known to suffer sometimes from the Bias-Variance tradeoff [42], i.e., it can become over-fitted to the training data and perform poorly on the testing data.

At this point it could be argued that the ML approaches are more complicated, compared to the classical risk prediction tools. However, nowadays, where information technology has become a “daily” use practice in clinical setting, the development of ML-based tools where a clinician can easily impute with basic and simple individuals’ characteristics and correctly calculate their future risk for CVD or any other disease, would be of considerable importance for the public health. Moreover, although ML may be more complicated than the common risk prediction tools, a main advantage of the ML approach is their inherent ability to evolve large sets of variables, based on the accumulated data, i.e., the more data that become available, the better model is built without any a-priori defined methodological restrictions. In addition, and in contrary to the classical risk prediction tools, simply repeating the training phase of the classifier, using the accumulated data, does the building of a new model, more accurate, which is a cornerstone in public health care setting. Additionally, the unbiased view of the available data by the ML algorithms, can lead to the discovery of previously unseen relationships among data, which were very often present, but ML allowed them to visualize, whereas the classical approaches may not due to models restrictions. However, one may claim that the use of more variables to build the ML model than the risk prediction tool (i.e., 16 vs. 5 variables) lead to a a-priori defined superiority of the ML model due the higher information used. The use of a relatively small set of variables in risk prediction tools is common in practice because of two main reasons: the need to be the risk classification as simple as possible in terms of general public health use, but also the pre-requirement of the models not to be parsimonious and to reduce the level of undesirable colinearity. Nevertheless, ML models performed similar compared to the risk prediction tools even when the same set of variables used. Therefore, although the results of comparison between ML and classical approaches were comparable, in the near future the abundance of available data and the discovery of unseen so far relations, will render ML a very powerful tool for the life scientists in the CVD risk prediction.

In ML applications due to the larger number of variables typically taken under consideration compared to classical approaches, the created ML model is often considered as a “black box”, since the model’s details are too complex to be presented to the end user. The models created by the k-NN and RF classifiers fall into the latter category. Although they have been evaluated and new individuals can be classified, the rationale behind the decision to eventually categorize one individual into one category or the other is not transparent. This happens in the attempt to hide the complex mathematics models implemented, based on the training dataset. This necessary issue is common knowledge in the area of ML, however, especially for health issues the patient wants to be able to know the reasons she or he was categorized into one class over the other. On the contrary, the decision tree created by the DT classifier is much more straightforward to understand, without special knowledge. This simplicity in the model representation often comes with the cost of the model being more “naive”; indeed, the DT classifier has a lower performance compared to the RF one. As a limitation, it must be noted that the current study like other similar studies [20, 43, 44] was based on a cohort of small to medium size. Ideally, the same methodology would be replicated using data of a much larger cohort, in order to further support the findings. Additionally, the highly disproportional percentages of individuals having high CVD risk compared to those with low risk inevitably leads to biased models towards the individuals with low risk, i.e., the models built are better at correctly identifying low CVD risk individuals compared to high risk ones. This can be seen on all three models, where the sensitivity was much higher than the specificity; in other words, the model produces relatively more FP than FN, since it can recognize easier a low risk individual over a high risk one. The latter was handled by using bootstrapped data for the training of the ML models and thus artificially balancing the abundance of healthy individuals compared to CVD ones.

Conclusions

This study explored the potential of applying ML approaches on population data, alternatively to the established risk prediction tools. The results showed that ML performs comparable well with the established risk tools in identifying a potential candidate for CVD development. In particular, three machine-learning classifiers were compared against an estimation tool for CVD risk prediction, as well as against actual CVD incidence, giving very high accuracy, sensitivity, and PPV for the classification. A main advantage of the ML approaches is their inherent ability to evolve large sets of variables, based on the accumulated data, i.e., the more data that become available, a better model is built without any a-priori defined methodological restrictions. In addition, and in contrary to the established approaches, simply repeating the training phase of the classifier, using the accumulated data, does the building of a new model, more accurate and automatic. Additionally, the unbiased view of the available data by the ML algorithms, can lead to the discovery of previously unseen relationships among data, which were always present, but ML allowed them to visualize, whereas the classical approach may not – mainly due to the constraint of colinearity. Therefore, although the results of comparison between ML and classical approaches were comparable, in the near future the abundance of available data and the discovery of unseen so far relations, will render ML a very powerful tool for the life scientists in the CVD risk prediction. To conclude, based on the presented results, the ML approach can prove a valuable and helpful methodology in the field of CVD risk prediction, and not only, making prognostication algorithms easier to understand and use in clinical practice. Indeed, in spite of the claims that ML classification techniques can result in adequate and effective decision making very few have actually penetrated the clinical practice [19]. As a future step, in the effort of establishing ML in the field of CVD prediction, larger datasets will be sought, which will allow to build more accurate models. Ideally, such datasets will contain individuals from various nationalities, making the built models international. Indeed, such datasets can be produced from the available databases of the currently ongoing ATHLOS (Ageing Trajectories of Health: Longitudinal Opportunities and Synergies) project. Once the various datasets are homogenized, numerous different ML models will be tested; given the large number of available individuals Deep Learning techniques could also be tested. Therefore, all the above will allow us to identify and understand relationships between CVD and various lifestyle characteristics yet undiscovered by the available tools.

Abbreviations

CV:

Cross-validation

CVD:

Cardiovascular disease

DT:

Decision tree

ESC:

European Society of Cardiology

k-NN:

k-nearest neighbors

ML:

Machine learning

NPV:

Negative predictive value

PPV:

Positive predictive value

RF:

Random forest

References

  1. Benjamin-Chung J, Abedin J, Berger D, Clark A, Jimenez V, Konagaya E, Tran D, Arnold BF, Hubbard AE, Luby SP, Miguel E, Colford JM. Spillover effects on health outcomes in low- and middle-income countries: a systematic review. Int J Epidemiol. 2017. https://doi.org/10.1093/ije/dyx039.

  2. Mendenhall E, Kohrt BA, Norris SA, Ndetei D, Prabhakaran D. Non-communicable disease syndemics: poverty, depression, and diabetes among low-income populations. Lancet. 2017;389(10072):951–63. https://doi.org/10.1016/s0140-6736(17)30402-6.

    Article  PubMed  PubMed Central  Google Scholar 

  3. Klenk J, Keil U, Jaensch A, Christiansen MC, Nagel G. Changes in life expectancy 1950–2010: contributions from age-and disease-specific mortality in selected countries. Popul Health Metrics. 2016;14(1):20.

    Article  Google Scholar 

  4. Araújo F, Gouvinhas C, Fontes F, La Vecchia C, Azevedo A, Lunet N. Trends in cardiovascular diseases and cancer mortality in 45 countries from five continents (1980–2010). Eur J Prev Cardiol. 2014;21(8):1004–17.

    Article  PubMed  Google Scholar 

  5. Rubin JB, Borden WB. Coronary heart disease in young adults. Curr Atheroscler Rep. 2012;14(2):140–9. https://doi.org/10.1007/s11883-012-0226-3.

    Article  PubMed  Google Scholar 

  6. Harding S, Silva MJ, Molaodi OR, Enayat ZE, Cassidy A, Karamanos A, Read UM, Cruickshank JK. Longitudinal study of cardiometabolic risk from early adolescence to early adulthood in an ethnically diverse cohort. BMJ Open. 2016;6(12):013221.

    Google Scholar 

  7. Cooney MT, Dudina AL, Graham IM. Value and limitations of existing scores for the assessment of cardiovascular risk: a review for clinicians. J Am Coll Cardiol. 2009;54(14):1209–27.

    Article  PubMed  Google Scholar 

  8. Kannel WB, McGee D, Gordon T. A general cardiovascular risk profile: the Framingham study. Am J Cardiol. 1976;38(1):46–51.

    Article  CAS  PubMed  Google Scholar 

  9. Menotti A, Puddu P, Lanti M. Comparison of the Framingham risk function-based coronary chart with risk function from an italian population study. Eur Heart J. 2000;21(5):365–70.

    Article  CAS  PubMed  Google Scholar 

  10. Conroy R, Pyörälä K, Fitzgerald Ae, Sans S, Menotti A, De Backer G, De Bacquer D, Ducimetiere P, Jousilahti P, Keil U, et al. Estimation of ten-year risk of fatal cardiovascular disease in Europe: the SCORE project. Eur Heart J. 2003;24(11):987–1003.

    Article  CAS  PubMed  Google Scholar 

  11. Panagiotakos DB, Fitzgerald AP, Pitsavos C, Pipilis A, Graham I, Stefanadis C. Statistical modelling of 10-year fatal cardiovascular disease risk in Greece: the HellenicSCORE (a calibration of the ESC SCORE project). Hell J Cardiol. 2007;48(2):55–63.

    Google Scholar 

  12. Panagiotakos D. Health measurement scales: methodological issues. Open Cardiovasc Med J. 2009;3:160.

    Article  PubMed  PubMed Central  Google Scholar 

  13. Cooney MT, Cooney HC, Dudina A, Graham IM. Total cardiovascular disease risk assessment: a review. Curr Opin Cardiol. 2011;26(5):429–37.

    Article  PubMed  Google Scholar 

  14. Graham IM, Cooney M-T, Dudina A, Squarta S. What is my risk of developing cardiovascular disease? Eur J Cardiovasc Prev Rehabil. 2009;16(2_suppl):2–7.

    Article  Google Scholar 

  15. D’Agostino RB Sr, Grundy S, Sullivan LM, Wilson P, Group, C.R.P, et al. Validation of the Framingham coronary heart disease prediction scores: results of a multiple ethnic groups investigation. JAMA. 2001;286(2):180–7.

    Article  PubMed  Google Scholar 

  16. Georgousopoulou EN, Pitsavos C, Yannakoulia CM, Panagiotakos DB. Comparisons between survival models in predicting cardiovascular disease events: application in the Attica study (2002-2012). J Stat Appl Probab. 2015;4(2):203.

    Google Scholar 

  17. Kononenko I. Machine learning for medical diagnosis: history, state of the art and perspective. Artif Intell Med. 2001;23(1):89–109.

    Article  CAS  PubMed  Google Scholar 

  18. Yoo I, Alafaireet P, Marinov M, Pena-Hernandez K, Gopidi R, Chang J-F, Hua L. Data mining in healthcare and biomedicine: a survey of the literature. J Med Syst. 2012;36(4):2431–48.

    Article  PubMed  Google Scholar 

  19. Kourou K, Exarchos TP, Exarchos KP, Karamouzis MV, Fotiadis DI. Machine learning applications in cancer prognosis and prediction. Comput Struct Biotechnol J. 2015;13:8–17.

    Article  CAS  PubMed  Google Scholar 

  20. Wang S, Summers RM. Machine learning and radiology. Med Image Anal. 2012;16(5):933–51.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  21. Fabris F, De Magalhães JP, Freitas AA. A review of supervised machine learning applied to ageing research. Biogerontology. 2017;18(2):171–88.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  22. Weng SF, Reps J, Kai J, Garibaldi JM, Qureshi N. Can machine-learning improve cardiovascular risk prediction using routine clinical data? PLoS One. 2017;12(4):0174944. https://doi.org/10.1371/journal.pone.0174944.

    Article  CAS  Google Scholar 

  23. Michie D, Spiegelhalter DJ, Taylor CC. Machine learning, neural and statistical classification; 1994.

    Google Scholar 

  24. Venables WN, Ripley BD. Modern applied statistics with S-PLUS. New York : Springer; 2013.

  25. Kuhn, M., Weston, S., Coulter, N., code for C5.0 by R. Quinlan, M.C.C: C50: C5.0 decision trees and rule-based models. (2015). R package version 01.0–24. https://CRAN.R-project.org/package=C50

    Google Scholar 

  26. Liaw A, Wiener M. Classification and regression by randomforest. R News. 2002;2(3):18–22.

    Google Scholar 

  27. Pitsavos C, Panagiotakos DB, Chrysohoou C, Stefanadis C. Epidemiology of cardiovascular risk factors in Greece: aims, design and baseline characteristics of the ATTICA study. BMC Public Health. 2003;3(1):32.

    Article  PubMed  PubMed Central  Google Scholar 

  28. Panagiotakos D, Pitsavos C, Chrysohoou C, Palliou K, Lentzas I, Skoumas I, Stefanadis C. Dietary patterns and 5-year incidence of cardiovascular disease: a multivariate analysis of the ATTICA study. Nutr Metab Cardiovasc Dis. 2009;19(4):253–63.

    Article  CAS  PubMed  Google Scholar 

  29. Panagiotakos DB, Georgousopoulou EN, Pitsavos C, Chrysohoou C, Metaxa V, Georgiopoulos GA, Kalogeropoulou K, Tousoulis D, Stefanadis C, group, A.S, et al. Ten-year (2002–2012) cardiovascular disease incidence and all-cause mortality, in urban Greek population: the ATTICA study. Int J Cardiol. 2015;180:178–84.

    Article  PubMed  Google Scholar 

  30. Troyanskaya O, Cantor M, Sherlock G, Brown P, Hastie T, Tibshirani R, Botstein D, Altman RB. Missing value estimation methods for DNA microarrays. Bioinformatics. 2001;17(6):520–5.

    Article  CAS  PubMed  Google Scholar 

  31. Vlismas K, Panagiotakos DB, Pitsavos C, Chrysohoou C, Skoumas Y, Stavrinos V, Stefanadis C. The role of dietary and socioeconomic status assessment on the predictive ability of the HellenicSCORE. Hell J Cardiol. 2011;52(5):391–8.

    Google Scholar 

  32. World Health Organization: Mortality data statistics. 2006. http://apps.who.int/healthinfo/statistics/mortality/whodpms/. Accessed 10 Feb 2006.

  33. Organization, W.H. The ICD-10 classification of mental and behavioural disorders: clinical descriptions and diagnostic guidelines. Geneva : World Health Organization; 1992.

  34. Domingos P, Pazzani M. On the optimality of the simple bayesian classifier under zero-one loss. Mach Learn. 1997;29(2):103–30.

    Article  Google Scholar 

  35. Cortes C, Vapnik V. Support-vector networks. Mach Learn. 1995;20(3):273–97.

    Google Scholar 

  36. LeCun Y, Bengio Y, Hinton G. Deep learning. Nature. 2015;521(7553):436–44.

    Article  CAS  PubMed  Google Scholar 

  37. Cover T, Hart P. Nearest neighbor pattern classification. IEEE Trans Inf Theory. 1967;13(1):21–7.

    Article  Google Scholar 

  38. Lin Y, Jeon Y. Random forests and adaptive nearest neighbors. J Am Stat Assoc. 2006;101(474):578–90.

    Article  CAS  Google Scholar 

  39. Breiman L, Cutler A. Random forests-classification description. Berkeley 2: Department of Statistics; 2007.

    Google Scholar 

  40. Steurer J, Fischer JE, Bachmann LM, Koller M, ter Riet G. Communicating accuracy of tests to general practitioners: a controlled study. BMJ. 2002;324(7341):824–6.

    Article  PubMed  PubMed Central  Google Scholar 

  41. R Core Team. R: a language and environment for statistical computing. R Foundation for Statistical, Computing, Vienna, Austria: R Foundation for Statistical Computing; 2017. https://www.R-project.org/

  42. Geman S, Bienenstock E, Doursat R. Neural networks and the bias/variance dilemma. Neural Netw. 2008;4(1):1–58.

    Google Scholar 

  43. Dybowski R, Gant V, Weller P, Chang R. Prediction of outcome in critically ill patients using artificial neural network synthesised by genetic algorithm. Lancet. 1996;347(9009):1146–50.

    Article  CAS  PubMed  Google Scholar 

  44. Voss R, Cullen P, Schulte H, Assmann G. Prediction of risk of coronary events in middle-aged men in the prospective cardiovascular münster study (procam) using neural networks. Int J Epidemiol. 2002;31(6):1253–62.

    Article  PubMed  Google Scholar 

Download references

Acknowledgements

The authors would like to thank the filed investigators of “ATTICA” study: Natassa Katinioti, Akis Zeimbekis, Spiros Vellas, Dina Massoura and Lambros Papadimitriou for their assistance in physical examination, Charalabos Papageorgiou, Efi Tsetsekou for their assistance in psychological evaluation, Marina Toutouza, George Dedoussis, Carmen Vassiliadou, Constadina Tselika and Sia Poulopoulou for their assistance in biochemical and genetic evaluation, Manolis Kambaxis for the nutritional evaluation, and Maria Toutouza for the database management.

Funding

This paper has been conducted within the Ageing Trajectories of Health: Longitudinal Opportunities and Synergies (ATHLOS) project. The ATHLOS project has received funding from the European Union’s Horizon 2020 research and innovation program under grant agreement No 635316. The ATTICA study was supported by research grants from the Hellenic Cardiological Society (HCS2002). The funding body has not played any role in the preparation of this paper.

Availability of data and materials

The data are available upon request. For expression of interest, please contact Prof. Demosthenes Panagiotakos (d.b.panagiotakos@usa.net.)

Disclaimer

The views expressed in this manuscript are those of the authors and do not necessarily represent the views or policies of the World Health Organization.

Author information

Authors and Affiliations

Authors

Contributions

AD had the concept of the paper and performed all the analyses, FFC, WE, ASN, HA supervised the machine learning approach and the statistical applications, JLA, JMH, SC, MN critically reviewed the paper, EG, CP supervised the ATTICA study, and critically reviewed the interpretation of the results, DBP had the concept of the paper, critically reviewed the paper and interpreted the results. All authors have read and approved the manuscript.

Corresponding author

Correspondence to Demosthenes B. Panagiotakos.

Ethics declarations

Authors’ information

Somnath Chatterji

Health Metrics and Measurement, World Health Organization, Geneva, Switzerland.

Ethics approval and consent to participate

The authors declare that they have obtained written consent from all participants of the study, and the study has been granted ethical approval by the Institutional Ethics Committees of the First Cardiology Clinic, School of Medicine, University of Athens and Harokopio University and was conducted according to the medical ethics defined in the Declaration of Helsinki.

Consent for publication

Not applicable.

Competing interests

Demosthenes Panagiotakos is a member of the editorial board of BMC Medical Research Methodology. The rest of the authors declare no conflicts of interest related to this research work.

Publisher’s Note

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

Rights and permissions

Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Dimopoulos, A.C., Nikolaidou, M., Caballero, F.F. et al. Machine learning methodologies versus cardiovascular risk scores, in predicting disease risk. BMC Med Res Methodol 18, 179 (2018). https://doi.org/10.1186/s12874-018-0644-1

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/s12874-018-0644-1

Keywords