PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
December 5, 2025Annals of Surgical Oncology1 citationsOpen Access

Machine Learning for Classification in Lung Cancer Using Routine Clinical and Laboratory Data

View Full Paper
CLChang LiuYLYulin LiaoDWDongsheng Wang

Key Points

  • Random forest model achieved an AUC of 0.999 in the training set and showed superior performance over other algorithms.
  • Model performance was evaluated using metrics like AUC, accuracy, and F1 score across 1122 lung cancer patients.
  • Analysis leveraged logistic regression and key algorithms such as LASSO for feature selection with five-fold cross-validation.
  • Web-based calculator enables real-time clinical application, highlighting the need for future validation across diverse healthcare settings.

Abstract

Abstract Background Accurate pathological classification of lung cancer is essential for informing treatment strategies. However, invasive biopsy procedures are not feasible for high-risk patients or those with inaccessible lesions. This study aimed to develop a machine learning model utilizing routine clinical and laboratory data for classification of non-invasive lung cancer. Methods Data from patients admitted to Sichuan Provincial Cancer Hospital were retrospectively analyzed. Key features were determined using LASSO and Boruta algorithms. Four machine learning models, including logistic regression, extreme gradient boosting (XGBoost), categorical boosting (CatBoost), and random forest (RandomForest), were trained and optimized through five-fold cross-validation. Model performance was assessed using the area under the receiver operating characteristic curve (AUC), accuracy, and F1 score. An online calculator was developed using R Shiny for clinical deployment. Results A total of 1122 patients with lung cancer were included and randomly assigned to the training and test sets. In the training set, 16 features were incorporated into the models. The RandomForest model demonstrated superior performance compared with the other models, achieving an AUC of 0.999, an accuracy of 0.984, and an F1 score of 1.000. Notably, sex and tumor markers were identified as significant predictors. In the test set, the RandomForest model attained a micro-averaged AUC of 0.969 and macro-averaged AUC of 0.940. Sensitivity and specificity varied from 0.667 to 0.995 across subtypes. A web-based tool was implemented to facilitate real-time clinical application ( https://nkuwangkai.shinyapps.io/lung-cancer-v1/ ). Conclusion This study presented a robust, non-invasive machine learning model for lung cancer subtype classification, addressing critical gaps in clinical practice for biopsy-ineligible patients. A web-based calculator was developed to facilitate clinical application. Nonetheless, future multicenter validation is warranted to expand the generalizability of this model and promote adoption in diverse healthcare settings.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Liu et al. (2025) studied this question.

synapsesocial.com/papers/6932313d8e51979591dcef6dhttps://doi.org/10.1245/s10434-025-18747-y
Ask AI
Helpful
Bookmark
Share
View Full Paper