Skip to main content

ORIGINAL RESEARCH article

Front. Pharmacol., 10 January 2024
Sec. Experimental Pharmacology and Drug Discovery
This article is part of the Research Topic Machine Learning and Pharmacotherapy View all 6 articles

Machine learning-based prediction of composite risk of cardiovascular events in patients with stable angina pectoris combined with coronary heart disease: development and validation of a clinical prediction model for Chinese patients

  • 1Graduate School, Beijing University of Chinese Medicine, Beijing, China
  • 2Science Faculty, University of Auckland, Auckland, New Zealand
  • 3Department of Integrative Cardiology, China-Japan Friendship Hospital, Beijing, China

Objective: To develop a risk score model for the occurrence of composite cardiovascular events (CVE) in patients with stable angina pectoris (SA) combined with coronary heart disease (CHD) by comparing the modeling effects of various machine learning (ML) algorithms.

Methods: In this prospective study, 690 patients with SA combined with CHD attending the Department of Integrative Cardiology, China-Japan Friendship Hospital, from October 2020 to October 2021 were included. The data set was randomly divided into a training group and a testing group in a 7:3 ratio in the per-protocol set (PPS). Model variables were screened using the least absolute shrinkage selection operator (LASSO) regression, univariate analysis, and multifactor logistic regression. Then, nine ML algorithms are integrated to build the model and compare the model effects. Individualized risk assessment was performed using the SHapley Additive exPlanation (SHAP) and nomograms, respectively. The model discrimination was evaluated by receiver operating characteristic curve (ROC), the calibration ability of the model was evaluated by calibration plot, and the clinical applicability of the model was evaluated by decision curve analysis (DCA). This study was approved by the Clinical Research Ethics Committee of China-Japan Friendship Hospital (2020-114-K73).

Results: 690 patients were eligible to finish the complete follow-up in the PPS. After LASSO screening and multifactorial logistic regression analysis, physical activity level, taking antiplatelets, Traditional Chinese medicine treatment, Gensini score, Seattle Angina Questionnaire (SAQ)-exercise capacity score, and SAQ-anginal stability score were found to be predictors of the occurrence of CVE. The above predictors are modeled, and a comprehensive comparison of the modeling effectiveness of multiple ML algorithms is performed. The results show that the Light Gradient Boosting Machine (LightGBM) model is the best model, with an area under the curve (AUC) of 0.95 (95% CI = 0.91–1.00) for the test set, Accuracy: 0.90, Sensitivity: 0.87, and Specificity: 0.96. Interpretation of the model using SHAP highlighted the Gensini score as the most important predictor. Based on the multifactorial logistic regression modeling, a nomogram, and online calculators have been developed for clinical applications.

Conclusion: We developed the LightGBM optimization model and the multifactor logistic regression model, respectively. The model is interpreted using SHAP and nomogram. This provides an option for early prediction of CVE in patients with SA combined with CHD.

1 Introduction

Coronary heart disease (CHD) is one of the most common causes of death worldwide, and its clinical mortality has declined substantially in recent years due to the growth in the level of diagnosis and treatment (Virani et al., 2021). However, under this condition, the incidence of stable angina (SA) due to increased myocardial load is still on the rise, at about 7.7% (Abbasi et al., 2018). Patients with SA alone are currently considered to be at low risk of cardiovascular events (CVE) (Fladseth et al., 2022), but the risk of CVE is significantly higher when they have a combination of definite coronary artery disease (CAD) (Barbero et al., 2016).

The occurrence of CVE is influenced by a combination of factors, and a comprehensive assessment to optimize management strategies for patients with different needs is particularly important, while effective risk assessment to predict the course of the disease is a key initiative to prevent CVE (Akinosun et al., 2021). Constructing risk models based on complex clinical characteristics can predict the probability of future risk of important clinical outcomes in specific patient populations, and accurate risk prediction models help clinicians develop patient-specific management measures (Damluji et al., 2021). Several cardiovascular disease risk prediction models have been published in international guidelines (Woodward et al., 2007; D’Agostino et al., 2008; Goff et al., 2014), but these data are mostly derived from Western samples, and regional differences in cardiovascular disease spectrum and prevalence factors make them not very applicable to the Chinese population. Therefore, it is urgent to develop risk prediction models that meet the disease characteristics of Chinese patients. Machine learning (ML) algorithms are now widely used for early warning prediction of diseases and are more advantageous in handling clinical multidimensional data. Suri et al. (2022) compared the risk of bias in cardiovascular disease risk prediction between ML and non-ML algorithms. They showed that ML algorithms had lower bias and were superior in predicting death or the occurrence of a composite CVE as the outcome event. In addition, the modeling performance of different ML algorithms varies, so it is necessary to compare the modeling effectiveness of different ML algorithms, and poor model interpretability is also an unavoidable problem of ML (Ahsan and Siddique, 2022).

The Seattle Angina Questionnaire (SAQ) is a useful tool for reporting the health status of patients with CHD and is widely used in clinical practice, but the interpretation of the results of this questionnaire is slightly complicated and there are no clear criteria for assessing the prognosis of patients (Thomas et al., 2021). Based on this, this study intends to construct a risk score model for predicting the probability of developing composite CVE in patients with SA comorbid with CHD using clinical characteristics such as patients’ SAQ from Chinese data sources. Create the best model and the model with the best interpretation by comparing the modeling effectiveness of multiple ML algorithms. This provides a reliable and convenient method for determining the prognosis of patients with SA combined with CHD.

2 Materials and methods

2.1 Selection methods

This study is a prospective cohort study and follows Tripod reporting specifications (Collins et al., 2015). A total of 827 patients with SA combined with CHD who visited the Department of Integrative Cardiology, China-Japan Friendship Hospital from 2020-10 to 2021-10 were screened. Patients in whom data collection was affected by psychological or language factors; those who developed heart failure; those with severe systemic diseases such as tumors; or those with an expected survival time of <12 months were excluded. Finally, 104 patients were excluded and 723 patients were included in the study. The specific patient inclusion flow is shown in Supplementary Figure S1.

