Skip to main content

ORIGINAL RESEARCH article

Front. Cardiovasc. Med., 25 June 2024
Sec. Coronary Artery Disease

Construction and validation of risk prediction models for pulmonary embolism in hospitalized patients based on different machine learning methods

\r\nTao Huang,&#x;Tao Huang1,†Zhihai Huang,&#x;Zhihai Huang1,†Xiaodong Peng,&#x;Xiaodong Peng1,†Lingpin PangLingpin Pang1Jie SunJie Sun1Jinbo WuJinbo Wu1Jinman HeJinman He1Kaili FuKaili Fu2Jun Wu
Jun Wu2*Xishi Sun
\r\nXishi Sun1*
  • 1Emergency Medicine Center, Affiliated Hospital of Guangdong Medical University, Zhanjiang, Guangdong, China
  • 2Respiratory and Critical Care Medicine, Affiliated Hospital of Guangdong Medical University, Zhanjiang, Guangdong, China

Objective: This study aims to apply different machine learning (ML) methods to construct risk prediction models for pulmonary embolism (PE) in hospitalized patients, and to evaluate and compare the predictive efficacy and clinical benefit of each model.

Methods: We conducted a retrospective study involving 332 participants (172 PE positive cases and 160 PE negative cases) recruited from Guangdong Medical University. Participants were randomly divided into a training group (70%) and a validation group (30%). Baseline data were analyzed using univariate analysis, and potential independent risk factors associated with PE were further identified through univariate and multivariate logistic regression analysis. Six ML models, namely Logistic Regression (LR), Decision Tree (DT), Random Forest (RF), Naive Bayes (NB), Support Vector Machine (SVM), and AdaBoost were developed. The predictive efficacy of each model was compared using the receiver operating characteristic (ROC) curve analysis and the area under the curve (AUC). Clinical benefit was assessed using decision curve analysis (DCA).

Results: Logistic regression analysis identified lower extremity deep venous thrombosis, elevated D-dimer, shortened activated partial prothrombin time, and increased red blood cell distribution width as potential independent risk factors for PE. Among the six ML models, the RF model achieved the highest AUC of 0.778. Additionally, DCA consistently indicated that the RF model offered the greatest clinical benefit.

Conclusion: This study developed six ML models, with the RF model exhibiting the highest predictive efficacy and clinical benefit in the identification and prediction of PE occurrence in hospitalized patients.

Introduction

Venous thromboembolism (VTE), including deep vein thrombosis (DVT) and pulmonary embolism (PE), is a common and life-threatening condition (1). PE is a general term for a group of diseases or clinical symptoms caused by various emboli from different sources and types (thrombus, fat embolus, amniotic fluid embolus, air embolus, etc.) entering the main pulmonary artery and its branches, thus causing pulmonary artery stenosis or even occlusion. PE is categorized into several types based on different sources of emboli, including pulmonary thromboembolism (PTE), fat embolism syndrome, amniotic fluid embolism, air embolism, etc. Among these, PTE is the most frequently observed (2).

PE ranks as the third leading cause of cardiovascular mortality globally, following stroke and myocardial infarction (3). In the United States, approximately 360,000 people are diagnosed with PE each year, and approximately 60,000–100,000 patients die from PE each year (4). However, as a cardiopulmonary vascular disease with high morbidity and mortality, most patients with PE have diverse and atypical clinical symptoms, and some routine examinations lack specificity, resulting in high rates of clinical misdiagnosis and underdiagnosis. Once diagnosed accurately at an early stage and given appropriate treatment, the morbidity and mortality of PE can be effectively reduced. Therefore, early diagnosis of PE and timely assessment of the risk of PE are crucial. Due to the lack of specificity in the clinical symptoms of PE, patients’ lack of attention, the absence of hospital instruments and equipment, and the limited knowledge of medical workers, the screening and diagnosis of PE become challenging.

Although some scoring rules have been developed for assessing the risk of PE, such as the Wells score and the revised Geneva score, which are often used in clinical practice, they are mainly designed for outpatients with suspected PE and are inaccurate for use in hospitalized patients (5, 6). Consequently, there is a need to develop a predictive tool with high efficacy specifically for assessing the risk of PE in hospitalized patients.

In recent years, significant strides in computer performance have led to a notable phenomenon of medical-industrial integration, marked by the gradual introduction of machine learning algorithms into the medical domain. Machine learning (ML) have been extensively employed in the detection and diagnosis of various diseases, including heart disease (7), kidney disease (8), liver disease (9), and diabetes (10). Furthermore, the utilization of ML in PE is prevalent. For instance, Villacorta et al. employed ML to investigate the role of D-dimer in risk stratification of PE (11). Su et al. devised a ML technique to discern the severity of PE using clinical features and hematological indicators (12). Wang et al. utilized ML to forecast the 30-day mortality rate of critically ill PE patients (13). These studies underscore the promising application of ML techniques, developed from high-dimensional medical data, for PE. Notably, there remains a dearth of attention on the development and utilization of machine learning to identify the risk of PE in hospitalized patients. Consequently, the objective of this study was to employ different ML methods to construct risk prediction models for PE in hospitalized patients and to assess and compare the predictive efficacy and clinical benefit of each model, aiming to determine the optimal model.

