{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,19]],"date-time":"2026-10-19T17:58:18Z","timestamp":1792432698916,"version":"4.5.0"},"reference-count":36,"publisher":"Frontiers Media SA","license":[{"start":{"date-parts":[[2024,8,9]],"date-time":"2024-08-09T00:00:00Z","timestamp":1723161600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":["frontiersin.org"],"crossmark-restriction":true},"short-container-title":["Front. Oncol."],"abstract":"<jats:sec><jats:title>Purpose<\/jats:title><jats:p>The objective of this study was to create and validate a machine learning (ML)-based model for predicting the likelihood of lung infections following chemotherapy in patients with lung cancer.<\/jats:p><\/jats:sec><jats:sec><jats:title>Methods<\/jats:title><jats:p>A retrospective study was conducted on a cohort of 502 lung cancer patients undergoing chemotherapy. Data on age, Body Mass Index (BMI), underlying disease, chemotherapy cycle, number of hospitalizations, and various blood test results were collected from medical records. We used the Synthetic Minority Oversampling Technique (SMOTE) to handle unbalanced data. Feature screening was performed using the Boruta algorithm and The Least Absolute Shrinkage and Selection Operator (LASSO). Subsequently, six ML algorithms, namely Logistic Regression (LR), Random Forest (RF), Gaussian Naive Bayes (GNB), Multi-layer Perceptron (MLP), Support Vector Machine (SVM), and K-Nearest Neighbors (KNN) were employed to train and develop an ML model using a 10-fold cross-validation methodology. The model\u2019s performance was evaluated through various metrics, including the area under the receiver operating characteristic curve (ROC), accuracy, sensitivity, specificity, F1 score, calibration curve, decision curves, clinical impact curve, and confusion matrix. In addition, model interpretation was performed by the Shapley Additive Explanations (SHAP) analysis to clarify the importance of each feature of the model and its decision basis. Finally, we constructed nomograms to make the predictive model results more readable.<\/jats:p><\/jats:sec><jats:sec><jats:title>Results<\/jats:title><jats:p>The integration of Boruta and LASSO methodologies identified Gender, Smoke, Drink, Chemotherapy cycles, pleural effusion (PE), Neutrophil-lymphocyte count ratio (NLR), Neutrophil-monocyte count ratio (NMR), Lymphocytes (LYM) and Neutrophil (NEUT) as significant predictors. The LR model demonstrated superior performance compared to alternative ML algorithms, achieving an accuracy of 81.80%, a sensitivity of 81.1%, a specificity of 82.5%, an F1 score of 81.6%, and an AUC of 0.888(95%CI(0.863-0.911)). Furthermore, the SHAP method identified Chemotherapy cycles and Smoke as the primary decision factors influencing the ML model\u2019s predictions. Finally, this study successfully constructed interactive nomograms and dynamic nomograms.<\/jats:p><\/jats:sec><jats:sec><jats:title>Conclusion<\/jats:title><jats:p>The ML algorithm, combining demographic and clinical factors, accurately predicted post-chemotherapy lung infections in cancer patients. The LR model performed well, potentially improving early detection and treatment in clinical practice.<\/jats:p><\/jats:sec>","DOI":"10.3389\/fonc.2024.1403392","type":"journal-article","created":{"date-parts":[[2024,8,9]],"date-time":"2024-08-09T04:39:55Z","timestamp":1723178395000},"update-policy":"https:\/\/doi.org\/10.3389\/crossmark-policy","source":"Crossref","is-referenced-by-count":42,"title":["Construction of a risk prediction model for lung infection after chemotherapy in lung cancer patients based on the machine learning algorithm"],"prefix":"10.3389","volume":"14","author":[{"given":"Tao","family":"Sun","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Jun","family":"Liu","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Houqin","family":"Yuan","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Xin","family":"Li","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Hui","family":"Yan","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1965","published-online":{"date-parts":[[2024,8,9]]},"reference":[{"key":"B1","doi-asserted-by":"publisher","DOI":"10.1093\/jnci\/djab224","article-title":"The survival impact of second primary lung cancer in patients with lung cancer","volume":"114","author":"Choi","year":"2022","journal-title":"J Natl Cancer Institute"},{"key":"B2","doi-asserted-by":"publisher","DOI":"10.1016\/j.jtho.2019.05.044","article-title":"Lung cancer incidence and mortality with extended follow-up in the national lung screening trial","volume":"14","author":"Aberle","year":"2019","journal-title":"J Thorac Oncol"},{"key":"B3","doi-asserted-by":"publisher","DOI":"10.3389\/fonc.2020.00400","article-title":"Expert consensus on effective management of chemotherapy-induced nausea and vomiting: an Indian perspective","volume":"10","author":"Vaid","year":"2020","journal-title":"Front Oncol"},{"key":"B4","doi-asserted-by":"publisher","DOI":"10.21037\/atm.2016.AB013","article-title":"AB013. Nausea-vomiting in lung cancer patients undergoing chemotherapy","volume":"4","author":"Lavdaniti","year":"2016","journal-title":"Ann Transl Med"},{"key":"B5","doi-asserted-by":"publisher","first-page":"S171","DOI":"10.21037\/tlcr.2018.03.21","article-title":"Post-operative radiation therapy in locally advanced non-small cell lung cancer and the impact of sequential versus concurrent chemotherapy","volume":"7","author":"Waddle","year":"2018","journal-title":"Trans Lung Cancer Res"},{"key":"B6","doi-asserted-by":"publisher","DOI":"10.1007\/s10147-018-1304-5","article-title":"Observational study of chemotherapy-induced Clostridium difficile infection in patients with lung cancer","volume":"23","author":"Toi","year":"2018","journal-title":"Int J Clin Oncol"},{"key":"B7","doi-asserted-by":"publisher","DOI":"10.1513\/AnnalsATS.201401-041PL","article-title":"Infections in \u201cnoninfectious\u201d lung diseases","author":"Fitzpatrick","year":"2014","journal-title":"Ann Am Thorac Society"},{"key":"B8","doi-asserted-by":"publisher","first-page":"3856","DOI":"10.3390\/cancers14163856","article-title":"Deep learning algorithms for diagnosis of lung cancer: A systematic review and meta-analysis","volume":"14","author":"Forte","year":"2022","journal-title":"Cancers"},{"key":"B9","doi-asserted-by":"publisher","DOI":"10.3389\/fonc.2020.00743","article-title":"Preoperative prediction of lymph node metastasis in patients with early-T-stage non-small cell lung cancer by machine learning algorithms","volume":"10","author":"Wu","year":"2020","journal-title":"Front Oncol"},{"key":"B10","doi-asserted-by":"publisher","DOI":"10.1016\/S2589-7500(20)30102-3","article-title":"Clinical applications of continual learning machine learning","volume":"2","author":"Lee","year":"2020","journal-title":"Lancet Digital Health"},{"key":"B11","doi-asserted-by":"publisher","DOI":"10.1109\/RBME.4664312","article-title":"Machine learning for clinical outcome prediction","volume":"14","author":"Shamout","year":"2021","journal-title":"IEEE Rev Biomed Engineering"},{"key":"B12","doi-asserted-by":"publisher","DOI":"10.1136\/jitc-2023-006788","article-title":"Machine learning for prediction of immunotherapeutic outcome in non-small-cell lung cancer based on circulating cytokine signatures","volume":"11","author":"Wei","year":"2023","journal-title":"J Immunother Cancer"},{"key":"B13","doi-asserted-by":"publisher","first-page":"e114","DOI":"10.1093\/nar\/gkx291","article-title":"Gene set selection via LASSO penalized regression (SLPR)","volume":"45","author":"Frost","year":"2017","journal-title":"Nucleic Acids Res"},{"key":"B14","doi-asserted-by":"publisher","DOI":"10.1109\/TPAMI.34","article-title":"Ensembles of lasso screening rules","volume":"40","author":"Lee","year":"2018","journal-title":"IEEE Trans Pattern Anal Mach Intelligence"},{"key":"B15","doi-asserted-by":"publisher","first-page":"12718","DOI":"10.1038\/s41598-023-40036-5","article-title":"Diabetes mellitus early warning and factor analysis using ensemble Bayesian networks with SMOTE-ENN and Boruta","volume":"13","author":"Wang","year":"2023","journal-title":"Sci Rep"},{"key":"B16","doi-asserted-by":"publisher","first-page":"167","DOI":"10.1186\/s12889-024-17701-z","article-title":"Application of the Boruta algorithm to assess the multidimensional determinants of malnutrition among children under five years living in southern Punjab, Pakistan","volume":"24","author":"Saleem","year":"2024","journal-title":"BMC Public Health"},{"key":"B17","doi-asserted-by":"publisher","DOI":"10.1109\/tpami.2021.3071138","article-title":"A safe feature elimination rule for L(1)-regularized logistic regression","volume":"44","author":"Pan","year":"2022","journal-title":"IEEE Trans Pattern Anal Mach Intelligence"},{"key":"B18","doi-asserted-by":"publisher","DOI":"10.1093\/bioinformatics\/btab659","article-title":"Accelerating big data analysis through LASSO-random forest algorithm in QSAR studies","volume":"38","author":"Motamedi","year":"2022","journal-title":"Bioinf (Oxford England)"},{"key":"B19","doi-asserted-by":"publisher","DOI":"10.3389\/fgene.2023.1226905","article-title":"NeuroCNN_GNB: an ensemble model to predict neuropeptides based on a convolution neural network and Gaussian naive Bayes","volume":"14","author":"Liu","year":"2023","journal-title":"Front Genet"},{"key":"B20","doi-asserted-by":"publisher","DOI":"10.1016\/j.scitotenv.2020.140549","article-title":"Introducing a novel multi-layer perceptron network based on stochastic gradient descent optimized by a meta-heuristic algorithm for landslide susceptibility mapping","volume":"742","author":"Hong","year":"2020","journal-title":"Sci Total Environment"},{"key":"B21","doi-asserted-by":"publisher","DOI":"10.1109\/TPAMI.2023.3310908","article-title":"Handling multi-class problem by intuitionistic fuzzy twin support vector machines based on relative density information","volume":"45","author":"Rezvani","year":"2023","journal-title":"IEEE Trans Pattern Anal Mach Intelligence"},{"key":"B22","doi-asserted-by":"publisher","DOI":"10.1109\/TPAMI.2010.29","article-title":"Tuning support vector machines for minimax and Neyman-Pearson classification","volume":"32","author":"Davenport","year":"2010","journal-title":"IEEE Trans Pattern Anal Mach Intelligence"},{"key":"B23","doi-asserted-by":"publisher","DOI":"10.1109\/TPAMI.1984.4767533","article-title":"Classification bias of the k-nearest neighbor algorithm","volume":"6","author":"Goin","year":"1984","journal-title":"IEEE Trans Pattern Anal Mach Intelligence"},{"key":"B24","doi-asserted-by":"publisher","DOI":"10.3389\/fonc.2022.981059","article-title":"Prediction of lymph node metastasis in patients with breast invasive micropapillary carcinoma based on machine learning and SHapley Additive exPlanations framework","volume":"12","author":"Jiang","year":"2022","journal-title":"Front Oncol"},{"key":"B25","doi-asserted-by":"publisher","first-page":"e0284315","DOI":"10.1371\/journal.pone.0284315","article-title":"Interpretable machine learning with tree-based shapley additive explanations: Application to metabolomics datasets for binary classification","volume":"18","author":"Bifarin","year":"2023","journal-title":"PloS One"},{"key":"B26","article-title":"Risk factors for postoperative pulmonary infection in patients with non-small cell lung cancer: analysis based on regression models and construction of a nomogram prediction model","volume":"15","author":"Ding","year":"2023","journal-title":"Am J Trans Res"},{"key":"B27","doi-asserted-by":"publisher","first-page":"5681","DOI":"10.3390\/jcm12175681","article-title":"Harnessing machine learning for prediction of postoperative pulmonary complications: retrospective cohort design","volume":"12","author":"Kim","year":"2023","journal-title":"J Clin Med"},{"key":"B28","doi-asserted-by":"publisher","first-page":"e212240","DOI":"10.1001\/jamanetworkopen.2021.2240","article-title":"Use of machine learning to develop and evaluate models using preoperative and intraoperative data to identify risks of postoperative complications","volume":"4","author":"Xue","year":"2021","journal-title":"JAMA Network Open"},{"key":"B29","doi-asserted-by":"publisher","DOI":"10.1136\/thoraxjnl-2021-217260","article-title":"Infections due to dysregulated immunity: an emerging complication of cancer immunotherapy","volume":"77","author":"Morelli","year":"2022","journal-title":"Thorax"},{"key":"B30","doi-asserted-by":"publisher","DOI":"10.1111\/1759-7714.13422","article-title":"Opportunistic infections complicating immunotherapy for non-small cell lung cancer","volume":"11","author":"Liu","year":"2020","journal-title":"Thorac Cancer"},{"key":"B31","doi-asserted-by":"publisher","DOI":"10.1016\/S1470-2045(08)70255-9","article-title":"Lung infections after cancer chemotherapy","volume":"9","author":"Vento","year":"2008","journal-title":"Lancet Oncol"},{"key":"B32","doi-asserted-by":"publisher","DOI":"10.1016\/j.ejca.2020.09.025","article-title":"Infectious complications in patients treated with immune checkpoint inhibitors","volume":"141","author":"Karam","year":"2020","journal-title":"Eur J Cancer (Oxford England: 1990)"},{"key":"B33","doi-asserted-by":"publisher","DOI":"10.3389\/fimmu.2024.1269253","article-title":"Dynamic immune signatures of patients with advanced non-small-cell lung cancer for infection prediction after immunotherapy","volume":"15","author":"Luo","year":"2024","journal-title":"Front Immunol"},{"key":"B34","doi-asserted-by":"publisher","DOI":"10.1155\/2022\/4312117","article-title":"Prediction of lung infection during palliative chemotherapy of lung cancer based on artificial neural network","volume":"2022","author":"Guo","year":"2022","journal-title":"Comput Math Methods Med"},{"key":"B35","doi-asserted-by":"publisher","DOI":"10.1016\/j.jbi.2020.103653","article-title":"A prediction and interpretation framework of acute kidney injury in critical care","volume":"113","author":"Gong","year":"2021","journal-title":"J Biomed Informatics"},{"key":"B36","doi-asserted-by":"publisher","DOI":"10.1016\/j.cmpb.2021.106584","article-title":"Explanation of machine learning models using shapley additive explanation and application for real data in hospital","volume":"214","author":"Nohara","year":"2022","journal-title":"Comput Methods Programs Biomed"}],"container-title":["Frontiers in Oncology"],"original-title":[],"link":[{"URL":"https:\/\/www.frontiersin.org\/articles\/10.3389\/fonc.2024.1403392\/full","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2024,8,9]],"date-time":"2024-08-09T04:40:00Z","timestamp":1723178400000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.frontiersin.org\/articles\/10.3389\/fonc.2024.1403392\/full"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024,8,9]]},"references-count":36,"alternative-id":["10.3389\/fonc.2024.1403392"],"URL":"https:\/\/doi.org\/10.3389\/fonc.2024.1403392","relation":{},"ISSN":["2234-943X"],"issn-type":[{"value":"2234-943X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2024,8,9]]},"article-number":"1403392"}}