Abstract

Postoperative pulmonary complications (PPCs) are a significant concern following lung resection due to prolonged hospital stays and increased morbidity and mortality among patients. This study aims to develop and validate a risk prediction model for PPCs after lung resection using the random forest (RF) algorithm to enhance early detection and intervention. Data from 180 patients who underwent lung resections at the Third Affiliated Hospital of the Naval Medical University between September 2022 and February 2024 were retrospectively analyzed. The patients were randomly allocated into a training set and a test set in an 8:2 ratio. An RF model was constructed using Python, with feature importance ranked based on the mean Gini index. The predictive performance of the model was evaluated through analyses of the receiver operating characteristic curve, calibration curve, and decision curve. Among the 180 patients included, 47 (26.1%) developed PPCs. The top 5 predictive factors identified by the RF model were blood loss, maximal length of resection, number of lymph nodes removed, forced expiratory volume in the first second as a percentage of predicted value, and age. The receiver operating characteristic curve and calibration curve analyses demonstrated favorable discrimination and calibration capabilities of the model, while decision curve analysis indicated its clinical applicability. The RF algorithm is effective in predicting PPCs following lung resection and holds promise for clinical application.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.