Patients and methods

Study design and patients

This study was approved by the Medical Ethics Committee of the Affiliated Hospital of Guangdong Medical University (Ethics Number: YJYS2021172). Figure 1 shows an overview of our study.

Figure 1
www.frontiersin.org

Figure 1 Study workflow chart. PE, pulmonary embolism; LE-DVT, lower extremity deep venous thrombosis; ATTP, activated partial thromboplastin time; RDW, red blood cell distribution width; ML, machine learning; LR, logistic regression; DT, decision tree; RF, random forest; NB, naive bayes; SVM, support vector machine; ROC, receiver operating characteristic curve; DCA, decision curve analysis. The figure was designed by Figdraw (www.figdraw.com).

In this study, we retrospectively collected the clinical data of all hospitalized patients who underwent CTPA at the Affiliated Hospital of Guangdong Medical University from November 2021 to September 2019. After implementing inclusion and exclusion criteria, a total of 332 patients were screened, resulting in the selection of 172 positive cases and 160 negative cases. The inclusion criteria were as follows: patients aged between 18 and 90 years who had been hospitalized for a minimum period of 3 days; patients with a favorable computed tomographic pulmonary angiography (CTPA) showing a definitive diagnosis or exclusion of PE; and the patients’ medical records (medical history, clinical manifestations, and laboratory results, etc.) are comparatively complete. The exclusion criteria were as follows: patients with a previous history of PE or currently taking medication for its prevention; women during pregnancy.

Diagnostic criteria of PE

The diagnosis of pulmonary embolism was established through the analysis of the patient’s CTPA, which revealed the presence of filling defects in the pulmonary arteries and their branches. Patients exhibiting filling defects in the pulmonary arteries or any of their branches were categorized as PE-positive. Conversely, patients whose pulmonary arteries appeared suitably opacified without any filling defects were classified as PE-negative (14).

Data collection and processing

Clinical features and laboratory parameters of all subjects enrolled in the study were retrospectively gathered. Clinical features comprised gender, age, tachypnea, chest pain, cough, hemoptysis, lower extremity pain, hypertension, coronary heart disease, chronic obstructive pulmonary disease (COPD), cancer, recent surgery, atrial fibrillation, cerebrovascular accident, and lower extremity deep vein thrombosis (LE-DVT). The set of laboratory parameters included prothrombin time (PT), activated partial thromboplastin time (APTT), thrombin time (TT), D-dimer, total protein (TP), red blood cell count (RBC), red blood cell distribution width (RDW), platelet count (PLT), platelet distribution width (PDW), albumin, cystatin C, creatinine, and triglycerides.

Data cleaning procedures were executed using R software (version 4.2.1). Initially, features and parameters with more than 5% missing data (cancer, recent surgery, atrial fibrillation, cerebrovascular accident, creatinine, and tri glycerides) were excluded. This resulted in the identification of 11 clinical features (gender, age, tachypnea, chest pain, cough, hemoptysis, lower extremity pain, hypertension, coronary heart disease, COPD, and LE-DVT) and 11 laboratory parameters (PT, APTT, TT, D-dimer, TP, RBC, RDW, PLT, PDW, albumin, and cystatin C). Subsequently, mean values were employed to estimate missing values for continuous variables, while categorical variables, being devoid of deficiencies, were not subject to processing.

Machine learning models

Using the ML algorithm, six models were developed to predict the risk of PE in hospitalized patients, namely Logistic Regression (LR), Decision Trees (DT), Random Forest (RF), Naive Bayes (NB), Support Vector Machine (SVM), and AdaBoost. The dataset was randomly split into a 70% training group and a 30% independent validation group. During models’ construction, the ten-fold cross-validation method was employed. Specifically, the training group data were randomly partitioned into 10 subsets, with 9 subsets used for models training and 1 for algorithm performance evaluation. This process iterated 10 times to encompass all possible subset combinations, resulting in 10 models. These models were then evaluated on the independent validation group, and mean values of evaluation metrics were computed. The evaluation metrics comprised sensitivity, specificity, area under the curve (AUC), receiver operating characteristic (ROC) curve, and decision curve analysis (DCA). Furthermore, a grid search was conducted to optimize parameters for the ML models.

Statistical analysis

