Abstract
After lung surgery, chest tubes and a pump are used to manage air leaks and fluid output drainage from the chest. The decision to remove or maintain chest tubes is based on drainage data collected from the digital pump which continuously monitors the patient. Follow-up data include time-stamped drainage events accompanied with corresponding chest X-ray reports and patient charts. We construct, test and validate a random forest classifier to support this clinical decision-making process by identifying patients who can have their chest tubes removed safely and timely during their follow-up. Intuitively, this problem can be modeled as a time-series fitted to monitoring data. However, we present a simpler and less demanding classifier constructed from follow-up data collected in specific, non-overlapping post-operative time frames of equal length. We hypothesize that after surgery, patients struggle to attain a stable status (favorable or adverse), which prevails after a period of discrepancies and inconsistencies in the data. We identify this time frame when the majority of patients achieve that stability. The benefits lie in improving classification performance while lowering the burden of data collection during patient treatment. We present chest tube management as a classification task performed in a sliding window over time during patient monitoring. Our results show that reliable predictions can be achieved early on in the process. Further, our classifier ensures that chest tubes that need to be maintained are not removed at the cost of potentially maintaining a few unnecessarily.
Similar content being viewed by others
References
Breiman, L.: Random forests. Mach. Learn. 45(1), 5–32 (2001)
Brunelli, A., Cassivi, S.D., Salati, M., Fibla, J., Pompili, C., Halgren, L.A., Wigle, D.A., Di Nunzio, L.: Digital measurements of air leak flow and intra-pleural pressures in the immediate postoperative period predict risk of prolonged air leak after pulmonary lobectomy. Eur. J. Cardio-Thoracic Surg. 39, 584–8 (2011)
French, D.G., Dilena, M., LaPlante, S., Shamji, F., Sundaresan, S., Villeneuve, J., Seely, A., Maziak, D., Gilbert, S.: Optimizing postoperative care protocols in thoracic surgery: best evidence and new technology. J. Thorac. Dis. 8, S3-11 (2016)
French, D.G., Thompson, C., Gilbert, S.: Transition from multiple port to single port video-assisted thoracoscopic anatomic pulmonary resection: early experience and comparison of perioperative outcomes. Ann. Cardiothorac. Surg. 5, 92–9 (2016)
Gilbert, S., McGuire, A.L., Maghera, S., Sundaresan, S.R., Seely, A.J., Maziak, D.E., Shamji, F.M., Villeneuve, P.J.: Randomized trial of digital versus analog pleural drainage in patients with or without a pulmonary air leak after lung resection. J. Thorac. Cardiovasc. Surg. 150, 1243–9 (2015)
Gilbert, S., Maghera, S., Seely, A.J., Maziak, D.E., Shamji, F.M., Sundaresan, S.R., Villeneuve, P.J.: Identifying patients at higher risk of prolonged air leak after lung resection. Ann. Thorac. Surg. 102, 1674–9 (2016)
Hanley, J.A., McNeil, B.J.: The meaning and use of the area under a receiver operating characteristic (ROC) curve. Radiology 143(11), 29–36 (1982)
John, G.H., Langley, P.: Estimating Continuous Distributions in Bayesian Classifiers. In: Eleventh Conference on Uncertainty in Artificial Intelligence, San Mateo, 338-345 (1995)
Klement, W., Gilbert, S., Maziak, D.E., Seely, A.J.E., Shamji, F.M., Sundaresan, S.R., Villeneuve, P.J., Japkowicz, N.: Chest Tube Management After Lung Resection Surgery using a Classifier. In: IEEE International Conference on Data Science and Advanced Analytics, DSAA 432-441 (2019)
Lazarus, D.R., Casal, R.F.: Persistent air leaks: a review with an emphasis on bronchoscopic management. J. Thorac. Dis. 9(11), 4660–4670 (2017). https://doi.org/10.21037/jtd.2017.10.122
Ling, C.X., Huang, J., Zhang, H.: Auc: A better measure than accuracy in comparing learning algorithms. In: Canadian Conference on AI, 329-341 (2003)
McGuire, A.L., Petrcich, W., Maziak, D.E., Shamji, F.M., Sundaresan, S.R., Seely, A.J.E., Gilbert, S.: Digital versus analogue pleural drainage phase 1: prospective evaluation of interobserver reliability in the assessment of pulmonary air leaks. Interact. Cardiovasc. Thorac. Surg. 21, 403–7 (2015)
Mohapatra, S.K., Mohanty, M.N.: Big data analysis and classification of biomedical signal using random forest algorithm. New Paradigm in Decision Science and Management (pp. 217-224). Springer, Singapore (2020)
Mohapatra, S.K., Swarnkar, T., Mohanty, M.N.: Design of Random Forest Algorithm Based Model for Tachycardia Detection. Advanced Computing and Intelligent Engineering: Proceedings of ICACIE 2018, Volume 1, 1082, 191 (2020)
Pompili, C., Salati, M., Refai, M., Xiume, F., Sabbatini, A., Tiberi, M., Cregan, I., Brunelli, A.: Recurrent air leak soon after pulmonary lobectomy: an analysis based on an electronic airflow evaluation. Eur. J. Cardiothorac. Surg. 49 1091-4 discussion 1094.(2016)
Provost, F., Fawcett, T.: Robust classifica- tion systems for imprecise environments. Mach. Learn. 42, 203–231 (2001)
Quinlan, R.: C4.5: Programs for Machine Learning. Morgan Kaufmann Publishers, San Mateo, CA (1993)
Rodríguez, M., Jiménez, M.F., Hernàndez, M., Novoa, N.M., Aranda, J., Varela, G.: Usefulness of conventional pleural drainage systems to predict the occurrence of prolonged air leak after anatomical pulmonary resection. Eur. J. Cardio-Thoracic. Surg. 48, 612–5 (2015)
Seder, C.W., Basu, S., Ramsay, T., Rocco, G., Blackmon, S., Liptay, M.J., Gilbert, S.: A prolonged air leak score for lung cancer resection: an analysis of the society of thoracic surgeons general thoracic surgery database. Ann. Thorac. Surg. 108, 1478–83 (2019)
Shintani, Y., Funaki, S., Ose, N., Kawamura, T., Kanzaki, R., Minami, M., Okumura, M.: Air leak pattern shown by digital chest drainage system predict prolonged air leakage after pulmonary resection for patients with lung cancer. J. Thorac. Dis. 10, 3714–21 (2018)
Silber, J.H., Rosenbaum, P.R., Koziol, L.F., Sutaria, N., Marsh, R.R., Even-Shoshan, O.: Conditional length of stay. Health Serv. Res. 34(1 Pt 2), 349–363 (1999)
Sumner, M., Frank, E., Hall, M.: Speeding up logistic model tree induction. In: European conference on principles and practice of knowledge discovery in databases, 675-683 (2005)
Takamochi, K., Imashimizu, K., Fukui, M., Maeyashiki, T., Suzuki, M., Ueda, T., Matsuzawa, H., Hirayama, S., Matsunaga, T., Oh, S., Suzuki, K.: Utility of objective chest tube management after pulmonary resection using a digital drainage system. Ann. Thorac. Surg. 1-3 (2017)
Wang, S., Cao, J., Yu, P.S.: Deep learning for spatio-temporal data mining: a survey. IEEE Trans. Knowl. Data Eng. (2020). https://doi.org/10.1109/TKDE.2020.3025580
Yeung, C., Ghazel, M., French, D., Japkowicz, N., Gottlieb, B., Maziak, D., Seely, A.J.E., Shamji, F., Sundaresan, S., Villeneuve, P.J., Gilbert, S.: Forecasting pulmonary air leak duration following lung surgery using transpleural airflow data from a digital pleural drainage device. Thorac. Dis. 10(Suppl 32), S3747–S3754 (2018)
Zhu, R., Wang, Y., Liu, J.X., Dai, L.Y.: IPCARF: improving lncRNA-disease association prediction using incremental principal component analysis feature selection and a random forest classifier. BMC Bioinform. 22(1), 1–17 (2021)
Zou, Q., Xie, S., Lin, Z., Wu, M., Ju, Y.: Finding the best classification threshold in imbalanced classification. Big Data Res. 5, 2–8 (2016)
Acknowledgements
The authors thank Dr. Jennifer Dawson for her contributions to this manuscript, and we thank the reviewers and program committee for their valuable feedback. We also express gratitude for financial support by the Innovation Grant from the Ministry of Health and Long-term Care Innovation and Ontario Medical Association (Grant No. TOH 15-001).
Author information
Authors and Affiliations
Ethics declarations
Conflict of interest
The authors have no conflicts of interest.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
This project received funding from an Innovation Grant awarded to Dr. Sebastien Gilbert by the Ministry of Health and Long-Term Care of Ontario, Academic Health Science Center Alternate Funding Plan through the Ottawa Hospital Academic Medical Organization.
Rights and permissions
About this article
Cite this article
Klement, W., Gilbert, S., Resende, V.F. et al. The validation of chest tube management after lung resection surgery using a random forest classifier. Int J Data Sci Anal 13, 251–263 (2022). https://doi.org/10.1007/s41060-021-00296-8
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s41060-021-00296-8