The study was conducted in accordance with the tenets of the Declaration of Helsinki, and all patients provided informed consent allowing the use of the data for further clinical studies. The study protocol was approved by the Clinical Research Ethics Committee of China-Japan Friendship Hospital (2020-114-K73) and registered with the China Clinical Trial Registry (ChiCTR1800017891).

2.2 Diagnostic criteria

The 1979 Nomenclature and Diagnostic Criteria for Ischemic Heart Disease jointly published by the International Society of Cardiology and the World Health Organization (National Institutes of Health, 1979) and the 2012 Guidelines for the Diagnosis and Treatment of Stable Ischemic Heart Disease jointly published by the American Heart Association and other societies (Fihn et al., 2012) were referred to.

2.3 Research methods

2.3.1 Basic information

Basic information of the study population was collected, including demographic information (sex, age, height, weight); other relevant medical history (hypertensive disease, diabetes, hyperlipidemia, carotid atherosclerosis, stroke, renal insufficiency); and personal habits (smoking, alcohol consumption, and daily physical activity). Daily physical activity was judged by the patients on their own merits. Low or high-physical activity was respectively classified based on 60 min of physical activity of moderate intensity or more per day.

2.3.2 Testing and examination

All patients had venous blood specimens collected on an empty stomach in the early morning of the second day after admission, and homocysteine (Hcy), low-density lipoprotein cholesterol (LDL-C), lipoprotein-a (Lp-a), glycated hemoglobin (HbA1c), serum urea nitrogen (urea), and serum creatinine (Scr) were measured at the hospital’s Department of Laboratory Medicine. All patients had undergone coronary angiography. Their latest examination results were retrieved from the medical record system of the hospital: the lesions in different vessels were recorded, and the final Gensini score was calculated according to the Gensini Score Calculation Guidelines (Rampidis et al., 2019). All patients underwent coronary angiography performed by the same team of skilled specialists.

2.3.3 Medications

In this study, no medication interventions were carried out, and the treatment regimen was based on the prescription of the patient’s primary care physician. The use of antiplatelet agents (aspirin or clopidogrel); anticoagulants (warfarin, dabigatran, rivaroxaban); antianginal drugs (trimetazidine, nicorandil); vasodilators (nitrate ester); angiotensin-converting enzyme inhibitors (ACEI) or angiotensin receptor blockers (ARB); β-blockers; calcium channel blockers (CCB); lipid-lowering drugs (statins or ezetimibe); and traditional Chinese medicine (including herbal tonics and proprietary Chinese medicines) was recorded.

2.3.4 Living situation assessment

The 19-item SAQ was used to assess patients’ SA condition and quality of life. Information was collected from patients by an independent investigator, and five dimensions were assessed on an article-by-article basis: degree of limitation of exertional capacity, anginal stability, anginal frequency, disease perception, and treatment satisfaction, and points were calculated according to published criteria (Thomas et al., 2021).

2.3.5 Follow-up and outcome

Follow-up was performed by an independent investigator, with outpatient visits or telephone follow-up every 6 months after patients were enrolled in the study to collect information over time until the 12-month study period ended. Patients who withdrew on their own, could not be contacted, or were unable to cooperate in completing follow-up visits were considered to be dislodged.

A composite CVE was used as the primary endpoint event, including nonfatal myocardial infarction, revascularization, all-cause death, readmission for angina attack or heart failure or malignant arrhythmia, and stroke.

2.3.6 Sample calculation

The initial variables were selected based on expertise and clinical experience, and certain similar or related variables were combined (e.g., fasting plasma glucose and HbA1c). In the previous study, which confirmed a high variability in association with the outcome, these variables have also been included in our study. A total of 35 variables were included in the study as factors that could potentially influence prognosis. The final study cohort included 723 patients with SA with CHD, in line with the principle that each variable corresponds to approximately ten patients in the regression analysis (van Smeden et al., 2019).

2.4 Statistical analysis

2.4.1 Missing value handling

Patients who could eventually complete the follow-up among those included in the study were selected for per-protocol analysis (PPS). Multiple interpolation was performed using the MICE package (V3.16.0) in R for variables with <20% missing values.

2.4.2 Variable selection and optimal modelling

Statistical analysis and visualization were performed in R (V3.6.3) and Python (V3.7). Normally distributed data were expressed as mean ± standard deviation, and non-normally distributed data were expressed as median and quartiles, and count data were expressed as percentages. In comparing the sample means of two groups, the independent samples t-test was used for normally distributed data, the rank sum (Wilcoxon) test was used for non-normally distributed data, and the chi-square test was used for count data. p < 0.05 was considered statistically significant for all analyses.

The data was randomly sampled in the ratio of 7:3 and divided into training and testing sets. The variables in the training set were initially screened using the least absolute shrinkage and selection operator (LASSO) regression, and univariate and multivariate logistic regression analyses were performed on the screened variables, respectively. The statistically different (p < 0.05) variables in the multivariate logistic regressions were used for further model construction. After that, Python (sklearn 0.22.1, XGBoost 1.2.1, LightGBM 3.2.1) was used to build the classification multi-model for the eXtreme Gradient Boosting (XGBoost), Logistic regression, Light Gradient Boosting Machine (LightGBM), RandomForest (RF), Adaptive boosting (AdBoost), Multilayer Perceptron (MLP), support vector Machine (SVM), K-Nearest-Neighbors (KNN), and Gaussian Naïve Bayes (GNB) respectively. The training set was utilized to construct multiple classification models, and the modeling effects of different algorithms were compared. The validation set generated through ten-fold cross-validation method was employed to validate the models. The determination of the optimal model requires a combination of several metrics. Python (sklearn 0.22.1) was used to construct receiver operating characteristic curve (ROC) curves and calculate the area under the curve (AUC) to assess the accuracy of predictive model identification. R (rmda 1.6) was used to plot a decision curve analysis (DCA) to assess the clinical applicability of the model. Calibration curves were plotted using Python (sklearn 0.22.1) to measure the calibration of the model. Once the optimal model has been determined, the construction of the optimal model begins. 70% of the data was used to train the model with ten-fold cross-validation of the model and 30% of the data was used to test the model additionally.

2.4.3 Interpretation tools for the model