All statistical tests were implemented based on R 4.2.1. A completely randomized sampling method was employed to allocate 332 patients into a training group and a validation group, with a ratio of 7:3. The Shapiro–Wilk test was used to assess the normality of continuous variables. Normally distributed continuous variables were evaluated using independent samples t-tests and presented as mean ± standard deviation (SD). Non-normally distributed continuous variables were assessed using the Wilcoxon rank sum test and reported as median (Q1, Q3). Categorical variables were analyzed using the chi-square test and presented as numbers (n, %). A value of p < 0.05 was considered statistically significant. Subsequently, statistically significant variables were subjected to univariate and multivariate logistic regression analyses to determine potential independent risk factors associated with PE. These potential risk factors for PE were employed as predictor variables for the training and evaluating of ML models.

In this study, the “glm()” function was used to perform univariate and multivariate logistic regression analysis, the “caret” package was used to construct ML models, the “ggplot2” package was used to generate ROC curves, and the “dca.r” package was used to plot DCA curves.

Results

Baseline characteristics

A total of 332 patients were included in this study. The participants were divided into training and validation groups using complete randomized sampling, with a ratio of 7:3. The training group consisted of 232 patients, including 128 positive cases and 104 negative cases. The validation group consisted of 100 patients, with 44 positive cases and 56 negative cases. In the training group dataset, statistically significant differences were observed between PE-positive and PE-negative patients (P < 0.05) in terms of lower extremity pain, LE-DVT, D-dimer, ATPP, RDW, tachypnea, and cough. However, no statistically significant differences were found between PE-positive patients and PE-negative patients in terms of gender, age, chest pain, hemoptysis, hypertension, coronary heart disease, COPD, PT, TT, RBC, PLT, PDW, TP, albumin, and cystatin C (P > 0.05). The baseline characteristics of the patients are presented in Table 1.

Table 1
www.frontiersin.org

Table 1 Baseline characteristics of the patients.

Logistic regression analysis

Based on the baseline characteristics of the patients, we conducted screening of seven variables (tachypnea, cough, lower extremity pain, LE-DVT, D-dimer, ATPP, and RDW) that exhibited statistical significance (P < 0.05) in the training group. Subsequently, these variables were included in both univariate and multivariate logistic regression analyses. The univariate logistic regression analysis identified tachypnea, cough, lower extremity pain, LE-DVT, D-dimer, ATPP, and RDW as potential influencing factors for PE (p < 0.05, Table 2), which aligns with the findings presented in Table 1. To eliminate the effect of confounding factors, we incorporated the influencing factors of PE into the multivariate logistic regression analysis. The results of this analysis indicated that LE-DVT, elevated D-dimer levels, shortened ATPP, and increased RDW may be potential independent risk factors for PE patients (p < 0.05, Table 2).

Table 2
www.frontiersin.org

Table 2 Univariate and multivariate logistic regression analysis.

Construction and validation of machine learning models

Following multivariate logistic regression screening, four potential independent risk factors (LE-DVT, D-dimer, ATPP, and RDW) among PE patients were identified as predictors for constructing six ML models, whose performance was evaluated on the validation dataset. Table 3 presents four metrics for assessing model performance, including AUC with 95% confidence intervals, sensitivity, specificity, and accuracy. The AUC, sensitivity, specificity, and accuracy of these ML models were LR (0.735, 75.0%, 51.8%, 62.0%), DT (0.749, 75.0%, 69.6%, 72.0%), RF (0.778, 77.3%, 60.7%, 68.0%), NBC (0.682, 34.1%, 87.5%, 64%), SVM (0.726, 75%, 55.4%, 64%), and AdaBoost (0.723, 65.9%, 57.1%, 61%) (Table 3). Notably, RF demonstrated the most robust predictive performance among these ML models, exhibiting the highest AUC of 0.778. This finding was further corroborated by ROC analysis, as depicted in Figure 2. Furthermore, DCA analysis illustrated that RF yielded the highest net benefit across most risk thresholds, thereby affirming its superiority (Figure 3). Figure 4 depicts the importance of predictor variables in the RF model, with D-dimer exerting the greatest impact, followed by RDW, ATPP, and LE-DVT.

Table 3
www.frontiersin.org

Table 3 Predictive efficacy analysis of different ML models for PE.

Figure 2
www.frontiersin.org

Figure 2 ROC for the prediction of PE risk of different ML models. ROC, receiver operating characteristic curve; PE, pulmonary embolism; ML, machine learning; AUC, area under the curve; LR, logistic regression; DT, decision tree; RF, random forest; NB, naive bayes; SVM, support vector machine.

Figure 3
www.frontiersin.org

Figure 3 DCA for the prediction of PE risk of different ML models. DCA, decision curve analysis; PE, pulmonary embolism; ML, machine learning; LR, logistic regression; DT, decision tree; RF, random forest; NB, naive bayes; SVM, support vector machine.

Figure 4
www.frontiersin.org

Figure 4 Importance of the four predictors. LE-DVT, lower extremity deep venous thrombosis; RDW, red blood cell distribution width; ATPP, activated partial thromboplastin time.

Discussion

