Kwanyong Hyun, Jae Jun Kim, Kyong Shil Im, Yoon Ho Kim, Jeong Hwan Ryu
{"title":"用简单胸片预测同侧和对侧气胸。","authors":"Kwanyong Hyun, Jae Jun Kim, Kyong Shil Im, Yoon Ho Kim, Jeong Hwan Ryu","doi":"10.21037/jtd-24-1729","DOIUrl":null,"url":null,"abstract":"<p><strong>Background: </strong>Accurate prediction is essential for the effective management of spontaneous pneumothorax (SP). To improve prediction, this study primarily focuses on using simple chest X-rays to predict ipsilateral recurrence and contralateral occurrence of SP.</p><p><strong>Methods: </strong>All consecutive subjects diagnosed with SP from July 2017 to June 2023 were retrospectively reviewed. Ipsilateral recurrence and contralateral occurrence of SP within two years of completing treatment were analyzed. Using simple chest X-rays and clinical parameters such as age, sex, smoking, chronic obstructive pulmonary disease (COPD) and surgery, machine learning algorithms were applied to predict SP development. Gradient-weighted Class Activation Mapping (Grad-CAM) was used to highlight the X-ray regions associated with SP development.</p><p><strong>Results: </strong>The study included 1,086 cases of SP, with 546 right-side and 540 left-side developments. Surgeries were performed in 243 right and 204 left cases. Ipsilateral recurrence occurred in 93 cases total, while contralateral occurrence occurred in 60 right and 34 left cases. For predicting ipsilateral recurrence in the young group, gradient boosting (GB) [area under curve (AUC) of 0.686, accuracy of 0.769, F1 score of 0.733, precision of 0.706, and recall of 0.769] for the right side and logistic regression (AUC of 0.628, accuracy of 0.781, F1 score of 0.753, precision of 0.737, and recall of 0.781) for the left side were the top-performing models. In the older group, K-nearest neighbors (KNN) (AUC of 0.615, accuracy of 0.801, F1 score of 0.760, precision of 0.735, and recall of 0.801) for the right side and logistic regression (AUC of 0.623, accuracy of 0.824, F1 score of 0.804, precision of 0.794, and recall of 0.824) for the left side were the best models. For predicting contralateral occurrence in the young group, random forest (RF) (AUC of 0.597, accuracy of 0.774, F1 score of 0.741, precision of 0.709, and recall of 0.774) for the right side and KNN (AUC of 0.650, accuracy of 0.893, F1 score of 0.849, precision of 0.809, and recall of 0.893) for the left side were the most effective models. In the older group, logistic regression (AUC of 0.630, accuracy of 0.935, F1 score of 0.914, precision of 0.894, and recall of 0.935) for the right side and neural network (NN) (AUC of 0.765, accuracy of 0.961, F1 score of 0.948, precision of 0.936, and recall of 0.961) for the left side were the top performers. Grad-CAM analysis revealed that apical lung portions were strongly associated with both ipsilateral recurrence and contralateral occurrence of SP.</p><p><strong>Conclusions: </strong>The results of this study suggest that machine learning algorithms using simple X-rays and basic clinical data can predict SP development with fair performance. The apical regions of the lung were strongly associated with SP development, consistent with clinical knowledge.</p>","PeriodicalId":17542,"journal":{"name":"Journal of thoracic disease","volume":"17 2","pages":"898-907"},"PeriodicalIF":2.1000,"publicationDate":"2025-02-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC11898339/pdf/","citationCount":"0","resultStr":"{\"title\":\"Prediction of ipsilateral and contralateral pneumothorax using a simple chest X-ray.\",\"authors\":\"Kwanyong Hyun, Jae Jun Kim, Kyong Shil Im, Yoon Ho Kim, Jeong Hwan Ryu\",\"doi\":\"10.21037/jtd-24-1729\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<p><strong>Background: </strong>Accurate prediction is essential for the effective management of spontaneous pneumothorax (SP). To improve prediction, this study primarily focuses on using simple chest X-rays to predict ipsilateral recurrence and contralateral occurrence of SP.</p><p><strong>Methods: </strong>All consecutive subjects diagnosed with SP from July 2017 to June 2023 were retrospectively reviewed. Ipsilateral recurrence and contralateral occurrence of SP within two years of completing treatment were analyzed. Using simple chest X-rays and clinical parameters such as age, sex, smoking, chronic obstructive pulmonary disease (COPD) and surgery, machine learning algorithms were applied to predict SP development. Gradient-weighted Class Activation Mapping (Grad-CAM) was used to highlight the X-ray regions associated with SP development.</p><p><strong>Results: </strong>The study included 1,086 cases of SP, with 546 right-side and 540 left-side developments. Surgeries were performed in 243 right and 204 left cases. Ipsilateral recurrence occurred in 93 cases total, while contralateral occurrence occurred in 60 right and 34 left cases. For predicting ipsilateral recurrence in the young group, gradient boosting (GB) [area under curve (AUC) of 0.686, accuracy of 0.769, F1 score of 0.733, precision of 0.706, and recall of 0.769] for the right side and logistic regression (AUC of 0.628, accuracy of 0.781, F1 score of 0.753, precision of 0.737, and recall of 0.781) for the left side were the top-performing models. In the older group, K-nearest neighbors (KNN) (AUC of 0.615, accuracy of 0.801, F1 score of 0.760, precision of 0.735, and recall of 0.801) for the right side and logistic regression (AUC of 0.623, accuracy of 0.824, F1 score of 0.804, precision of 0.794, and recall of 0.824) for the left side were the best models. For predicting contralateral occurrence in the young group, random forest (RF) (AUC of 0.597, accuracy of 0.774, F1 score of 0.741, precision of 0.709, and recall of 0.774) for the right side and KNN (AUC of 0.650, accuracy of 0.893, F1 score of 0.849, precision of 0.809, and recall of 0.893) for the left side were the most effective models. In the older group, logistic regression (AUC of 0.630, accuracy of 0.935, F1 score of 0.914, precision of 0.894, and recall of 0.935) for the right side and neural network (NN) (AUC of 0.765, accuracy of 0.961, F1 score of 0.948, precision of 0.936, and recall of 0.961) for the left side were the top performers. Grad-CAM analysis revealed that apical lung portions were strongly associated with both ipsilateral recurrence and contralateral occurrence of SP.</p><p><strong>Conclusions: </strong>The results of this study suggest that machine learning algorithms using simple X-rays and basic clinical data can predict SP development with fair performance. The apical regions of the lung were strongly associated with SP development, consistent with clinical knowledge.</p>\",\"PeriodicalId\":17542,\"journal\":{\"name\":\"Journal of thoracic disease\",\"volume\":\"17 2\",\"pages\":\"898-907\"},\"PeriodicalIF\":2.1000,\"publicationDate\":\"2025-02-28\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC11898339/pdf/\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Journal of thoracic disease\",\"FirstCategoryId\":\"3\",\"ListUrlMain\":\"https://doi.org/10.21037/jtd-24-1729\",\"RegionNum\":3,\"RegionCategory\":\"医学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"2025/2/24 0:00:00\",\"PubModel\":\"Epub\",\"JCR\":\"Q3\",\"JCRName\":\"RESPIRATORY SYSTEM\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of thoracic disease","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.21037/jtd-24-1729","RegionNum":3,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2025/2/24 0:00:00","PubModel":"Epub","JCR":"Q3","JCRName":"RESPIRATORY SYSTEM","Score":null,"Total":0}
Prediction of ipsilateral and contralateral pneumothorax using a simple chest X-ray.
Background: Accurate prediction is essential for the effective management of spontaneous pneumothorax (SP). To improve prediction, this study primarily focuses on using simple chest X-rays to predict ipsilateral recurrence and contralateral occurrence of SP.
Methods: All consecutive subjects diagnosed with SP from July 2017 to June 2023 were retrospectively reviewed. Ipsilateral recurrence and contralateral occurrence of SP within two years of completing treatment were analyzed. Using simple chest X-rays and clinical parameters such as age, sex, smoking, chronic obstructive pulmonary disease (COPD) and surgery, machine learning algorithms were applied to predict SP development. Gradient-weighted Class Activation Mapping (Grad-CAM) was used to highlight the X-ray regions associated with SP development.
Results: The study included 1,086 cases of SP, with 546 right-side and 540 left-side developments. Surgeries were performed in 243 right and 204 left cases. Ipsilateral recurrence occurred in 93 cases total, while contralateral occurrence occurred in 60 right and 34 left cases. For predicting ipsilateral recurrence in the young group, gradient boosting (GB) [area under curve (AUC) of 0.686, accuracy of 0.769, F1 score of 0.733, precision of 0.706, and recall of 0.769] for the right side and logistic regression (AUC of 0.628, accuracy of 0.781, F1 score of 0.753, precision of 0.737, and recall of 0.781) for the left side were the top-performing models. In the older group, K-nearest neighbors (KNN) (AUC of 0.615, accuracy of 0.801, F1 score of 0.760, precision of 0.735, and recall of 0.801) for the right side and logistic regression (AUC of 0.623, accuracy of 0.824, F1 score of 0.804, precision of 0.794, and recall of 0.824) for the left side were the best models. For predicting contralateral occurrence in the young group, random forest (RF) (AUC of 0.597, accuracy of 0.774, F1 score of 0.741, precision of 0.709, and recall of 0.774) for the right side and KNN (AUC of 0.650, accuracy of 0.893, F1 score of 0.849, precision of 0.809, and recall of 0.893) for the left side were the most effective models. In the older group, logistic regression (AUC of 0.630, accuracy of 0.935, F1 score of 0.914, precision of 0.894, and recall of 0.935) for the right side and neural network (NN) (AUC of 0.765, accuracy of 0.961, F1 score of 0.948, precision of 0.936, and recall of 0.961) for the left side were the top performers. Grad-CAM analysis revealed that apical lung portions were strongly associated with both ipsilateral recurrence and contralateral occurrence of SP.
Conclusions: The results of this study suggest that machine learning algorithms using simple X-rays and basic clinical data can predict SP development with fair performance. The apical regions of the lung were strongly associated with SP development, consistent with clinical knowledge.
期刊介绍:
The Journal of Thoracic Disease (JTD, J Thorac Dis, pISSN: 2072-1439; eISSN: 2077-6624) was founded in Dec 2009, and indexed in PubMed in Dec 2011 and Science Citation Index SCI in Feb 2013. It is published quarterly (Dec 2009- Dec 2011), bimonthly (Jan 2012 - Dec 2013), monthly (Jan. 2014-) and openly distributed worldwide. JTD received its impact factor of 2.365 for the year 2016. JTD publishes manuscripts that describe new findings and provide current, practical information on the diagnosis and treatment of conditions related to thoracic disease. All the submission and reviewing are conducted electronically so that rapid review is assured.