Comparison of Prediction Models for Lung Cancer Data: Accuracy Analysis of Lasso Regression, SVM and XGBoost

Authors

  • Di Ren

DOI:

https://doi.org/10.54097/9ep5fd60

Keywords:

Lung cancer, Lasso regression, SVM, XGBoost.

Abstract

This study aimed to evaluate the performance of three predictive models on a lung cancer prediction dataset including Lasso Regression, Support Vector Machine (SVM), and eXtreme Gradient Boosting (XGBoost). To ensure data quality, preprocessing included converting binomial variables to numeric values and adjusting model weights to improve the detection of negative cases and reduce missed diagnoses. Model training was performed using a robust 5-fold cross-validation repeated three times to ensure accuracy and generalizability. For Lasso Regression, feature selection was optimized using both Minimum Squared Error (MSE) and 1-Standard Error (1SE) criteria. The SVM model’s cost parameter was fine-tuned through cross-validation. For XGBoost, key hyperparameters include the number of boosting rounds (nrounds), maximum depth (max_depth), learning rate, column sampling by tree (colsample_bytree), and subsampling rate (subsample) were selected to maximize accuracy. Model performance was assessed primarily through accuracy. Among the three, XGBoost achieved the highest accuracy, indicating its superior capability in handling binary classification tasks such as lung cancer prediction. These findings suggest that XGBoost may be particularly effective for clinical decision-support systems. Future research could expand to larger datasets or explore threshold adjustments to reduce false positives and further enhance model performance. This study provides useful guidance for selecting effective predictive models in lung cancer diagnosis.

Downloads

Download data is not yet available.

References

[1] Krist, Alex H, et al. Screening for Lung Cancer: US Preventive Services Task Force Recommendation Statement. JAMA: the journal of the American Medical Association, 2021, 325 (10): 962 - 970.

[2] Wu Fuzong, et al. Differences in Lung Cancer Characteristics and Mortality Rate between Screened and Non-Screened Cohorts. Scientific reports, 2019, 9: 19386 - 193867.

[3] Anil Kumar C, et al. Lung Cancer Prediction from Text Datasets Using Machine Learning. BioMed research international, 2022.

[4] Ji Guiyi, et al. Current Lung Cancer Screening Guidelines May Miss High-Risk Population: A Real-World Study. BMC cancer, 2021, 21: 50.

[5] Nour Mohammadi Liang, Patient-Provider Lung Cancer Screening Discussions: An Analysis of a National Survey. Clinical Lung Cancer, 2024, 25: 189 - 195.

[6] Hawkins Neil, et al. No Study Left Behind: A Network Meta-Analysis in Non–Small-Cell Lung Cancer Demonstrating the Importance of Considering All Relevant Data. Value in health, 2009, 12: 996 - 1003.

[7] Onozato Yuki, et al. Predicting Pathological Highly Invasive Lung Cancer from Preoperative [18F] FDG PET/CT with Multiple Machine Learning Models. European journal of nuclear medicine and molecular imaging, 2023, 50: 715 - 726.

[8] Lavanya C, et al. Novel Biomarker Prediction for Lung Cancer Using Random Forest Classifiers. Cancer informatics, 2023, 22.

[9] Pu Lucy, Rajeev Dhupar, Xin Meng. Predicting Postoperative Lung Cancer Recurrence and Survival Using Cox Proportional Hazards Regression and Machine Learning. Cancers, 2025, 17: 17 - 33.

[10] Kojima Kensuke, et al. Nonlinear Association between PD-L1 Expression Levels and the Risk of Postoperative Recurrence in Non-Small Cell Lung Cancer. Scientific reports, 2024, 14.

[11] Kumar Sandeep, et al. Optimized Predictive Models in Health Care Using Machine Learning. 1st ed. Newark: John Wiley & Sons, Incorporated, 2024.

Downloads

Published

05-09-2025

How to Cite

Ren, D. (2025). Comparison of Prediction Models for Lung Cancer Data: Accuracy Analysis of Lasso Regression, SVM and XGBoost. Highlights in Science, Engineering and Technology, 153, 304-312. https://doi.org/10.54097/9ep5fd60