In this study, we developed six ML models for predicting the occurrence of PE in hospitalized patients. The training group dataset was utilized to construct these models, and their efficacy was assessed using the independent validation group dataset. The careful selection of candidate variables plays a crucial role in constructing accurate prediction models for PE occurrence in hospitalized patients. Initially, we screened seven statistically significant candidate variables by comparing baseline characteristics of PE-positive and PE-negative patients. To assess the significance of these variables, univariate logistic regression analysis was employed. Furthermore, multivariate logistic regression was utilized to address potential confounding factors and refine the selection of candidate variables. Finally, integrating findings from existing studies and clinical practices, the pool of candidate variables was narrowed down to four: LE-DVT, D-dimer, ATPP, and RDW. These four variables were then incorporated into the construction of our PE risk prediction models.

Our study demonstrated that patients with combined LE-DVT have a 12.001-fold higher risk of developing PE compared to patients without combined LE-DVT. This finding emphasizes LE-DVT as an risk factor for the development of PE, supporting previous reports (15).

Plasma D-dimer, a specific fibrin degradation product, serves as a reliable marker for thrombus formation (16). According to Schutte et al., elevated D-dimer levels are considered a risk factor for PE (17). Alexander's study indicated that D-dimer levels exceeding 2,000 μg/L are associated with a 33.9% risk of PE, further confirming high D-dimer levels as an independent risk factor for PE (18). Consistent with the aforementioned study, our research revealed that elevated levels of D-dimer may increase the risk of PE.

APTT serves as a comprehensive coagulation screening test, sensitive to deficiencies in factors II, V, VIII, IX, X, XI, XII, and fibrinogen (19, 20). Studies have demonstrated that decreased APTT levels are associated with an elevated risk of thrombosis, potentially attributed to an altered coagulation mechanism resulting from increased coagulation factor activity (21). Armando's study independently correlated hypercoagulability, detected by shortened APTT, with the risk of VTE (22). According to Zakai et al., the cumulative incidence of VTE over a 13-year follow-up period is correlated with APTT levels, with shortened APTT increasing the risk of future VTE (23). Corresponding to the aforementioned studies, our study revealed that APTT shortening may increase the risk of PE.

Furthermore, our study demonstrated that increased RDW may be a risk factor for PE, consistent with related studies (24). RDW, a simple parameter derived from blood routine, reflects the heterogeneity of circulating red blood cell size (25). Multiple studies have confirmed the association between RDW and the severity, prognosis, and predictive value of PE (2628). Additionally, elevated RDW levels serve as an independent predictor of early PE-related mortality (29). The potential mechanism for the association between RDW and PE could involve the relationship between RDW, acute inflammatory markers, and alterations in blood viscosity (26). However, this mechanism has not been extensively investigated and requires further detailed research.

In conclusion, there exists a close association between LE-DVT, D-dimer, ATPP, and RDW with PE. Therefore, it is justifiable to incorporate these variables in the development of a predictive model for assessing the risk of PE.

In this study, we employed six common supervised machine learning methods, namely LR, DT, RF, NB, SVM, and AdaBoost, to construct risk prediction models. These methods are widely used in data mining and analysis, as well as for the prediction of various diseases. For instance, LR has been employed for the prediction of liver disease (30), DT for heart disease (31), RF for diabetes (32), NB for cardiovascular disease (33), SVM for hypertension (34), and AdaBoost for Parkinson's disease (35). LR is a classification model that calculates the probability of PE occurrence in patients by fitting a Sigmoid Function to the input sample data. SVM projects data from all patients onto a higher-dimensional feature space and creates a decision boundary to differentiate between PE-positive and PE-negative patients. NB independently learns the distribution of each variable in the PE-positive and PE-negative cohorts, allowing it to calculate the probability of PE in each patient. DT is a tree-structured classifier that makes decisions by asking binary questions. The construction process of a DT begins at the root node and continues through the internal nodes, where binary questions are posed. The algorithm selects the next branch of the tree based on the answer to the question (either yes or no), progressing closer to a leaf node. The root node represents the entire sample, while the branches depict decision rules, and the leaf nodes indicate the decision outcomes (36, 37). Both RF and AdaBoost are ensemble learning methods that aim to create robust classifiers by combining multiple weak classifiers, thereby enhancing the accuracy of predictions. However, they employ different training mechanisms. RF employs the bagging algorithm to independently construct weak classifiers, whereas AdaBoost, based on the boosting algorithm, involves an iterative training process for weak classifiers. In AdaBoost, the results of previous weak classifiers influence the construction of subsequent weak classifiers (38, 39).

The impact of parameters on the performance of ML models is widely acknowledged. To mitigate this influence and optimize the models to the fullest extent possible, a grid search approach was employed during their construction. Through this method, we systematically explored the parameter space to identify the optimal parameters or most effective parameter combinations for each ML model (40). For instance, DT parameter was set to cp = 0.01, RF parameter to mtry = 1, the parameter combinations for NB included fL = 0.1, usekernel = False, and adjust = 0.1, while for SVM, parameters were set to sigma = 0.5 and C = 0.1. Similarly, AdaBoost parameter combinations were defined as mfinal = 10, maxdepth = 30, and coeflearn = Freund. However, for LR, grid search was not conducted, as the “caret” package lacks parameters for LR. Notably, the parameters or parameter combinations offered by the “caret” package for the ML models are not adequately comprehensive, potentially limiting the scope for achieving greater optimization or tuning of the models.