Since most ML models are black-box models, poor model readability limits their application in clinical settings. In contrast, the nomogram built based on regression models has outstanding advantages regarding the readability of model results. Therefore, for the optimal model, we interpreted the model using Python (SHAP 0.39.0) to plot the SHapley Additive exPlanation (SHAP) plots of importance and contribution to the model. SHAP is a unified approach that provides a global understanding of the ML model, accurately calculating the contribution and impact of each feature to the final prediction. The SHAP value shows how each predictor positively or negatively affects the target variable. Each observation in the dataset can also be interpreted in terms of a specific set of SHAP values (Lundberg and Lee, 2017). For the multifactorial logistics regression model, we interpreted the model using a nomogram and further developed an online risk calculator based on the R/Shiny webpage (https://wzhprediction.shinyapps.io/My_DynNomapp/). Finally, we determined whether the patients had CVE based on the model scores, compared them with the actual situation, and calculated the corresponding sensitivity, specificity, positive predictive value, negative predictive value, and F1 score for both models.

3 Results

3.1 Study population

We excluded 33 (4.6%) patients who did not complete follow-up. In the final PPS consisting of 690 patients with complete data available, we randomly divided the patients into a training group (N = 488) and a testing group (N = 202) in a ratio of 7:3. The baseline characteristics of the two groups of patients were similar (Supplementary Table S1). At the end of the study follow-up, the cumulative primary outcome CVE occurred in 56 patients (8.1%), with similar outcomes for patients in the training and testing groups (both p > 0.05).

3.2 Filtering variables

To exclude overfitting and multicollinearity among variables, LASSO regression analysis was used to perform preliminary variables screening in the training group (Supplementary Figure S2). With the compression of coefficients, 11 variables—Physical activity, Smoking, Alcohol consumption, Renal insufficiency, Antiplatelet, Traditional Chinese medicine, Gensini score, Lp-a, Exertional Capacity, Anginal stability, and Treatment satisfaction—were finally selected for the next step of regression analysis. Univariate and multivariate logistic regressions were used for subsequent variables screening (Table 1), and the p values served as the ultimate criterion for variable selection in regression analysis; six variables, namely, Physical activity, Antiplatelet, Traditional Chinese medicine, Gensini score, Exertional capacity, and Anginal stability, were finally included for model development. The results are summarized in a forest plot (Figure 1), showing the independent correlation of each predictor for patient outcomes. Some intensity of activity (OR = 0.290, 95% CI = 0.108–0.778); taking antiplatelet agents (OR = 0.122, 95% CI = 0.048–0.313); and Chinese medicine therapy (OR = 0.253, 95% CI = 0.094–0.680) were protective factors for the development of CVE in patients (all p < 0.05), while higher Gensini score (OR = 1.049, 95% CI = 1.036–1.062) and lower Exertional Capacity score (OR = 0.946, 95% CI = 0.918–0.975) and Anginal stability score (OR = 0.969, 95% CI = 0.950–0.988) were risk factors for the development of CVE in patients (all p < 0.05).

TABLE 1
www.frontiersin.org

TABLE 1. Logistic regression of univariate and multifactor.

FIGURE 1
www.frontiersin.org

FIGURE 1. A forest diagram showing the impact of six variables on CVE.

3.3 Multi-model classification construction

The six variables obtained from the multivariate logistic regression screening were used for further categorical multi-model construction, and the modeling effectiveness of the model was assessed by combining AUC, calibration, and DCA curves. The results of AUC show that the LightGBM algorithm exhibits the highest diagnostic accuracy on both the training and validation sets (Figures 2A, B). The LightGBM algorithm also showed the best accuracy for the calibration curve (Figure 2C). DCA showed good clinical applicability of LightGBM (Figure 2D). A comprehensive analysis concludes that LightGBM is the best model. The multifactor logistic regression model was also retained to plot the nomogram further. The multifactorial logistic regression model also has good diagnostic precision, accuracy, and clinical applicability but is slightly worse than LightGBM.

FIGURE 2
www.frontiersin.org

FIGURE 2. Model Accuracy for Categorical Multi-Model Evaluation. (A) ROC curves and AUC of the training group. (B) ROC curves and AUC of the validation group. (C) Calibration curves for the validation set. (D) Validation set DCA.

3.4 Development and validation of LightGBM and multifactor logistic regression models

LightGBM and multifactor logistic regression modeling were performed in the training set, ten-fold cross-validation was performed on the data, and the performance of the models was evaluated in the testing set. The modeling results of LightGBM show an average AUC of 1.00 (95% CI = 0.99–1.00) for the training set, 0.98 for the validation set, and 0.98 (95% CI = 0.97–1.00) for the testing set (Figures 3A–C). Figure 3D shows the changes in AUC during the training process of the LightGBM model, and it can be seen that the AUC of the training set and the validation set finally stabilizes at around 1, and the model predicts well. The modeling results of the multifactor logistic regression showed an average AUC of 0.96 (95% CI = 0.93–0.99) for the training set, 0.95 (95% CI = 0.87–1.00) for the validation set, and 0.95 (95% CI = 0.90–1.00) for the test set (Figures 4A–C). Figure 4D shows the changes in AUC during the training process of the multifactor logistic regression model. It can be seen that the AUC of the training set and the validation set finally stabilizes at about 0.95, and the model predicts well. The consistency of the two models was evaluated using calibration plots (Supplementary Figure S3), which showed good consistency between the two models, with LightGBM being better. Finally, the clinical applicability of the models was assessed by DCA (Supplementary Figure S3), and the results again showed that both models have good clinical applicability.

FIGURE 3
www.frontiersin.org

FIGURE 3. LightGBM model training, validation, and testing. (A) Training set of ROC curves and AUC. (B) Validation set of ROC curves and AUC. (C) Testing set of ROC curves and AUC. (D) Learning curve. The red dashed line represents the training set, and the blue dashed line represents the validation set.

FIGURE 4
www.frontiersin.org

FIGURE 4. Multifactor logistic regression model training, validation, and testing. (A) Training set of ROC curves and AUC. (B) Validation set of ROC curves and AUC. (C) Testing set of ROC curves and AUC. (D) Learning curve. The red dashed line represents the training set, and the blue dashed line represents the validation set.

3.5 Interpretation of models

To visually explain the LightGBM models, we use SHAP to show how the variables in these models contribute to the composite CVE. Figure 5A shows the ordering of the importance of the six variables assessed using the mean absolute value of SHAP, with the SHAP value on the x-axis indicating the importance of each covariate in the constructed model. This shows that the Gensini score is the most important predictor of future composite CVE in patients. In the summary plot of SHAP values in Figure 5B, each feature is represented along the y-axis, and the corresponding SHAP values are represented along the x-axis. These SHAP values indicate how much each feature affects the average predicted value of the model, with blue to red representing feature values from low to high. It can be seen that the higher the Gensini score, the higher the probability of a composite CVE. We also visualized individual predictions; Figure 5C shows a patient who did not develop composite CVE, and Figure 5D shows a patient who developed composite CVE. Bold numbers are probabilistic predictions [f(x)], and baseline values are predictions not entered into the model. f(x) is the log ratio for each observation. Red features indicate a facilitating effect on the occurrence of composite CVEs. In contrast, blue features are inhibitory, with longer arrows having a more significant effect on the occurrence of the outcome. For the multifactor logistic regression model, we constructed a risk score prediction model represented by a colored nomogram (Figure 6).

FIGURE 5
www.frontiersin.org

FIGURE 5. Interpretation of the LightGBM model using SHAP. (A) Importance ranking of features displayed by SHAP. (B) Characterization attributes in SHAP. (C) A patient who did not develop composite CVE and (D) a patient who develop composite CVE.

FIGURE 6
www.frontiersin.org

FIGURE 6. The risk scoring model was presented in a colorful nomogram.

3.6 Application of predictive models

We have developed an online risk calculator based on multifactor logistic regression modeling on the R/Shiny webpage (https://wzhprediction.shinyapps.io/My_DynNomapp/). When this model is applied to clinical practice, the risk of CVE at 12 months of treatment in patients with SA combined with CHD can be predicted by entering the identified six variables. For example, the initial evaluation of a patient with SA combined with CHD revealed that he had good activity (Physical activity = High), was taking antiplatelets (Antiplatelet = Yes) and traditional Chinese medicine (Traditional Chinese medicine = Yes). A recent coronary angiogram showed a calculated Gensini score of 80 (Gensini score = 80) and the SAQ was calculated to obtain Exertional Capacity = 20 and Anginal stability = 50. The patient had a 21.56% probability of CVE within 12 months of treatment (Figure 7).

FIGURE 7
www.frontiersin.org

FIGURE 7. Online risk calculator based on Shiny web development. This merger aims to develop a cardiovascular events (CVE) risk prediction model for stable angina pectoris (SA) patients with coronary heart disease (CHD). Physical activity: Low or high physical activity is classified based on at least 60 min of moderate intensity exercise per day. Antiplatelet: Aspirin or clopidogrel are used as antiplatelet therapy. Traditional Chinese medicine: including herbal tonics and proprietary Chinese medicines. Gensini score: The latest results of coronary angiography are used to calculate the Gensini score. Exertional capacity: The latest results of the Seattle Angina Questionnaire (SAQ) determine the patient’s exertional capacity. Anginal stability: The latest results of the SAQ assess the patient’s anginal stability.

In addition to the network calculator described above, cut-off values, sensitivity, specificity, positive predictive value, negative predictive value, and F1 scores were calculated for both models (Table 2). The positive predictive value of LightGBM is higher than the multifactor logistics regression model. This suggests that LightGBM can help identify more positive patients, but when using the model for exclusionary diagnosis, both methods meet clinical requirements.

TABLE 2
www.frontiersin.org

TABLE 2. Predictive performance of XGBoost and multifactor logistic regression models in different datasets.

4 Discussion

Effectively preventing the occurrence of cardiovascular disease endpoint events and improving long-term treatment outcomes are the main tasks in the current prevention and treatment of CHD. Studies have shown that the combination of persistent angina in patients with CHD is strongly associated with a higher incidence of cardiovascular death or myocardial infarction (Mesnier et al., 2021). However, combining revascularization therapies with conventional medications does not provide additional clinical benefits for these patients (Stergiopoulos et al., 2014). This increasingly underscores the importance of early identification of patients with SA comorbid CHD who have a poor prognosis and echoes the call for individualized medicine. International scholars have made relevant thoughts and studies on the prevention of cardiovascular composite endpoint events in patients by establishing clinical prediction models through correlation regression analysis such as the QRISK cardiovascular disease risk algorithm (Hippisley-Cox et al., 2007), the US PCEs cohort equation (Wilson et al., 2012), the SMART risk score (Dorresteijn et al., 2013), and a 10-year risk prediction model for the development of atherosclerotic cardiovascular disease in a Chinese population (Yang et al., 2016). However, current clinical prediction models focus more on the general population without cardiovascular disease, and the relevant prognostic determinants for patients with pre-existing coronary artery disease conditions have not been adequately studied. In addition, the complexity of predictors and the high number of infrequent indicators in some studies increase the difficulty of using clinical models. ML is now increasingly being used in the early diagnosis and prediction of CHD to drive clinical decision-making. Kim et al. (2022) compared eight ML algorithms and finally developed an optimal CatBoost model for predicting obstructive CAD. The model also outperformed the established Diamond-Forest score. Few models are available for predicting adverse cardiovascular events in SA combined with CHD in the Chinese population. Therefore, based on these studies and ML techniques, we aimed to develop a new risk prediction model for patients with SA comorbid CHD based on the SAQ and general clinical information. The aforementioned issue has historically posed a significant clinical challenge that has not received due recognition.

A total of 35 clinical variables that may affect the occurrence of CVE were collected in this trial, and patients who completed the trial were included in the PPS analysis. Accordingly, 690 patients were divided into a “training group” and a “testing group” in a ratio of 7:3 based on the Tripod guidelines (Collins et al., 2015). Preliminary analysis showed that the baseline features of the training and testing groups are similar, indicating that the data obtained from random grouping possesses better homogeneity and provides higher confidence for subsequent validation. To exclude the problems of overfitting and multicollinearity among variables, we conducted the first variables screening by LASSO regression method, from which 11 independent variables related to clinical outcome events were selected, and six independent influencing factors—Physical activity, Antiplatelet, Traditional Chinese medicine, Gensini score, Exertional capacity, and Anginal stability, each of which directly affects the patient’s prognostic survival. When the model was further constructed using these six independent influences, the LightGBM model outperformed other ML models. Interpretation of the LightGBM model using SHAP highlighted that the Gensini score was the most important predictor. The model was constructed using a total of six variables, including both continuous and categorical variables. It provides a binary prediction for CVE in patients with SA combined with CHD. The diagnostic threshold is reflected in the nomogram and network calculator.

The Gensini score, calculated from the imaging results of coronary interventions, is the gold standard for diagnosing the presence of CHD in patients (Rampidis et al., 2019), and a high Gensini score is an independent risk factor for cardiac death in patients with CHD, providing valuable information for cardiovascular risk prognosis (Huang et al., 2010). Improving symptoms and quality of life is equally important in treating patients with SA. The SAQ is often used to assess the health status of SA patients (Spertus et al., 1995), where the degree of exertional capacity and anginal stability together reflect the patient’s ability to perform activities of daily living, with lower scores representing a severe decline in quality of life and strongly associated with the risk of death (Kanwar et al., 2021). Recent studies have demonstrated the importance of patient-reported signs and symptoms in predicting adverse disease outcomes, suggesting that clinicians should pay more attention to patients’ symptoms and quantitatively assess the extent of symptoms (Tripoliti et al., 2016; Parikh et al., 2023). Previous studies have shown that a certain intensity of physical activity can improve the reserve capacity of coronary blood flow and use excess body fat, effectively avoiding intravascular embolism formation and promoting the recovery of cardiac function (Pandey et al., 2018). Antiplatelet agents are recognized as an important measure that must be performed for secondary prevention in patients with CHD (Pilgrim and Windecker, 2014; Cimmino et al., 2020). Chinese medicine has been shown to reduce the incidence of CVE in patients with SA combined with CHD (Chen et al., 2021; Ge et al., 2021), and has been shown to have an ablative effect on vascular microthrombosis in several basic science studies (Jiang et al., 2020). When combined, the two drug therapies can better protect coronary vascular endothelial cells and improve microcirculatory blood flow in the heart.

The black-box nature of ML is a barrier to clinicians applying predictive modeling. Although our study utilized SHAP to quantify the significance of the variables in the model to some extent, the complexity of model interpretation will still limit its clinical application. The results provided by SHAP offer intriguing insights, highlighting the crucial role of SAQ-related assessment in patients with CHD and SA, a clinical significance that has been previously overlooked. SAQ assessment effectively captures the overall condition of patients through a range of clinical symptoms and daily life situations, offering a comprehensive quantitative evaluation method that yields abundant information. Previous studies have acknowledged the ability of SAQ to quantify functional decline and reduced quality of life caused by angina pectoris, thereby guiding future treatment strategies to some extent. It is frequently employed as an outcome evaluation tool for assessing treatment effectiveness (Ford et al., 2020). Notably, researchers have discovered a close association between Anginal stability score in the SAQ and post-coronary artery bypass grafting angina occurrence (Hattler et al., 2019), as well as its correlation with complete revascularization achievement in patients with chronic coronary artery disease (Mavromatis et al., 2023). These robust findings provide substantial support for our own results. In this study, we successfully established a link between SAQ assessment and accurate prediction of CVE risk in patients with CHD and SA—a feat not previously accomplished—emphasizing the importance for clinicians to enhance their comprehensive evaluation approach when diagnosing and treating such individuals. Multifactorial logistic regression models were also found to have better model performance in this study, and the nomogram and online calculators developed on this basis were more suitable for clinical applications, provides the reader with applied to clinical diagnosis and treatment. We retained the multifactor logistic regression model. Note that similar to the LightGBM model, the multifactor logistic regression model also has a high negative predictive value but a low positive predictive value. This suggests the need to incorporate other more specific clinical information when applying our multifactorial logistic regression model if the prediction is positive. However, when we wish to reduce the rate of underdiagnosis in high-risk populations, the model meets the demand for use. For clinicians, we offer two models depending on the user’s focus.

In conclusion, this study compared the modeling effects of different algorithms based on ML techniques. Based on full consideration of the interpretability and clinical utility of the models, LightGBM and multifactorial logistic regression models were developed for predicting the risk of CVE in patients with SA combined with CHD, respectively. The model covers the patient’s general condition, medication taking, vascular condition, and SAQ. The two models showed good sensitivity and specificity in both the training and testing cohorts, with high accuracy and clinical applicability, and played a strong role in predicting the occurrence of CVE in patients. Compared to the previous model, the present model introduces additional daily activity capacity, Gensini score, and SAQ as the main predictor variables to assess the angina attack condition and also emphasizes the impact of quality of life on patients. Moreover, the information on the incorporated variables is more accessible to collect in clinical work, the model presentation format is more intuitive and concise, and the calculation is convenient, which is conducive to generalized application.

This study has some limitations. Although the target population was Chinese patients with SA and CHD, the case source was regional, and the entire study population comprised patients from the China-Japanese Friendship Hospital, Beijing, which may have biased the collection of clinical data. While the sample size of 690 patients is not small, the cohort size can be further expanded in future studies. Second, due to the condition, we achieved external validation of the model in the testing group obtained after random partitioning, which can better demonstrate the model prediction ability if it can be validated with data from other research centers. It is also important to note that although the study mentioned the concept of “Traditional Chinese medicine,” we did not limit the specific type of medicine because of the unique and individualized treatment aspect of Chinese medicine, which may have had some influence on the results. Furthermore, we will incorporate some subsequent clinical studies and consciously optimize the existing model. For instance, clinicians may find a “low-moderate-high” risk assessment form more comfortable to use, and the clearly defined numerical criteria may also be proposed. To enhance the predictive value of the model for CVE, a larger prospective multicenter study is required with additional variables introduced, specific medication types restricted, and longer follow-up conducted. The promotion of becoming a new tool for risk assessment will be our unwavering commitment, as we diligently incorporate it into regional guidelines.

5 Conclusion

We conducted a prospective study on the development and validation of a clinical prediction model by including patients with SA and CHD as the study population. The clinical risk score model for predicting the occurrence of CVE was constructed based on the following variables: Physical activity, Antiplatelet, Traditional Chinese medicine, Gensini score, Exertional capacity, and Anginal stability and showed high accuracy and clinical applicability, and can be used to predict the risk of CVE in patients with SA combined with CHD. This study builds on previous literature to further the understanding of CVE risk prevention and control and provides clinicians with some evidence for diagnosis and treatment.

Data availability statement

The raw data supporting the conclusion of this article will be made available by the authors, without undue reservation.

Ethics statement

The studies involving humans were approved by the Clinical Research Ethics Committee of China-Japan Friendship Hospital. The studies were conducted in accordance with the local legislation and institutional requirements. The participants provided their written informed consent to participate in this study.

Author contributions

ZiW: Data curation, Formal Analysis, Investigation, Methodology, Software, Visualization, Writing–original draft, Writing–review and editing. ZS: Data curation, Formal Analysis, Investigation, Methodology, Software, Visualization, Writing–original draft, Writing–review and editing. LY: Data curation, Formal Analysis, Investigation, Methodology, Software, Writing–original draft, Writing–review and editing. ZhW: Formal Analysis, Methodology, Software, Writing–original draft. LL: Conceptualization, Funding acquisition, Resources, Supervision, Validation, Writing–review and editing. XL: Conceptualization, Funding acquisition, Resources, Supervision, Validation, Writing–review and editing.

Funding

The authors declare financial support was received for the research, authorship, and/or publication of this article. This study received funding support from National High Level Hospital Clinical Research Funding and Elite Medical Professionals Project of China-Japan Friendship Hospital (Nos ZRJY2021-TD03, 2023-NHLHCRF-YXHZ-ZRMS-01), the Beijing Natural Science Foundation (No. 7232320).

Acknowledgments

Thanks to https://www.xsmartanalysis.com/model/index/ for technical support.

Conflict of interest

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Publisher’s note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

Supplementary material

The Supplementary Material for this article can be found online at: https://www.frontiersin.org/articles/10.3389/fphar.2023.1334439/full#supplementary-material

References

Abbasi, M., Neishaboury, M., Koohpayehzadeh, J., Etemad, K., Meysamie, A., Asgari, F., et al. (2018). National prevalence of self-reported coronary heart disease and chronic stable angina pectoris: factor analysis of the underlying cardiometabolic risk factors in the SuRFNCD-2011. Glob. Heart 13, 73–82. doi:10.1016/j.gheart.2018.01.001

PubMed Abstract | CrossRef Full Text | Google Scholar

Ahsan, M. M., and Siddique, Z. (2022). Machine learning-based heart disease diagnosis: a systematic literature review. Artif. Intell. Med. 128, 102289. doi:10.1016/j.artmed.2022.102289

PubMed Abstract | CrossRef Full Text | Google Scholar

Akinosun, A. S., Polson, R., Diaz-Skeete, Y., De Kock, J. H., Carragher, L., Leslie, S., et al. (2021). Digital technology interventions for risk factor modification in patients with cardiovascular disease: systematic review and meta-analysis. JMIR Mhealth Uhealth 9, e21061. doi:10.2196/21061

PubMed Abstract | CrossRef Full Text | Google Scholar

Barbero, U., D’Ascenzo, F., Nijhoff, F., Moretti, C., Biondi-Zoccai, G., Mennuni, M., et al. (2016). Assessing risk in patients with stable coronary disease: when should we intensify care and follow-up? Results from a meta-analysis of observational studies of the COURAGE and FAME era. Sci. (Cairo) 2016, 3769152. doi:10.1155/2016/3769152

CrossRef Full Text | Google Scholar

Chen, Y., Xiao, X., Xu, X., Zhang, Z., and Deng, Y. (2021). Traditional Chinese Medicine in the prevention and treatment of stable angina pectoris in patients with coronary heart disease based on the theory of “phlegm and blood stasis” under guidance of evidence-based medicine: a prospective cohort study. J. Tradit. Chin. Med. 41, 150–156. doi:10.19852/j.cnki.jtcm.2021.01.017

PubMed Abstract | CrossRef Full Text | Google Scholar

Cimmino, G., Gallinoro, E., Di, S. L., De, L. N., and Cirillo, P. (2020). Antiplatelet therapy in acute coronary syndromes. Lights and shadows of platelet function tests to guide the best therapeutic approach. Curr. Vasc. Pharmacol. 18, 262–272. doi:10.2174/1570161117666190513105859

PubMed Abstract | CrossRef Full Text | Google Scholar

Collins, G. S., Reitsma, J. B., Altman, D. G., and Moons, K. G. M. (2015). Transparent reporting of a multivariable prediction model for individual prognosis or diagnosis (TRIPOD): the TRIPOD statement. BMJ 350, g7594. doi:10.1136/bmj.g7594

PubMed Abstract | CrossRef Full Text | Google Scholar

D’Agostino, R. B., Vasan, R. S., Pencina, M. J., Wolf, P. A., Cobain, M., Massaro, J. M., et al. (2008). General cardiovascular risk profile for use in primary care: the Framingham Heart Study. Circulation 117, 743–753. doi:10.1161/CIRCULATIONAHA.107.699579

PubMed Abstract | CrossRef Full Text | Google Scholar

Damluji, A. A., Chung, S.-E., Xue, Q.-L., Hasan, R. K., Moscucci, M., Forman, D. E., et al. (2021). Frailty and cardiovascular outcomes in the national health and aging trends study. Eur. Heart J. 42, 3856–3865. doi:10.1093/eurheartj/ehab468

PubMed Abstract | CrossRef Full Text | Google Scholar

Dorresteijn, J. A. N., Visseren, F. L. J., Wassink, A. M. J., Gondrie, M. J. A., Steyerberg, E. W., Ridker, P. M., et al. (2013). Development and validation of a prediction rule for recurrent vascular events based on a cohort study of patients with arterial disease: the SMART risk score. Heart 99, 866–872. doi:10.1136/heartjnl-2013-303640

PubMed Abstract | CrossRef Full Text | Google Scholar

Fihn, S. D., Gardin, J. M., Abrams, J., Berra, K., Blankenship, J. C., Dallas, A. P., et al. (2012). 2012 ACCF/AHA/ACP/AATS/PCNA/SCAI/STS guideline for the diagnosis and management of patients with stable ischemic heart disease: a report of the American College of Cardiology foundation/American heart association task force on practice guidelines, and the American College of physicians, American association for thoracic surgery, preventive cardiovascular nurses association, society for cardiovascular angiography and interventions, and society of thoracic surgeons. Circulation 126, e354–e471. doi:10.1161/CIR.0b013e318277d6a0

PubMed Abstract | CrossRef Full Text | Google Scholar

Fladseth, K., Wilsgaard, T., Lindekleiv, H., Kristensen, A., Mannsverk, J., Løchen, M.-L., et al. (2022). Outcomes after coronary angiography for unstable angina compared to stable angina, myocardial infarction and an asymptomatic general population. Int. J. Cardiol. Heart Vasc. 42, 101099. doi:10.1016/j.ijcha.2022.101099

PubMed Abstract | CrossRef Full Text | Google Scholar

Ford, T. J., Stanley, B., Sidik, N., Good, R., Rocchiccioli, P., McEntegart, M., et al. (2020). 1-Year outcomes of angina management guided by invasive coronary function testing (CorMicA). JACC Cardiovasc Interv. 13, 33–45. doi:10.1016/j.jcin.2019.11.001

PubMed Abstract | CrossRef Full Text | Google Scholar

Ge, J.-B., Fan, W.-H., Zhou, J.-M., Shi, H.-M., Ji, F.-S., Wu, Y., et al. (2021). Efficacy and safety of Shexiang Baoxin pill (MUSKARDIA) in patients with stable coronary artery disease: a multicenter, double-blind, placebo-controlled phase IV randomized clinical trial. Chin. Med. J. Engl. 134, 185–192. doi:10.1097/CM9.0000000000001257

PubMed Abstract | CrossRef Full Text | Google Scholar

Goff, D. C., Lloyd-Jones, D. M., Bennett, G., Coady, S., D’Agostino, R. B., Gibbons, R., et al. (2014). 2013 ACC/AHA guideline on the assessment of cardiovascular risk: a report of the American College of Cardiology/American heart association task force on practice guidelines. Circulation 129, S49–S73. doi:10.1161/01.cir.0000437741.48606.98

PubMed Abstract | CrossRef Full Text | Google Scholar

Hattler, B., Carr, B. M., Messenger, J., Spertus, J., Ebrahimi, R., Bishawi, M., et al. (2019). Clinical and angiographic predictors of patient-reported angina 1 Year after coronary artery bypass graft surgery. Circ. Cardiovasc Qual. Outcomes 12, e005119. doi:10.1161/CIRCOUTCOMES.118.005119

PubMed Abstract | CrossRef Full Text | Google Scholar

Hippisley-Cox, J., Coupland, C., Vinogradova, Y., Robson, J., May, M., and Brindle, P. (2007). Derivation and validation of QRISK, a new cardiovascular disease risk score for the United Kingdom: prospective open cohort study. BMJ 335, 136. doi:10.1136/bmj.39261.471806.55

PubMed Abstract | CrossRef Full Text | Google Scholar

Huang, G., Zhao, J.-L., Du, H., Lan, X.-B., and Yin, Y.-H. (2010). Coronary score adds prognostic information for patients with acute coronary syndrome. Circ. J. 74, 490–495. doi:10.1253/circj.cj-09-0637

PubMed Abstract | CrossRef Full Text | Google Scholar

Jiang, C., Wang, T., Xu, Z.-J., Chao, X., and Duez, P. (2020). Investigation on the mode of action of the traditional Chinese medical prescription-yiqihuoxue formula, an effective extravasation treatment for cerebral vascular microemboli in ApoE-/- mice. World J. Traditional Chin. Med. 6, 112. doi:10.4103/wjtcm.wjtcm_8_20

CrossRef Full Text | Google Scholar

Kanwar, A., Roger, V. L., Lennon, R. J., Gharacholou, S. M., and Singh, M. (2021). Poor quality of life in patients with and without frailty: co-prevalence and prognostic implications in patients undergoing percutaneous coronary interventions and cardiac catheterization. Eur. Heart J. Qual. Care Clin. Outcomes 7, 591–600. doi:10.1093/ehjqcco/qcaa065

PubMed Abstract | CrossRef Full Text | Google Scholar

Kim, J., Lee, S. Y., Cha, B. H., Lee, W., Ryu, J., Chung, Y. H., et al. (2022). Machine learning models of clinically relevant biomarkers for the prediction of stable obstructive coronary artery disease. Front. Cardiovasc Med. 9, 933803. doi:10.3389/fcvm.2022.933803

PubMed Abstract | CrossRef Full Text | Google Scholar

Lundberg, S. M., and Lee, S.-I. (2017). “A unified approach to interpreting model predictions,” in Proceedings of the 31st International Conference on Neural Information Processing Systems NIPS’17, Long Beach California USA, December, 2017, 4768–4777.

Google Scholar

Mavromatis, K., Jones, P. G., Ali, Z. A., Stone, G. W., Rhodes, G. M., Bangalore, S., et al. (2023). Complete revascularization and angina-related health status in the ISCHEMIA trial. J. Am. Coll. Cardiol. 82, 295–313. doi:10.1016/j.jacc.2023.05.025

PubMed Abstract | CrossRef Full Text | Google Scholar

Mesnier, J., Ducrocq, G., Danchin, N., Ferrari, R., Ford, I., Tardif, J.-C., et al. (2021). International observational analysis of evolution and outcomes of chronic stable angina: the multinational CLARIFY study. Circulation 144, 512–523. doi:10.1161/CIRCULATIONAHA.121.054567

PubMed Abstract | CrossRef Full Text | Google Scholar

National Institutes of Health, (1979). Nomenclature and criteria for diagnosis of ischemic heart disease. Report of the Joint International Society and Federation of Cardiology/World Health Organization task force on standardization of clinical nomenclature. Circulation 59, 607–609. doi:10.1161/01.cir.59.3.607

PubMed Abstract | CrossRef Full Text | Google Scholar

Pandey, A., Patel, K. V., Vaduganathan, M., Sarma, S., Haykowsky, M. J., Berry, J. D., et al. (2018). Physical activity, fitness, and obesity in heart failure with preserved ejection fraction. JACC Heart Fail 6, 975–982. doi:10.1016/j.jchf.2018.09.006

PubMed Abstract | CrossRef Full Text | Google Scholar

Parikh, R. V., Go, A. S., Bhatt, A. S., Tan, T. C., Allen, A. R., Feng, K. Y., et al. (2023). Developing clinical risk prediction models for worsening heart failure events and death by left ventricular ejection fraction. J. Am. Heart Assoc. 12, e029736. doi:10.1161/JAHA.122.029736

PubMed Abstract | CrossRef Full Text | Google Scholar

Pilgrim, T., and Windecker, S. (2014). Antiplatelet therapy for secondary prevention of coronary artery disease. Heart 100, 1750–1756. doi:10.1136/heartjnl-2013-305399

PubMed Abstract | CrossRef Full Text | Google Scholar

Rampidis, G. P., Benetos, G., Benz, D. C., Giannopoulos, A. A., and Buechel, R. R. (2019). A guide for Gensini Score calculation. Atherosclerosis 287, 181–183. doi:10.1016/j.atherosclerosis.2019.05.012

PubMed Abstract | CrossRef Full Text | Google Scholar

Spertus, J. A., Winder, J. A., Dewhurst, T. A., Deyo, R. A., Prodzinski, J., McDonell, M., et al. (1995). Development and evaluation of the Seattle Angina Questionnaire: a new functional status measure for coronary artery disease. J. Am. Coll. Cardiol. 25, 333–341. doi:10.1016/0735-1097(94)00397-9

PubMed Abstract | CrossRef Full Text | Google Scholar

Stergiopoulos, K., Boden, W. E., Hartigan, P., Möbius-Winkler, S., Hambrecht, R., Hueb, W., et al. (2014). Percutaneous coronary intervention outcomes in patients with stable obstructive coronary artery disease and myocardial ischemia: a collaborative meta-analysis of contemporary randomized clinical trials. JAMA Intern Med. 174, 232–240. doi:10.1001/jamainternmed.2013.12855

PubMed Abstract | CrossRef Full Text | Google Scholar

Suri, J. S., Bhagawati, M., Paul, S., Protogeron, A., Sfikakis, P. P., Kitas, G. D., et al. (2022). Understanding the bias in machine learning systems for cardiovascular disease risk assessment: the first of its kind review. Comput. Biol. Med. 142, 105204. doi:10.1016/j.compbiomed.2021.105204

PubMed Abstract | CrossRef Full Text | Google Scholar

Thomas, M., Jones, P. G., Arnold, S. V., and Spertus, J. A. (2021). Interpretation of the Seattle angina questionnaire as an outcome measure in clinical trials and clinical care: a review. JAMA Cardiol. 6, 593–599. doi:10.1001/jamacardio.2020.7478

PubMed Abstract | CrossRef Full Text | Google Scholar

Tripoliti, E. E., Papadopoulos, T. G., Karanasiou, G. S., Naka, K. K., and Fotiadis, D. I. (2016). Heart failure: diagnosis, severity estimation and prediction of adverse events through machine learning techniques. Comput. Struct. Biotechnol. J. 15, 26–47. doi:10.1016/j.csbj.2016.11.001

PubMed Abstract | CrossRef Full Text | Google Scholar

van Smeden, M., Moons, K. G., de Groot, J. A., Collins, G. S., Altman, D. G., Eijkemans, M. J., et al. (2019). Sample size for binary logistic prediction models: beyond events per variable criteria. Stat. Methods Med. Res. 28, 2455–2474. doi:10.1177/0962280218784726

PubMed Abstract | CrossRef Full Text | Google Scholar

Virani, S. S., Alonso, A., Aparicio, H. J., Benjamin, E. J., Bittencourt, M. S., Callaway, C. W., et al. (2021). Heart disease and stroke statistics-2021 update: a report from the American heart association. Circulation 143, e254–e743. doi:10.1161/CIR.0000000000000950

PubMed Abstract | CrossRef Full Text | Google Scholar

Wilson, P. W. F., D’Agostino, R., Bhatt, D. L., Eagle, K., Pencina, M. J., Smith, S. C., et al. (2012). An international model to predict recurrent cardiovascular disease. Am. J. Med. 125, 695–703.e1. doi:10.1016/j.amjmed.2012.01.014

PubMed Abstract | CrossRef Full Text | Google Scholar

Woodward, M., Brindle, P., and Tunstall-Pedoe, H.SIGN group on risk estimation (2007). Adding social deprivation and family history to cardiovascular risk assessment: the ASSIGN score from the Scottish Heart Health Extended Cohort (SHHEC). Heart 93, 172–176. doi:10.1136/hrt.2006.108167

PubMed Abstract | CrossRef Full Text | Google Scholar

Yang, X., Li, J., Hu, D., Chen, J., Li, Y., Huang, J., et al. (2016). Predicting the 10-year risks of atherosclerotic cardiovascular disease in Chinese population: the China-par Project (prediction for ASCVD risk in China). Circulation 134, 1430–1440. doi:10.1161/CIRCULATIONAHA.116.022367

PubMed Abstract | CrossRef Full Text | Google Scholar

Keywords: stable angina pectoris, coronary heart disease, cardiovascular risk, prediction, risk models, machine learning

Citation: Wang Z, Sun Z, Yu L, Wang Z, Li L and Lu X (2024) Machine learning-based prediction of composite risk of cardiovascular events in patients with stable angina pectoris combined with coronary heart disease: development and validation of a clinical prediction model for Chinese patients. Front. Pharmacol. 14:1334439. doi: 10.3389/fphar.2023.1334439

Received: 07 November 2023; Accepted: 18 December 2023;
Published: 10 January 2024.

Edited by:

Qiong Zhang, Albert Einstein College of Medicine, United States

Reviewed by:

Emanuele Gallinoro, OLV Aalst, Belgium
Zheng Wei, Tsinghua University, China

Copyright © 2024 Wang, Sun, Yu, Wang, Li and Lu. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

*Correspondence: Lin Li, lilinxcy@126.com; Xiaoyan Lu, deerxiaoyan@126.com

These authors have contributed equally to this work and share first authorship

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.