Artificial Intelligence - Intelligent Lungs Cancer Detection Using Logistic Regression and Support Vector Machine

Abstract

Lung cancer remains one of the leading causes of cancer related deaths worldwide, largely due to late-stage diagnosis. This project presents a machine learning-based system for the early detection of lung cancer using CT and X- ray images. The system utilizes two supervised learning algorithms Logistic Regression and Support Vector Machine (SVM) to classify lung images as either normal or cancerous. Key preprocessing steps, including grayscale conversion, resizing, normalization, and flattening, is applied to standardize the input data. Feature engineering techniques such as standardization and label encoding further enhance the model’s learning capability. Both models are trained and evaluated using labeled image data, achieving outstanding results with 100% accuracy on the test set. A single-image prediction module is also developed to enable real-time diagnosis, outputting a simple “Yes” or “No” based on the model's prediction. The system is lightweight, accurate, and user-friendly, offering potential integration into real-world clinical workflows. This work serves as a foundational step toward deploying AI-assisted lung cancer diagnosis systems in healthcare environments.

Country : India

1 Yogeswari. E2 Vimal Raja. R3 Yogapriya. E4 Oviya. J

  1. Computer Science and Engineering, C. K. College of Engineering and Technology, Cuddalore, India
  2. Computer Science and Engineering, C. K. College of Engineering and Technology, Cuddalore, India
  3. Computer Science and Engineering, C. K. College of Engineering and Technology, Cuddalore, India
  4. Computer Science and Engineering, C. K. College of Engineering and Technology, Cuddalore, India

IRJIET, Volume 9, Special Issue of ICCIS-2025 May 2025 pp. 80-85

doi.org/10.47001/IRJIET/2025.ICCIS-202512

References

  1. Chen, W., Hung, R., Jin, R., & Liu, H. (2023). CT Lung Nodule Segmentation: A Comparative Study of Data Preprocessing and Deep Learning Models.
  2. Zhuo, C., Zhuang, H., Gao, X., & Triplett, P. (2019). Lung cancer incidence in patients with schizophrenia: meta-analysis.
  3. Sharma, S., & Batra, K. (2019). Study of classification models for lung cancer detection using medical records.
  4. Bade, B., & Dela, C. (2020). Lung cancer 2020: epidemiology, etiology, and prevention, Clinics in Chest Medicine.
  5. Lee, H., Chao, L., & Hsu, C. (2021). A 10-year probability deep neural network prediction model for lung cancer.
  6. Guo, L., Lyu, Z., Meng, Q., et al. (2022). Construction and validation of a Lung Cancer Risk Prediction Model for non-smokers in China.
  7. Tse, L., Wang, F., Wong, M., Au, J., & Yu, I. (2022). Risk assessment and prediction for lung cancer.
  8. Lu Zhao,(2023). Self-Supervised Learning Guided Transformer for Survival Prediction of Lung Cancer Using Pathological Images.
  9. Brocki, L., & Chung, N. C. (2023). Integration of Radiomics and Tumor Biomarkers in Interpretable Machine Learning Models.
  10. C. Venkatesh, J. Chinna Babu, Ajmeera Kiran, Manoj Kumar. (2023). A Hybrid Model for Lung Cancer Prediction Using Patch Processing and Deep Learning on CT Images.
  11. Anum Masood (2023). Multi-Scale Swin Transformer Enabled Automatic Detection and Segmentation of Lung Metastases Using CT Images.
  12. Mohit Agarwal, Vivek Mehta, Rohit Kr Kaliyar, Suneet Kumar Gupta (2024). Lung Cancer Diagnosis Using a Lightweight Deep Learning Model.
  13. Ilani, M. A., Tehran, S. M., Kavei, A., & Alizadegan, H. (2024). Exploring Machine Learning Models for Lung Cancer Level Classification.
  14. Sreedar Bhukya, Vishnu Ganagoni, Sujith Sriram Nangunoor i, Sai Tharun Enapothula (2024). A Deep Learning Framework Using Enhanced Convolutional Neural Network for Detection of Lung Cancer from CT Images.
  15. Suguna Mariappan, Diana Moses (2024). Deep Learning Based Lung Cancer Detection Using CT Images.
  16. Shahriyar, O., Moghaddam, B. N., Yousefi, D., Mirzaei, A., & Hoseini, F. (2025). An analysis of the combination of feature selection and machine learning methods for an accurate and timely detection of lung cancer.