Through the analysis of ROC and AUC, we observed that the RF model outperformed other models by achieving the highest AUC of 0.778, indicating superior predictive efficacy. The superior performance of the RF model in this context may be attributed to its compatibility with relatively small sample sizes, as well as its inherent advantages such as stability, ability to handle unbalanced datasets, and capability to reduce overfitting (41, 42). Furthermore, the results of the DCA revealed that the RF model consistently achieved the highest net benefit across the majority of threshold intervals, providing further confirmation of its superior performance over other models.

This study presents several advantages. Firstly, the ML models developed in this study have been specifically designed for inpatients and exhibit a high level of accuracy in predicting the risk of PE. While certain scoring rules, like the commonly used Well score and revised Geneva score, have been developed to assess the risk of PE, their validation has predominantly been limited to outpatients suspected of having PE, and they have not been adequately validated in the inpatient population (43). In fact, another study has emphasized that the application of the Well score in inpatients is inappropriate (6). Although clinical predictive scores such as the Caprine score (44), Padua score (45), and IMPROVE score (46) can be utilized to determine the risk of VTE in hospitalized patients, they are not comprehensive scoring tools specific to PE risk assessment. Therefore, relying on these scoring rules to predict the risk of PE in hospitalized patients is considered unreliable. On the contrary, our ML models have been developed and evaluated using a broad spectrum of hospitalized patients, confirming their efficacy, and demonstrating a high level of accuracy in predicting the risk of PE in hospitalized patients.

Secondly, given the high accuracy, user-friendly nature, and cost-effectiveness of the ML models we have developed, they are expected to play a promising auxiliary role in the detection of PE.

Lastly, this study stands out by developing multiple ML models. Previous studies have often employed a single ML method for modeling without providing a clear comparison of the advantages of different modeling methods. In contrast, we have trained multiple machine learning models and compared their efficacy and clinical benefits. This approach informs subsequent studies on the development of risk prediction models for PE in hospitalized patients, enabling the selection of the most suitable model.

Nonetheless, this study possesses several limitations. Firstly, all cases included in this study originated solely from a single hospital, thereby lacking data from diverse populations or other healthcare organizations for external validation. Secondly, the sample size of the included study is limited, and the clinical data of hospitalized patients is insufficient. Thirdly, it is a retrospective study and requires extensive prospective validation.

Conclusion

In this study, we identified several potential independent risk factors for PE, including EL-DVT, elevated D-dimer levels, shortened ATPP, and increased RDW. Subsequently, we developed six ML models to predict the occurrence of PE in hospitalized patients. Among these models, the RF model demonstrated the highest predictive efficacy and clinical benefit in accurately identifying and forecasting the risk of PE in hospitalized patients.

Data availability statement

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

Ethics statement

The studies involving humans were approved by the Medical Ethics Committee of the Affiliated Hospital of Guangdong Medical University. 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

TH: Writing – original draft, Writing – review & editing. ZH: Writing – original draft, Writing – review & editing. XP: Writing – review & editing. LP: Writing – review & editing. JS: Writing – review & editing. JiW: Writing – review & editing. JH: Writing – review & editing. KF: Writing – review & editing. JuW: Writing – review & editing. XS: Writing – original draft, Writing – review & editing.

Funding

The author(s) declare financial support was received for the research, authorship, and/or publication of this article.

Zhanjiang Science and Technology Research Project in 2022 (No.: 2022A01197).

Acknowledgments

We would also like to thank Yao Xiaoxia from Lian Jiang No. 3 Middle School for correcting the grammar in this article.

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.

References

1. Gran OV, Smith EN, Brækkan SK, Jensvoll H, Solomon T, Hindberg K, et al. Joint effects of cancer and variants in the factor 5 gene on the risk of venous thromboembolism. Haematologica. (2016) 9:1046–53. doi: 10.3324/haematol.2016.147405

Crossref Full Text | Google Scholar

2. Sun K, Xie Z, Wang J, Ling M, Li Y, Qiu C. Bioinformatics-based study to detect chemical compounds that show potential as treatments for pulmonary thromboembolism. Int J Mol Med. (2019) 1:276–84. doi: 10.3892/ijmm.2018.3987

Crossref Full Text | Google Scholar

3. Ramjug S, Phillips G. Update in the diagnosis and management of acute pulmonary embolism for the non-respiratory physician. Clin Med (Lond). (2021) 6:e591–7. doi: 10.7861/clinmed.2021-0666

Crossref Full Text | Google Scholar

