Evaluating Feature Selection Methods and Feature Contributions for Cardiovascular Disease Risk Prediction

preprint OA: closed CC-BY-4.0
📄 Open PDF Full text JSON View at publisher

Abstract

Background Cardiovascular disease (CVD) remains the foremost contributor to global illness and death, underscoring the critical need for effective tools that can predict risk at early stages to support preventive care and timely clinical decisions. With the growing complexity of healthcare data, machine learning has shown considerable promise in extracting insights that enhance medical decision-making. Nonetheless, the effectiveness and clarity of machine learning models largely rely on the relevance and quality of input features. Methods In this work, we explored and compared three distinct feature selection strategies—Alternating Decision Tree (ADT)-based analysis, Cross-Validated Feature Evaluation (CVFE), and Hypergraph-Based Feature Evaluation (HFE)—to isolate the most predictive clinical variables for assessing CVD risk. Our analysis utilized data from the National Health and Nutrition Examination Survey (NHANES), administered by the National Center for Health Statistics under the Centers for Disease Control and Prevention (CDC), encompassing demographic, clinical, laboratory, and survey data collected across the U.S. from August 2021 through August 2023. Distinct sets of features obtained through the selection techniques were used to develop eXtreme Gradient Boosting (XGBoost) models, which were then assessed for predictive effectiveness. To improve clarity and understand the model’s decision-making, SHapley Additive exPlanations (SHAP) was utilized to interpret the influence of each feature in the top-performing model. Results Among the approaches, the HFE method achieved the most accurate results, reaching 75% accuracy and an AUC of 0.7857, outperforming the alternatives. The most influential predictors identified by the best model included age, total cholesterol, glycohemoglobin levels, systolic blood pressure, smoking history, and a diagnosis of diabetes. The web application, accessible at https://shiny.tricities.wsu.edu/cvdr-prediction/ , presents predictive results, probability scores, and a SHAP plot generated from the model trained using the feature set selected by the hypergraph-based approach. Conclusions This study highlights the importance of strategic feature selection in refining predictive accuracy and interpretability, offering a practical data-centric approach that could aid clinicians in evaluating cardiovascular risk and tailoring preventive care. Trial registration Not applicable as this research is not a clinical trial.
Full text 43,998 characters · extracted from preprint-html · click to expand
Evaluating Feature Selection Methods and Feature Contributions for Cardiovascular Disease Risk Prediction | medRxiv /* */ /* */ <!-- <!-- /*! * yepnope1.5.4 * (c) WTFPL, GPLv2 */ (function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0];var j=d.createElement(s);var dl=l!='dataLayer'?'&l='+l:'';j.src='//www.googletagmanager.com/gtm.js?id='+i+dl;j.type='text/javascript';j.async=true;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-P4HH5NV'); Skip to main content Home About Submit ALERTS / RSS Search for this keyword Advanced Search Evaluating Feature Selection Methods and Feature Contributions for Cardiovascular Disease Risk Prediction View ORCID Profile Suraiya Akhter , John H. Miller doi: https://doi.org/10.1101/2025.07.12.25331445 Suraiya Akhter 1 School of Business and Technology, Emporia State University , Emporia, Kansas, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Suraiya Akhter For correspondence: sakhter1{at}emporia.edu John H. Miller 2 School of Engineering and Applied Sciences, Washington State University , Richland, Washington, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site Abstract Full Text Info/History Metrics Supplementary material Data/Code Preview PDF Abstract Background Cardiovascular disease (CVD) remains the foremost contributor to global illness and death, underscoring the critical need for effective tools that can predict risk at early stages to support preventive care and timely clinical decisions. With the growing complexity of healthcare data, machine learning has shown considerable promise in extracting insights that enhance medical decision-making. Nonetheless, the effectiveness and clarity of machine learning models largely rely on the relevance and quality of input features. Methods In this work, we explored and compared three distinct feature selection strategies—Alternating Decision Tree (ADT)-based analysis, Cross-Validated Feature Evaluation (CVFE), and Hypergraph-Based Feature Evaluation (HFE)—to isolate the most predictive clinical variables for assessing CVD risk. Our analysis utilized data from the National Health and Nutrition Examination Survey (NHANES), administered by the National Center for Health Statistics under the Centers for Disease Control and Prevention (CDC), encompassing demographic, clinical, laboratory, and survey data collected across the U.S. from August 2021 through August 2023. Distinct sets of features obtained through the selection techniques were used to develop eXtreme Gradient Boosting (XGBoost) models, which were then assessed for predictive effectiveness. To improve clarity and understand the model’s decision-making, SHapley Additive exPlanations (SHAP) was utilized to interpret the influence of each feature in the top-performing model. Results Among the approaches, the HFE method achieved the most accurate results, reaching 75% accuracy and an AUC of 0.7857, outperforming the alternatives. The most influential predictors identified by the best model included age, total cholesterol, glycohemoglobin levels, systolic blood pressure, smoking history, and a diagnosis of diabetes. The web application, accessible at https://shiny.tricities.wsu.edu/cvdr-prediction/ , presents predictive results, probability scores, and a SHAP plot generated from the model trained using the feature set selected by the hypergraph-based approach. Conclusions This study highlights the importance of strategic feature selection in refining predictive accuracy and interpretability, offering a practical data-centric approach that could aid clinicians in evaluating cardiovascular risk and tailoring preventive care. Trial registration Not applicable as this research is not a clinical trial. Introduction Globally, cardiovascular diseases (CVDs) remain the primary cause of death, responsible for around 17.9 million fatalities each year, which equates to nearly one-third of all deaths worldwide [ 1 ]. This broad category includes multiple heart and circulatory system disorders such as coronary artery disease, stroke, peripheral artery disease, rheumatic heart conditions, and congenital cardiovascular defects [ 2 , 3 ]. Among these, coronary artery disease constitutes the majority, accounting for approximately 64% of CVD occurrences [ 2 ]. These statistics highlight the critical need for robust early detection methods and preventive healthcare measures to reduce the global impact of CVD. CVDs result from a multifaceted interaction between controllable and uncontrollable risk factors. Lifestyle-related elements such as elevated blood cholesterol, diabetes, excess body weight, tobacco use, and lack of physical activity are among the key modifiable influences [ 4 , 5 ]. In contrast, unchangeable determinants include advancing age, biological sex, and racial or ethnic background [ 6 – 9 ]. The widespread adoption of unhealthy behaviors in today’s society has intensified these risks [ 10 , 11 ]. Therefore, identifying high-risk individuals with precision and at an early stage is essential to enable preventive actions, slow disease progression, and decrease mortality rates. Traditional clinical risk assessment tools—such as the Framingham Risk Score, SCORE risk charts, and the REGICOR risk score—have been widely used in practice [ 12 – 14 ]. However, these models often rely on a limited set of features and assume linear relationships between predictors and outcomes, potentially oversimplifying the true complexity of cardiovascular risk. Moreover, these models can be population-specific and may lack generalizability across diverse demographic and clinical settings. To address these challenges, machine learning has gained prominence as an advanced approach for improving the accuracy of cardiovascular risk assessment. Machine learning methods are capable of modeling complex, non-linear interactions among diverse features, offering greater flexibility and predictive accuracy than traditional statistical techniques [ 15 – 17 ]. Frequently applied machine learning algorithms in the prediction of cardiovascular diseases encompass decision tree models, support vector machines (SVM), logistic regression, k -nearest neighbors (KNN), random forest classifiers, gradient boosting methods, XGBoost, and advanced deep learning architectures like convolutional neural networks (CNNs) [ 2 , 7 , 18 – 22 ]. While personalized predictive modeling has advanced, significant difficulties remain in fully grasping the intricate relationships between various contributing factors, their differing effects across population subgroups, and how to tailor the most effective treatment plans for each individual. A broad range of socio-demographic, behavioral, and clinical factors contribute to variability in CVD outcomes, such as gender, age, race/Hispanic origin, education level, blood pressure readings, body mass index, waist circumference, lifestyle and physical activity indicators, sleep behavior, diabetes status, socioeconomic indicators, lipid profiles, glycemic control, inflammation markers, and smoking history. The complexity and interplay of these variables highlight the need for data-driven models capable of capturing these nuances. We hypothesize that a machine learning method can be harnessed to uncover and rank the most influential factors in predicting CVD risk, offering an objective and individualized framework for risk evaluation. Such a model has the potential to assist healthcare professionals in selecting the most suitable, patient-specific treatment plans to improve CVD outcomes. For our study, we utilized data from the National Health and Nutrition Examination Survey (NHANES), a publicly accessible dataset curated by the Centers for Disease Control and Prevention (CDC). We developed a baseline predictive pipeline for CVD risk prediction using a machine learning algorithm and integrated robust feature selection techniques. By evaluating feature contributions, we aim to guide the collection and prioritization of essential clinical and lifestyle data for optimizing risk prediction and treatment decisions. This approach is intended to support evidence-based decision-making by health professionals and improve treatment outcomes for patients at risk of CVD. A web-based platform is available at https://shiny.tricities.wsu.edu/cvdr-prediction/ , offering a comprehensive prediction framework that integrates the optimal feature evaluation method—hypergraph-based feature evaluation (HFE). The system supports SHAP-based interpretability and enables batch analysis of multiple samples. Users can also incorporate new data to further enhance the performance of the underlying predictive models. Materials and methods Figure 1 outlines the full workflow of our proposed methodology. The process begins with collecting data from individuals classified as either at risk for CVD or not at risk. From this data, a pool of candidate features is generated. We then apply multiple feature evaluation techniques—including the Alternating Decision Tree (ADT) [ 23 , 24 ], Cross-Validated Feature Evaluation (CVFE) [ 25 ], and Hypergraph-Based Feature Evaluation (HFE) [ 26 ]—to eliminate features with low relevance or minimal impact. The refined feature subsets are subsequently utilized to train an XGBoost model, which is evaluated for its predictive performance. Download figure Open in new tab Figure 1 Overview of the procedure for detecting cardiovascular risk. Data and features The data for this study was sourced from the NHANES, a publicly available program overseen by the National Center for Health Statistics and the Centers for Disease Control and Prevention (CDC) [ 27 ]. The final dataset consisted of 341 individuals identified as having CVD risk and 3,230 individuals without such risk. To mitigate class imbalance, a random sampling strategy was applied to downsample the non-CVD group to 341 cases, achieving a balanced dataset. To construct the model, the dataset was partitioned such that 80% was used for training purposes, while the remaining 20 was reserved for evaluation on a test set. Table 1 presents the selected variables, their categorical groupings, demographic distributions, and corresponding p -values, with a threshold of p □<□0.05 denoting statistical significance. The outcome variable, CVD risk, was defined such that individuals with a reported history of stroke, heart attack, coronary heart disease, or heart failure were classified as at risk for CVD. A total of 22 features were initially included as candidate predictors and are listed in Supplementary Table S1 ( Supplementary Material ). View this table: View inline View popup Table 1 Summary of the demographic profile and clinical features of the study population. Assessment of predictive features To build an effective predictive model, it is vital to discard non-contributory features during the preprocessing stage. In our study, we independently applied three feature reduction techniques—ADT [ 23 , 24 ], CVFE [ 25 ], and HFE [ 26 ]—to refine the original feature set by eliminating attributes with limited predictive value. The ADT approach merges the straightforward, interpretable form of a conventional decision tree with the performance enhancements derived from boosting algorithms. This technique structures its model using decision tree stumps, which are foundational units commonly associated with boosting. One of the notable advantages of ADT is its flexible branching structure; unlike traditional trees with mutually exclusive paths, ADT allows overlapping routes, enabling multiple decision paths to contribute simultaneously to a prediction. The structure begins with a prediction node that assigns a numerical score, followed by layers of decision nodes that contain conditions used to evaluate input features. These layers alternate in a pattern—prediction nodes followed by decision nodes and vice versa. Decision nodes apply specific logical criteria, while prediction nodes assign fixed numeric contributions to the outcome. Importantly, prediction nodes appear at both the starting point (root) and terminal ends (leaves) of the tree, underscoring the distinctive, layered composition and operational logic that sets ADT apart from conventional decision tree models. The ADT constructs a series of classification rules, each composed of three main elements: a prerequisite condition, a logical condition, and a pair of numerical scores. The logical condition takes the form of a predicate expressed as “feature threshold,” while the prerequisite is a compound logical statement formed by combining multiple such conditions using conjunctions. These rules are evaluated hierarchically using nested “if” statements, and their respective scores are used to compute the final prediction for a data sample. The procedure initiates with a root rule defined by unconditional logic— both the prerequisite and condition are set to “true”—and corresponding scores are computed using the weights assigned to training instances. Initially, each training sample is assigned an equal weight of , where t denotes the total number of training examples. During the training process, the ADT algorithm repeatedly generates new rules by identifying the most effective pair of prerequisite and condition that minimizes a specific objective function, denoted as z . This function evaluates the discriminatory power of a rule based on its ability to separate positive and negative classes effectively. For every new rule created, updated scores are computed through a boosting-based mechanism. Training sample weights are also revised in accordance with the rule’s classification accuracy on each example, emphasizing incorrectly predicted instances to refine future splits. This iterative process continues until a predetermined stopping criterion is satisfied—such as reaching the maximum number of iterations or when further performance gains become negligible. The resulting rule set defines an alternating decision tree, where each prediction node holds a scalar value, and the tree’s topology is dictated by the prerequisite logic embedded within the constructed rules. Only a portion of the total feature set is used in the final ADT, reflecting the most relevant variables identified through this process. For implementation, we evaluated 50 randomly selected values for B , representing the number of boosting cycles. The final ADT model—shown in Supplementary Figure S1 ( Supplementary Material )—demonstrates the decision structure derived from 22 candidate features. Ultimately, 14 features were retained through the ADT-based selection process, as presented in Supplementary Table S2 ( Supplementary Material ). In addition, we incorporated both the CVFE approach and a hypergraph-based technique to refine the initial collection of features. The CVFE process is illustrated in Figure 2 . Initially, the dataset was randomly divided into c distinct subsets. For each subset, we applied the XGBoost algorithm to determine the most influential features, optimizing model hyperparameters through a grid search procedure. Feature selection was conducted independently for every subset, followed by the construction of an intersected feature set comprising features common to all subsets. This entire process was repeated e times, resulting in e intersected feature sets. Subsequently, any feature appearing in at least ( p × 100)% of these intersected sets was incorporated into the final selected feature list. Table 2 details the quantity of features obtained from CVFE under various parameter settings of c , e , and p . A comprehensive list of the selected key features can be found in Supplementary Tables S3-S6 included in the Supplementary Material . Download figure Open in new tab Figure 2 Visual representation of the feature selection process using the Cross-Validated Feature Evaluation (CVFE) method. View this table: View inline View popup Table 2 Summary of the number of selected features and corresponding evaluation metrics—accuracy, precision, recall, F1 score, and AUC—on the testing dataset for different feature subsets. The HFE technique involves modeling feature interactions through a hypergraph structure. Unlike traditional graphs, represented as G( V , E ), where vertices ( V ) are connected by pairwise edges ( E ), a hypergraph generalizes this concept by permitting each edge—termed a hyperedge—to link multiple vertices simultaneously. Formally, a hypergraph is defined as G( V , E ), with V as the set of nodes and E comprising hyperedges, each of which is a subset of V. Figure 3 contrasts a standard graph with a hypergraph, while a hypergraph visualization of the complete training dataset is provid d in Supplementary Figure S2 ( Supplementary Material ). In applying HFE, each continuous feature was discretized into a fixed number of intervals (bins), and the feature relevance scores were computed based on the complex, multi-dimensional relationships captured within the hypergraph structure. These scores were derived by assigning weights to the hyperedges that represent the corresponding feature bins. The ranking of features was guided by the hypergraph cut conductance minimization framework [ 26 ], ultimately producing a rating vector that reflects the relative importance of each feature. To determine the final feature subset, the top z features were selected based on their sorted importance values, where z is computed as β × m ( m being the total number of features and β representing the selection ratio). In our experiments, we used discretization settings of bin = 5 and bin = 10. The resulting feature counts for varying β values and bin sizes are reported in Table 2 . The specific features retained through HFE under each bin configuration are detailed in Supplementary Tables S6 and S7 ( Supplementary Material ). Download figure Open in new tab Figure 3 Comparison between a standard graph and a hypergraph. Web application As shown in Figure 4 , the HFE approach was incorporated into a machine learning-powered web application. This tool delivers both classification outcomes and associated probability scores. Instructions for uploading datasets, performing binary classification, and estimating probabilities are provided within the application interface. Users have the option to download relevant output files and contribute additional training data, thereby improving model performance. The tool also supports the export of a SHAP visualization, allowing users to examine how top-ranked features influence predictions. The web application is publicly available at https://shiny.tricities.wsu.edu/cvdr-prediction/ . Download figure Open in new tab Figure 4 The web application for cardiovascular disease risk prediction. Code and data availability The full set of experimental data along with all relevant scripts can be accessed at https://github.com/suraiya14/CVDRP , as referenced in the Supplementary Material . Results Following the reduction of the original feature set using three independent feature selection strategies, we developed individual predictive models based on the selected features using the XGBoost algorithm [ 28 ]. To interpret and analyze the contribution of each feature within these models, we applied SHapley Additive exPlanations (SHAP) [ 29 ]. SHAP provides a unified framework for attributing the impact of each input variable by calculating how much each feature contributes to the model’s output, effectively measuring its marginal effect on prediction outcomes. Performance assessment An XGBoost-based predictive model was constructed by utilizing different sets of features selected through ADT, CVFE, and HFE methodologies in conjunction with the training data. The model’s performance was assessed on the test data using the metrics defined in Equations 1 - 4 , where TP, TN, FP, and FN represent true positive, true negative, false positive, and false negative counts, respectively. Among these evaluation metrics, accuracy was employed to determine the ratio of correctly predicted outcomes relative to the overall number of samples in the dataset. In addition, we computed recall and precision to further evaluate model performance. Recall quantifies the ability of the model to correctly detect actual positive cases, whereas precision reflects the proportion of positive predictions that are genuinely correct. To provide a balanced evaluation that incorporates both precision and recall, we utilized the F1 score, which is defined as their harmonic mean. Moreover, the Area Under the Curve (AUC) metric was used to assess the effectiveness of the binary classifier. Higher AUC values correspond to stronger model performance, with a score of 1 indicating flawless classification and 0.5 representing performance equivalent to random guessing. Table 2 presents a detailed comparison of XGBoost model performance using feature subsets selected through ADT, CVFE, and HFE techniques. Corresponding confusion matrices for each reduced feature set are visualized in Supplementary Figure S3 ( Supplementary Material ). Overall, the HFE feature set (bin=10, β =25) yielded superior predictive performance compared to the ADT and CVFE sets, with the best model successfully identifying 47 out of 60 patients at risk for cardiovascular disease. Features identified using the HFE Approach The highest predictive performance was attained using the XGBoost algorithm paired with the HFE feature selection method configured with bin=10 and β =25. Figure 5 presents a SHAP summary bar plot illustrating the importance rankings of the features identified through SHAP value analysis applied to that model. From an initial set of 22 features, HFE selected 6 key predictors: RIDAGEYR (age at screening), LBXTC (total cholesterol in mg/dL), LBXGH (glycohemoglobin), BPXOSY1 (systolic blood pressure via oscillometric measurement), SMQ020 (history of smoking at least 100 cigarettes), and DIQ010 (physician-diagnosed diabetes), ordered according to their relative influence on the model’s predictions. Download figure Open in new tab Figure 5 Importance of features selected by the XGBoost model shown as a bar chart. The x -axis represents the mean absolute SHAP value for each feature, reflecting its average contribution to the model’s predictions. Features are arranged from most to least influential. Feature impact assessment Figure 6 presents the importance of the key continuous features identified in Figure 5 through SHAP value analysis. Each point corresponds to an individual patient, with overlapping points slightly offset (jittered) to reflect the density of data. The x -axis displays how much each feature influences the model’s prediction, where higher SHAP values correspond to an elevated risk of CVD. The color gradient—from yellow to purple—represents low to high feature values, respectively. Notably, increased SHAP values for age, glycohemoglobin levels, and systolic blood pressure (oscillometric measurement) are linked to a greater likelihood of CVD. While higher total cholesterol often aligns with increased risk, this pattern does not hold consistently across all patients. Download figure Open in new tab Figure 6 SHAP analysis illustrating the impact of the top continuous features on model predictions. Figure 7 displays boxplots representing the SHAP values for the different categories of the categorical features identified in Figure 5 . Since elevated SHAP values correspond to increased CVD risk, the boxplots allow for straightforward interpretation of risk levels across categories. Specifically, Figure 7(a) shows that individuals who have smoked at least 100 cigarettes in their lifetime exhibit a higher CVD risk. Likewise, Figure 7(b) indicates that patients diagnosed with diabetes tend to have an elevated risk of developing CVD. Download figure Open in new tab Figure 7 SHAP analysis illustrating the impact of the top categorical features on model predictions. Discussion and conclusions Accurate individualized prediction plays a vital role in enhancing patient outcomes in CVD risk evaluation. This work introduced a CVD risk prediction model built on the XGBoost machine learning framework. By systematically removing unnecessary and non-contributory features, we assessed the model’s effectiveness using a streamlined feature subset. The resulting web application incorporates the hypergraph-based strategy and enables users to apply this method to predict cardiovascular risk in external test datasets. Furthermore, users can expand the training dataset by incorporating additional samples and conduct SHAP-based interpretation to explore the influence of key features. Therefore, the prediction pipeline successfully pinpointed critical variables affecting CVD risk, offering valuable insights for tailored risk assessment, guiding therapeutic approaches, and aiding clinical decision processes. Our results are consistent with existing literature. For example, Peng et al. [ 30 ] demonstrated that the XGBoost and XGBH algorithms achieved superior predictive accuracy, with systolic blood pressure identified as the most influential variable. Likewise, Khaw and Wareham [ 31 ] emphasized the significant link between glycated hemoglobin levels and cardiovascular risk, noting that even slight increases below the diabetic threshold correspond to a 10–20% elevation in CVD risk. The widely implemented QRISK3 model in the UK incorporates factors such as age, systolic blood pressure, cholesterol ratios, smoking habits, and diabetes status as primary indicators of cardiovascular risk [ 32 ]. Additionally, Shishehbori and Awan [ 33 ] surveyed recent machine learning methods in this field, underscoring that conventional clinical markers— including age, blood pressure, cholesterol, smoking history, and diabetes—continue to be the most influential predictors across diverse models. Our model highlighted age as the most impactful predictor, a conclusion corroborated by multiple prior investigations [ 34 – 37 ] that emphasize age as a key determinant of cardiovascular disease risk. Furthermore, the identification of other important variables—including total cholesterol, glycated hemoglobin, systolic blood pressure, smoking history, and diabetes status—carries substantial clinical relevance. Prioritizing these features allows healthcare providers to enhance the accuracy of risk stratification, tailor prevention efforts, and effectively allocate resources for managing cardiovascular conditions. While our methodology offers notable advantages, several limitations must be acknowledged. The accuracy of feature contribution assessments may be compromised in subpopulations where data are limited. Moreover, the present model is not designed to handle time-to-event analyses or longitudinal forecasting, restricting its usefulness for tracking disease progression over time. Future research should aim to expand the model’s capabilities to address these outcomes. In conclusion, we constructed and validated a machine learning framework to estimate cardiovascular disease risk by leveraging a carefully selected set of features from NHANES datasets. Although the model achieved satisfactory predictive performance, there remains room for improvement in both accuracy and AUC metrics. The inclusion of more detailed, high dimensional data sources, such as multi-omics profiles or longitudinal clinical measurements, has the potential to boost predictive precision and clinical relevance. Data Availability All data produced are available online at https://github.com/suraiya14/CVDRP . Supporting information The supplementary material for this article is provided herewith the manuscript. (DOCX) Declarations Ethics approval and consent to participate The study was conducted in accordance with the Declaration of Helsinki. The work is based on publicly available data; therefore, consent to participate was not required. Consent for publication Consent for publication was obtained. Availability of data and materials The full set of experimental data along with all relevant scripts can be accessed at https://github.com/suraiya14/CVDRP , as referenced in the Supplementary Material . Competing interests The authors declare that they have no competing interests. Funding The authors declare that this research did not receive any specific grant from funding agencies in the public, commercial, or not-for-profit sectors. Authors’ contributions SA: Conceptualization, data collection, formal analysis, software implementation, validation, visualization, and writing manuscript. JHM: Conceptualization, supervision, reviewing analyses, and editing the manuscript. All authors read and approved the final manuscript. Acknowledgements Not applicable. Footnotes The manuscript has been updated to include a discussion of the recently developed web application (https://shiny.tricities.wsu.edu/cvdr-prediction/). References 1. ↵ Organization WH . Health Stats 2017 : World Health Organization ; 2017 [June 2025]. Available from: https://www.who.int/health-topics/cardiovascular-diseases#tab=tab_1 . 2. ↵ Ogunpola A , Saeed F , Basurra S , Albarrak AM , Qasem SN . Machine learning-based predictive models for detection of cardiovascular diseases . Diagnostics . 2024 ; 14 ( 2 ): 144 . OpenUrl PubMed 3. ↵ Mousa D , Zayed N , Yassine IA , editors. Automatic cardiac MRI localization method . 2014 Cairo International Biomedical Engineering Conference (CIBEC) ; 2014 : IEEE . 4. ↵ Sen SK . Predicting and diagnosing of heart disease using machine learning algorithms . International Journal of Engineering and Computer Science . 2017 ; 6 ( 6 ): 21623 – 31 . OpenUrl 5. ↵ Yazdani A , Varathan KD , Chiam YK , Malik AW , Wan Ahmad WA . A novel approach for heart disease prediction using strength scores with significant predictors . BMC medical informatics and decision making . 2021 ; 21 ( 1 ): 194 . OpenUrl 6. ↵ Guarneros-Nolasco LR , Cruz-Ramos NA , Alor-Hernández G , Rodríguez-Mazahua L , Sánchez-Cervantes JL . Identifying the main risk factors for cardiovascular diseases prediction using machine learning algorithms . Mathematics . 2021 ; 9 ( 20 ): 2537 . OpenUrl 7. ↵ Mandava M . MDensNet201-IDRSRNet: Efficient cardiovascular disease prediction system using hybrid deep learning . Biomedical Signal Processing and Control . 2024 ; 93 : 106147 . OpenUrl 8. Pu L-N , Zhao Z , Zhang Y-T . Investigation on cardiovascular risk prediction using genetic information . IEEE Transactions on Information Technology in Biomedicine . 2012 ; 16 ( 5 ): 795 – 808 . OpenUrl PubMed 9. ↵ Hossen MA , Tazin T , Khan S , Alam E , Sojib HA , Monirujjaman Khan M , et al. Supervised machine learningl_Jbased cardiovascular disease analysis and prediction . Mathematical Problems in Engineering . 2021 ; 2021 ( 1 ): 1792201 . OpenUrl 10. ↵ Pouriyeh S , Vahid S , Sannino G , De Pietro G , Arabnia H , Gutierrez J , editors. A comprehensive investigation and comparison of machine learning techniques in the domain of heart disease . 2017 IEEE symposium on computers and communications (ISCC) ; 2017 : IEEE . 11. ↵ Ambekar S , Phalnikar R , editors. Disease risk prediction by using convolutional neural network . 2018 Fourth international conference on computing communication control and automation (ICCUBEA) ; 2018 : IEEE . 12. ↵ Gil-Guillen V , Orozco-Beltran D , Maiques-Galan A , Aznar-Vicente J , Navarro J , Cea-Calvo L , et al. Agreement between REGICOR and SCORE scales in identifying high cardiovascular risk in the Spanish population . Revista Espanola De Cardiologia . 2007 ; 60 ( 10 ): 1042 . OpenUrl PubMed 13. Khandoker AH , Al Zaabi Y , Jelinek HF , editors. What can tone and entropy tell us about risk of cardiovascular diseases? 2019 Computing in Cardiology (CinC) ; 2019 : IEEE . 14. ↵ Assmann G , Cullen P , Schulte H . Simple scoring scheme for calculating the risk of acute coronary events based on the 10-year follow-up of the prospective cardiovascular Munster (PROCAM) study . Circulation . 2002 ; 105 ( 3 ): 310 – 5 . OpenUrl Abstract / FREE Full Text 15. ↵ Patel J , TejalUpadhyay D , Patel S . Heart disease prediction using machine learning and data mining technique . Heart Disease . 2015 ; 7 ( 1 ): 129 – 37 . OpenUrl 16. Solanki A , Barot MP . Study of heart disease diagnosis by comparing various classification algorithms . International Journal of Engineering and Advanced Technology . 2019 ; 8 ( 2S2 ): 40 – 2 . OpenUrl 17. ↵ Kiran P , Swathi A , Sindhu M , Manikanta Y . Effective heart disease prediction using hybrid machine learning technique . South Asian Journal of Engineering and Technology . 2022 ; 12 ( 3 ): 123 – 30 . OpenUrl 18. ↵ Azmi J , Arif M , Nafis MT , Alam MA , Tanweer S , Wang G . A systematic review on machine learning approaches for cardiovascular disease prediction using medical big data . Medical engineering & physics . 2022 ; 105 : 103825 . OpenUrl PubMed 19. Rahim A , Rasheed Y , Azam F , Anwar MW , Rahim MA , Muzaffar AW . An integrated machine learning framework for effective prediction of cardiovascular diseases . IEEE access . 2021 ; 9 : 106575 – 88 . OpenUrl 20. Rubini P , Subasini C , Katharine AV , Kumaresan V , Kumar SG , Nithya T . A cardiovascular disease prediction using machine learning algorithms . Annals of the Romanian Society for Cell Biology . 2021 ; 25 ( 2 ): 904 – 12 . OpenUrl 21. Elsayed HAG , Syed L , editors. An automatic early risk classification of hard coronary heart diseases using framingham scoring model . Proceedings of the Second International Conference on Internet of Things, Data and Cloud Computing ; 2017 . 22. ↵ DeGroat W , Abdelhalim H , Patel K , Mendhe D , Zeeshan S , Ahmed Z . Discovering biomarkers associated and predicting cardiovascular disease with high accuracy using a novel nexus of machine learning techniques for precision medicine . Scientific reports . 2024 ; 14 ( 1 ): 1 . OpenUrl PubMed 23. ↵ Akhter S , Miller JH . BPAGS: a web application for bacteriocin prediction via feature evaluation using alternating decision tree, genetic algorithm, and linear support vector classifier . Frontiers in Bioinformatics . 2024 ; 3 : 1284705 . OpenUrl PubMed 24. ↵ Freund Y , Mason L , editors. The alternating decision tree learning algorithm . icml ; 1999 . 25. ↵ Yang M-R , Wu Y-W . A Cross-Validated Feature Selection (CVFS) approach for extracting the most parsimonious feature sets and discovering potential antimicrobial resistance (AMR) biomarkers . Computational and Structural Biotechnology Journal . 2023 ; 21 : 769 – 79 . OpenUrl 26. ↵ Misiorek P , Janowski S . Hypergraph-based importance assessment for binary classification data . Knowledge and Information Systems . 2023 ; 65 ( 4 ): 1657 – 83 . OpenUrl 27. ↵ Terry A , Chiappa M , McAllister J , Woodwell D , Graber J. Plan and operations of the National Health and Nutrition Examination Survey, August 2021–August 2023 . 2024 . 28. ↵ Chen T , Guestrin C , editors. Xgboost: A scalable tree boosting system . Proceedings of the 22nd acm sigkdd international conference on knowledge discovery and data mining ; 2016 . 29. ↵ Lundberg SM , Erion G , Chen H , DeGrave A , Prutkin JM , Nair B , et al. From local explanations to global understanding with explainable AI for trees . Nature machine intelligence . 2020 ; 2 ( 1 ): 56 – 67 . OpenUrl PubMed 30. ↵ Peng M , Hou F , Cheng Z , Shen T , Liu K , Zhao C , et al. Prediction of cardiovascular disease risk based on major contributing features . Scientific Reports . 2023 ; 13 ( 1 ): 4778 . OpenUrl PubMed 31. ↵ Khaw K-T , Wareham N . Glycated hemoglobin as a marker of cardiovascular risk . Current opinion in lipidology . 2006 ; 17 ( 6 ): 637 – 43 . OpenUrl CrossRef PubMed Web of Science 32. ↵ Hippisley-Cox J , Coupland C , Vinogradova Y , Robson J , Brindle P . Performance of the QRISK cardiovascular risk prediction algorithm in an independent UK sample of patients from general practice: a validation study . Heart . 2008 ; 94 ( 1 ): 34 – 9 . OpenUrl Abstract / FREE Full Text 33. ↵ Shishehbori F , Awan Z. Enhancing cardiovascular disease risk prediction with machine learning models . arXiv preprint arXiv:240117328 . 2024 . 34. ↵ Mansoori A , Allahyari M , Mirvahabi MS , Tanbakuchi D , Ghoflchi S , Derakhshan-Nezhad E , et al. Predictive properties of novel anthropometric and biochemical indexes for prediction of cardiovascular risk . Diabetology & Metabolic Syndrome . 2024 ; 16 ( 1 ): 304 . OpenUrl PubMed 35. van Os HJ , Kanning JP , Bonten TN , Rakers MM , Putter H , Numans ME , et al. Cardiovascular risk prediction in men and women aged under 50 years using routine care data . Journal of the American Heart Association . 2023 ; 12 ( 7 ): e027011 . OpenUrl PubMed 36. Neumann JT , Thao LT , Callander E , Chowdhury E , Williamson JD , Nelson MR , et al. Cardiovascular risk prediction in healthy older people . Geroscience . 2022 ; 44 ( 1 ): 403 – 13 . OpenUrl PubMed 37. ↵ Wallisch C , Agibetov A , Dunkler D , Haller M , Samwald M , Dorffner G , et al. The roles of predictors in cardiovascular risk models-a question of modeling culture? BMC Medical Research Methodology . 2021 ; 21 : 1 – 12 . OpenUrl PubMed View the discussion thread. Back to top Previous Next Posted August 07, 2025. Download PDF Supplementary Material Data/Code Email Thank you for your interest in spreading the word about medRxiv. NOTE: Your email address is requested solely to identify you as the sender of this article. Your Email * Your Name * Send To * Enter multiple addresses on separate lines or separate them with commas. You are going to email the following Evaluating Feature Selection Methods and Feature Contributions for Cardiovascular Disease Risk Prediction Message Subject (Your Name) has forwarded a page to you from medRxiv Message Body (Your Name) thought you would like to see this page from the medRxiv website. Your Personal Message CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions. Share Evaluating Feature Selection Methods and Feature Contributions for Cardiovascular Disease Risk Prediction Suraiya Akhter , John H. Miller medRxiv 2025.07.12.25331445; doi: https://doi.org/10.1101/2025.07.12.25331445 Share This Article: Copy Citation Tools Evaluating Feature Selection Methods and Feature Contributions for Cardiovascular Disease Risk Prediction Suraiya Akhter , John H. Miller medRxiv 2025.07.12.25331445; doi: https://doi.org/10.1101/2025.07.12.25331445 Citation Manager Formats BibTeX Bookends EasyBib EndNote (tagged) EndNote 8 (xml) Medlars Mendeley Papers RefWorks Tagged Ref Manager RIS Zotero Tweet Widget Facebook Like Google Plus One Subject Area Health Informatics Subject Areas All Articles Addiction Medicine (568) Allergy and Immunology (863) Anesthesia (300) Cardiovascular Medicine (4435) Dentistry and Oral Medicine (444) Dermatology (382) Emergency Medicine (608) Endocrinology (including Diabetes Mellitus and Metabolic Disease) (1509) Epidemiology (15229) Forensic Medicine (30) Gastroenterology (1124) Genetic and Genomic Medicine (6600) Geriatric Medicine (668) Health Economics (997) Health Informatics (4536) Health Policy (1368) Health Systems and Quality Improvement (1613) Hematology (541) HIV/AIDS (1264) Infectious Diseases (except HIV/AIDS) (15916) Intensive Care and Critical Care Medicine (1103) Medical Education (623) Medical Ethics (146) Nephrology (667) Neurology (6599) Nursing (346) Nutrition (998) Obstetrics and Gynecology (1144) Occupational and Environmental Health (957) Oncology (3332) Ophthalmology (974) Orthopedics (369) Otolaryngology (420) Pain Medicine (436) Palliative Medicine (130) Pathology (663) Pediatrics (1693) Pharmacology and Therapeutics (691) Primary Care Research (711) Psychiatry and Clinical Psychology (5447) Public and Global Health (9232) Radiology and Imaging (2198) Rehabilitation Medicine and Physical Therapy (1370) Respiratory Medicine (1196) Rheumatology (593) Sexual and Reproductive Health (712) Sports Medicine (530) Surgery (712) Toxicology (99) Transplantation (289) Urology (265) (function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'a00884730b03df94',t:'MTc3OTU4NjA0MA=='};var a=document.createElement('script');a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();

Text is read by the "Ask this paper" AI Q&A widget below. Extraction quality varies by source — PMC NXML preserves structure cleanly, OA-HTML may include some navigation residue, and OA-PDF can have broken hyphenation. The publisher copy (via DOI) is the canonical version.

My notes (saved in your browser only)

Ask this paper AI returns verbatim quotes from the full text · source: preprint-html

Answers must be backed by verbatim quotes from this paper's full text. Hallucinated quotes are dropped automatically; if no verbatim passage answers the question, we say so. How this works

Citation neighborhood (no data yet)

We don't have any in-corpus citations linked to this paper yet. This is a recent paper (2025) — citers typically take a year or two to land, and the OpenAlex reference graph may still be filling in.

Source provenance

europepmc
last seen: 2026-05-20T01:45:00.602351+00:00
unpaywall
last seen: 2026-05-22T02:00:06.705733+00:00
License: CC-BY-4.0