ResearchOpen Heart · Jan 7, 2026

Machine learning-based cardiovascular risk calculator for non-cardiac surgery

Al Khatib N, Chehab A, Tamim H, Dakik HA, Tajeddine R
CardiologySurgeryDigital Health & AIAdult
Read the full paper free at PubMed Central ↗

Abstract

Background Annually, 4% of the global population undergoes non-cardiac surgery, with 30% of those patients having at least one cardiovascular risk factor. It is estimated that the 30-day mortality is between 0.5% and 2%.The main objective of this study is to develop a traditional machine learning (ML) model that provides a cardiovascular risk score for patients older than 50 years undergoing non-cardiac surgery, calculating the risk from the date of surgery until 30 days post surgery, with specific emphasis on interpretability and explainability of the model's decision-making process. Methods The NSQIP 2022 dataset was used to build the model. It consisted of a total of 4 97 011 patients after data cleaning. The primary clinical endpoint was death, myocardial infarction, cardiac arrest or stroke at 30 days postoperatively, which occurred in 1.44% of the patients. Different preprocessing techniques were performed for data cleaning and feature selection. The cleaned data were then used to model the selected learning algorithms, including Logistic Regression, Naive Bayes, Random Forest and boosting Decision Tree algorithms (CatBoost, AdaBoost, Light Gradient Boosting Machine (LightGBM, XGBoost, Gradient Boosting). These models were evaluated in terms of the area under the receiver operating characteristic curve (AUROC) and their corresponding 95% CI. Results For classification, the trained models were evaluated using AUROC on the test set. LightGBM achieved the highest AUROC of 0.9009 with a 95% CI of 0.8889 to 0.9126. The model consisted of six data elements: type of surgery, American Society of Anesthesiology classification, Blood Urea Nitrogen (BUN), sepsis, emergent surgery and mechanical ventilation. Conclusion In our study, LightGBM classifier proved to be the best model for cardiovascular risk scoring, demonstrating a strong balance between prediction accuracy and generalisation.

Abstract reproduced under the article’s CC BY NC licence.

More on this topic

AI in medicine

Subject terms

Humans; Machine Learning; Risk Assessment; Male; Female; Cardiovascular Diseases; Aged; Middle Aged; Surgical Procedures, Operative; Postoperative Complications; Retrospective Studies; Risk Factors

DOI: 10.1136/openhrt-2025-003565 · PubMed: 41500561

Cite this article

Al Khatib N, Chehab A, Tamim H, Dakik HA, Tajeddine R. Machine learning-based cardiovascular risk calculator for non-cardiac surgery. Open Heart. 2026;13(1). doi:10.1136/openhrt-2025-003565

RIS (EndNote, Zotero, Mendeley)BibTeX

Spotted a mistake? Suggest a correction

Top Cardiology studies every Monday

The week’s key trials and guidelines, free to read, in one short email. No account; unsubscribe in one click.

Choose specialties and topics

Similar articles

Meta-analysis n = 927,113 · Anaesthesia · Jun 22, 2026 · Anesthesiology, Surgery

Machine learning outperformed traditional methods for predicting cardiac complications

Secondary analysis of a trial n = 2,222 · JAMA Cardiol · Jun 25, 2025 · Cardiology, Surgery

Preoperative cardiovascular risk did not affect outcomes when continuing or discontinuing blood pressure medication before surgery

Systematic review n = 13,186 · Br J Anaesth · Mar 24, 2024 · Anesthesiology, Surgery

Three models fairly predicted acute kidney injury risk after noncardiac surgery in 13,186 patients

Meta-analysis · Anaesthesia · Jan 23, 2025 · Anesthesiology, Surgery

Poor subjective functional capacity was linked to higher risks after non-cardiac surgery

Meta-analysis n = 3,660 · BJS Open · Mar 18, 2021 · Surgery, Cardiology

Remote ischaemic preconditioning was associated with fewer cardiovascular events after non-cardiac surgery