4. Freund Y, Cohen-Aubart F, Bloom B. Acute pulmonary embolism: a review. JAMA. (2022) 13:1336–45. doi: 10.1001/jama.2022.16815

Crossref Full Text | Google Scholar

5. Shen JH, Chen HL, Chen JR, Xing JL, Gu P, Zhu BF. Comparison of the wells score with the revised Geneva score for assessing suspected pulmonary embolism: a systematic review and meta-analysis. J Thromb Thrombolysis. (2016) 3:482–92. doi: 10.1007/s11239-015-1250-2

Crossref Full Text | Google Scholar

6. Ageno W. Venous thromboembolism: the wells rule is not accurate in hospitalized patients. Nat Rev Cardiol. (2015) 8:449–50. doi: 10.1038/nrcardio.2015.106

Crossref Full Text | Google Scholar

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

PubMed Abstract | Crossref Full Text | Google Scholar

8. Sanmarchi F, Fanconi C, Golinelli D, Gori D, Hernandez-Boussard T, Capodici A. Predict, diagnose, and treat chronic kidney disease with machine learning: a systematic literature review. J Nephrol. (2023) 4:1101–17. doi: 10.1007/s40620-023-01573-4

Crossref Full Text | Google Scholar

9. Spann A, Yasodhara A, Kang J, Watt K, Wang B, Goldenberg A, et al. Applying machine learning in liver disease and transplantation: a comprehensive review. Hepatology. (2020) 3:1093–105. doi: 10.1002/hep.31103

Crossref Full Text | Google Scholar

10. Chou CY, Hsu DY, Chou CH. Predicting the onset of diabetes with machine learning methods. J Pers Med. (2023) 13(3):406. doi: 10.3390/jpm13030406

PubMed Abstract | Crossref Full Text | Google Scholar

11. Villacorta H, Pickering JW, Horiuchi Y, Olim M, Coyne C, Maisel AS, et al. Machine learning with D-dimer in the risk stratification for pulmonary embolism: a derivation and internal validation study. Eur Heart J Acute Cardiovasc Care. (2022) 1:13–9. doi: 10.1093/ehjacc/zuab089

Crossref Full Text | Google Scholar

12. Su H, Han Z, Fu Y, Zhao D, Yu F, Heidari AA, et al. Detection of pulmonary embolism severity using clinical characteristics, hematological indices, and machine learning techniques. Front Neuroinform. (2022) 16:1029690. doi: 10.3389/fninf.2022.1029690

PubMed Abstract | Crossref Full Text | Google Scholar

13. Wang G, Xu J, Lin X, Lai W, Lv L, Peng S, et al. Machine learning-based models for predicting mortality and acute kidney injury in critical pulmonary embolism. BMC Cardiovasc Disord. (2023) 1:385. doi: 10.1186/s12872-023-03363-z

Crossref Full Text | Google Scholar

14. Girardi AM, Bettiol RS, Garcia TS, Ribeiro GLH, Rodrigues É M, Gazzana MB, et al. Wells and Geneva scores are not reliable predictors of pulmonary embolism in critically ill patients: a retrospective study. J Intensive Care Med. (2020) 10:1112–7. doi: 10.1177/0885066618816280

Crossref Full Text | Google Scholar

15. Moheimani F, Jackson DE. Venous thromboembolism: classification, risk factors, diagnosis, and management. ISRN Hematol. (2011) 2011:124610. doi: 10.5402/2011/124610

PubMed Abstract | Crossref Full Text | Google Scholar

16. Fan X, Min T, Su S, Xiong B, Wan H. Validation of plasma D-dimer in Chinese patients with acute non-ST segment elevation myocardial infarction. Front Cardiovasc Med. (2022) 9:896173. doi: 10.3389/fcvm.2022.896173

PubMed Abstract | Crossref Full Text | Google Scholar

17. Schutte T, Thijs A, Smulders YM. Never ignore extremely elevated D-dimer levels: they are specific for serious illness. Neth J Med. (2016) 10:443–8. PMID: 27966438.

Google Scholar

18. Tuck AA, White HL, Abdalla BA, Cartwright GJ, Figg KR, Murphy EN, et al. To scan or not to scan—D-dimers and computed tomography pulmonary angiography in the era of COVID-19. Clin Med (Lond). (2021) 2:e155–60. doi: 10.7861/clinmed.2020-0664

Crossref Full Text | Google Scholar

19. Weng LC, Cushman M, Pankow JS, Basu S, Boerwinkle E, Folsom AR, et al. A genetic association study of activated partial thromboplastin time in European Americans and African Americans: the ARIC study. Hum Mol Genet. (2015) 8:2401–8. doi: 10.1093/hmg/ddu732

Crossref Full Text | Google Scholar

20. Levy JH, Szlam F, Wolberg AS, Winkler A. Clinical use of the activated partial thromboplastin time and prothrombin time for screening: a review of the literature and current guidelines for testing. Clin Lab Med. (2014) 3:453–77. doi: 10.1016/j.cll.2014.06.005

Crossref Full Text | Google Scholar

21. Ramli NN, Iberahim S, Mohd Noor NH, Zulkafli Z, Tengku Md Shihabuddin TM, Din MH, et al. Haemostasis and inflammatory parameters as potential diagnostic biomarkers for VTE in trauma-immobilized patients. Diagnostics (Basel). (2023) 13(1):150. doi: 10.3390/diagnostics13010150

PubMed Abstract | Crossref Full Text | Google Scholar

22. Tripodi A, Chantarangkul V, Martinelli I, Bucciarelli P, Mannucci PM. A shortened activated partial thromboplastin time is associated with the risk of venous thromboembolism. Blood. (2004) 12:3631–4. doi: 10.1182/blood-2004-03-1042

Crossref Full Text | Google Scholar

23. Zakai NA, Ohira T, White R, Folsom AR, Cushman M. Activated partial thromboplastin time and risk of future venous thromboembolism. Am J Med. (2008) 3:231–8. doi: 10.1016/j.amjmed.2007.10.025

Crossref Full Text | Google Scholar

24. Zöller B, Melander O, Svensson P, Engström G. Red cell distribution width and risk for venous thromboembolism: a population-based cohort study. Thromb Res. (2014) 3:334–9. doi: 10.1016/j.thromres.2013.12.013

Crossref Full Text | Google Scholar

25. Xanthopoulos A, Giamouzis G, Melidonis A, Kitai T, Paraskevopoulou E, Paraskevopoulou P, et al. Red blood cell distribution width as a prognostic marker in patients with heart failure and diabetes mellitus. Cardiovasc Diabetol. (2017) 1:81. doi: 10.1186/s12933-017-0563-1

Crossref Full Text | Google Scholar

26. Hammons L, Filopei J, Steiger D, Bondarsky E. A narrative review of red blood cell distribution width as a marker for pulmonary embolism. J Thromb Thrombolysis. (2019) 4:638–47. doi: 10.1007/s11239-019-01906-w

Crossref Full Text | Google Scholar

27. Akgedik R, Karamanli H, Kurt AB, Günaydın ZY. Usefulness of admission red blood cell distribution width as a predictor of severity of acute pulmonary embolism. Clin Respir J. (2018) 2:786–94. doi: 10.1111/crj.12595

Crossref Full Text | Google Scholar

28. Xing X, Deng Y, Zhu Y, Xu S, Liu J, Zhang C, et al. Red cell distribution width for prognosis in patients with pulmonary embolism: a systematic review and meta-analysis. Clin Respir J. (2020) 10:901–7. doi: 10.1111/crj.13227

Crossref Full Text | Google Scholar

29. Ozsu S, Abul Y, Gunaydin S, Orem A, Ozlu T. Prognostic value of red cell distribution width in patients with pulmonary embolism. Clin Appl Thromb Hemost. (2014) 4:365–70. doi: 10.1177/1076029612464901

Crossref Full Text | Google Scholar

30. Islam MM, Wu CC, Poly TN, Yang HC, Li YJ. Applications of machine learning in fatty live disease prediction. Stud Health Technol Inform. (2018) 247:166–70. PMID: 29677944.29677944

PubMed Abstract | Google Scholar

31. Maheswari S, Pitchai R. Heart disease prediction system using decision tree and naive Bayes algorithm. Curr Med Imaging Rev. (2019) 8:712–7. doi: 10.2174/1573405614666180322141259

Crossref Full Text | Google Scholar

32. Mani S, Chen Y, Elasy T, Clayton W, Denny J. Type 2 diabetes risk forecasting from EMR data using machine learning. AMIA Annu Symp Proc. (2012) 2012:606–15. PMID: 23304333.23304333

PubMed Abstract | Google Scholar

33. Miranda E, Irwansyah E, Amelga AY, Maribondang MM, Salim M. Detection of cardiovascular disease risk’s level for adults using naive Bayes classifier. Healthc Inform Res. (2016) 3:196–205. doi: 10.4258/hir.2016.22.3.196

Crossref Full Text | Google Scholar

34. Farran B, Channanath AM, Behbehani K, Thanaraj TA. Predictive models to assess risk of type 2 diabetes, hypertension and comorbidity: machine-learning algorithms and validation using national health data from Kuwait–a cohort study. BMJ Open. (2013) 3(5):e002457. doi: 10.1136/bmjopen-2012-002457

PubMed Abstract | Crossref Full Text | Google Scholar

35. Barukab O, Ahmad A, Khan T, Thayyil Kunhumuhammed MR. Analysis of Parkinson’s disease using an imbalanced-speech dataset by employing decision tree ensemble methods. Diagnostics (Basel). (2022) 12(12):3000. doi: 10.3390/diagnostics12123000

PubMed Abstract | Crossref Full Text | Google Scholar

36. Agrawal A, Chauhan A, Shetty MK, PGM, Gupta MD, Gupta A. ECG-iCOVIDNet: interpretable AI model to identify changes in the ECG signals of post-COVID subjects. Comput Biol Med. (2022) 146:105540. doi: 10.1016/j.compbiomed.2022.105540

PubMed Abstract | Crossref Full Text | Google Scholar

37. Ji Y, Chen Z, Cheng Q, Liu R, Li M, Yan X, et al. Estimation of plant height and yield based on UAV imagery in faba bean (Vicia faba L.). Plant Methods. (2022) 1:26. doi: 10.1186/s13007-022-00861-7

Crossref Full Text | Google Scholar

38. Wang X, Yang YQ, Liu SH, Hong XY, Sun XF, Shi JH. Comparing different venous thromboembolism risk assessment machine learning models in Chinese patients. J Eval Clin Pract. (2020) 1:26–34. doi: 10.1111/jep.13324

Crossref Full Text | Google Scholar

39. Yao H, Zhang N, Zhang R, Duan M, Xie T, Pan J, et al. Severity detection for the coronavirus disease 2019 (COVID-19) patients using a machine learning model based on the blood and urine tests. Front Cell Dev Biol. (2020) 8:683. doi: 10.3389/fcell.2020.00683

PubMed Abstract | Crossref Full Text | Google Scholar

40. Moosazadeh M, Ifaei P, Tayerani Charmchi AS, Asadi S, Yoo C. A machine learning-driven spatio-temporal vulnerability appraisal based on socio-economic data for COVID-19 impact prevention in the U.S. counties. Sustain Cities Soc. (2022) 83:103990. doi: 10.1016/j.scs.2022.103990

PubMed Abstract | Crossref Full Text | Google Scholar

41. Lei H, Zhang M, Wu Z, Liu C, Li X, Zhou W, et al. Development and validation of a risk prediction model for venous thromboembolism in lung cancer patients using machine learning. Front Cardiovasc Med. (2022) 9:845210. doi: 10.3389/fcvm.2022.845210

PubMed Abstract | Crossref Full Text | Google Scholar

42. van Altena AJ, Spijker R, Leeflang MMG, Olabarriaga SD. Training sample selection: impact on screening automation in diagnostic test accuracy reviews. Res Synth Methods. (2021) 6:831–41. doi: 10.1002/jrsm.1518

Crossref Full Text | Google Scholar

43. Douma RA, Mos IC, Erkens PM, Nizet TA, Durian MF, Hovens MM, et al. Performance of 4 clinical decision rules in the diagnostic management of acute pulmonary embolism: a prospective cohort study. Ann Intern Med. (2011) 11:709–18. doi: 10.7326/0003-4819-154-11-201106070-00002

Crossref Full Text | Google Scholar

44. Pannucci CJ, Rocconi RP. The limited utility of currently available venous thromboembolism risk assessment tools in gynecologic oncology patients. Am J Obstet Gynecol. (2016) 5:673–4. doi: 10.1016/j.ajog.2016.06.052

Crossref Full Text | Google Scholar

45. Barbar S, Noventa F, Rossetto V, Ferrari A, Brandolin B, Perlati M, et al. A risk assessment model for the identification of hospitalized medical patients at risk for venous thromboembolism: the Padua prediction score. J Thromb Haemost. (2010) 11:2450–7. doi: 10.1111/j.1538-7836.2010.04044.x

Crossref Full Text | Google Scholar

46. Spyropoulos AC, Lipardi C, Xu J, Peluso C, Spiro TE, De Sanctis Y, et al. Modified IMPROVE VTE risk score and elevated D-dimer identify a high venous thromboembolism risk in acutely ill medical population for extended thromboprophylaxis. TH Open. (2020) 1:e59–65. doi: 10.1055/s-0040-1705137

Crossref Full Text | Google Scholar

Keywords: pulmonary embolism, hospitalized patients, machine learning, prediction models, random forest

Citation: Huang T, Huang Z, Peng X, Pang L, Sun J, Wu J, He J, Fu K, Wu J and Sun X (2024) Construction and validation of risk prediction models for pulmonary embolism in hospitalized patients based on different machine learning methods. Front. Cardiovasc. Med. 11:1308017. doi: 10.3389/fcvm.2024.1308017

Received: 6 October 2023; Accepted: 11 June 2024;
Published: 25 June 2024.

Edited by:

Antonis Armoundas, Massachusetts General Hospital and Harvard Medical School, United States

Reviewed by:

Min Kyoung Kang, Ewha Womans University Seoul Hospital, Republic of Korea
Wanyi Fu, Tsinghua University, China

© 2024 Huang, Huang, Peng, Pang, Sun, Wu, He, Fu, Wu and Sun. 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: Jun Wu, 630206063@qq.com; Xishi Sun, 1097213689@qq.com

These authors have contributed equally to this work

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.