Lung cancer medical images classification using hybrid CNN-SVM

(1) * Abdulrazak Yahya Saleh Mail (Faculty of Cognitive Sciences and Human Development, Universiti Malaysia Sarawak, Malaysia)
(2) Chee Ka Chin Mail (Faculty of Engineering, Universiti Malaysia Sarawak, Malaysia)
(3) Vanessa Penshie Mail (Faculty of Cognitive Sciences and Human Development, Universiti Malaysia Sarawak, Malaysia)
(4) Hamada Rasheed Hassan Al-Absi Mail (College of Science and Engineering, Hamad Bin Khalifa University, Qatar)
*corresponding author


Lung cancer is one of the leading causes of death worldwide. Early detection of this disease increases the chances of survival. Computer-Aided Detection (CAD) has been used to process CT images of the lung to determine whether an image has traces of cancer. This paper presents an image classification method based on the hybrid Convolutional Neural Network (CNN) algorithm and Support Vector Machine (SVM). This algorithm is capable of automatically classifying and analyzing each lung image to check if there is any presence of cancer cells or not. CNN is easier to train and has fewer parameters compared to a fully connected network with the same number of hidden units. Moreover, SVM has been utilized to eliminate useless information that affects accuracy negatively. In recent years, Convolutional Neural Networks (CNNs) have achieved excellent performance in many computer visions tasks. In this study, the performance of this algorithm is evaluated, and the results indicated that our proposed CNN-SVM algorithm has been succeed in classifying lung images with 97.91% accuracy. This has shown the method's merit and its ability to classify lung cancer in CT images accurately.


Lung Cancer; Classification; Convolutional Neural Network; SVM; Computer aided detection (CAD)



Article metrics

Abstract views : 2288 | PDF views : 460




Full Text



[1] M. Kan Chan Siang and C. K. M. John, "A review of lung cancer research in Malaysia," Med J Malaysia, vol. 71, p. 71, 2016. Available at: Google Scholar.

[2] I. A. f. R. o. C. WHO, "New Global Cancer Data: GLOBOCAN 2018. World Health Organization," 2018. Available at:

[3] M. o. H. Malaysia., "Malaysia National Cancer Registry Report (MNCR) 2012-2016," ed. Putrajaya, 2019. Available at: Google Scholar.

[4] C. f. D. C. a. Prevention, "What is Lung Cancer?," 22 September 2020. Available at:

[5] A. C. Society, "About Lung Cancer," 1 October 2019. [Online]. Available at:

[6] E. J. Olson, "Lung nodules: Can they be cancerous?," 2020. Available at:

[7] P. Monkam, S. Qi, H. Ma, W. Gao, Y. Yao, and W. Qian, "Detection and classification of pulmonary nodules using convolutional neural networks: a survey," IEEE Access, vol. 7, pp. 78075-78091, 2019. doi: 10.1109/ACCESS.2019.2920980

[8] D. Nurtiyasari and D. Rosadi, "The application of Wavelet Recurrent Neural Network for lung cancer classification," in 2017 3rd International Conference on Science and Technology-Computer (ICST), 2017: IEEE, pp. 127-130. doi: 10.1109/ICSTC.2017.8011865

[9] F. M. Sullivan et al., "Earlier diagnosis of lung cancer in a randomised trial of an autoantibody blood test followed by imaging," European Respiratory Journal, vol. 57, no. 1, 2021. Available at: Google Scholar.

[10] H. Shin et al., "Early-stage lung cancer diagnosis by deep learning-based spectroscopic analysis of circulating exosomes," ACS nano, vol. 14, no. 5, pp. 5435-5444, 2020. doi: 10.1021/acsnano.9b09119

[11] H. Fujita, "AI-based computer-aided diagnosis (AI-CAD): the latest review to read first," Radiological physics and technology, vol. 13, no. 1, pp. 6-19, 2020. doi: 10.1007/s12194-019-00552-4

[12] A. Saygılı, "A new approach for computer-aided detection of coronavirus (COVID-19) from CT and X-ray images using machine learning methods," Applied Soft Computing, vol. 105, p. 107323, 2021. doi: 10.1016/j.asoc.2021.107323

[13] W. K. Moon et al., "Computer-aided tumor detection in automated breast ultrasound using a 3-D convolutional neural network," Computer methods and programs in biomedicine, vol. 190, p. 105360, 2020. doi: 10.1016/j.cmpb.2020.105360

[14] X.-F. Cao, Y. Li, H.-N. Xin, H.-R. Zhang, M. Pai, and L. Gao, "Application of artificial intelligence in digital chest radiography reading for pulmonary tuberculosis screening," Chronic Diseases and Translational Medicine, vol. 7, no. 1, pp. 35-40, 2021. doi: 10.1016/j.cdtm.2021.02.001

[15] M. Liang et al., "Low-dose CT screening for lung cancer: computer-aided detection of missed lung cancers," Radiology, vol. 281, no. 1, pp. 279-288, 2016. doi: 10.1148/radiol.2016150063

[16] M. Hany, "Chest CT-Scan images Dataset CT-Scan images with different types of chest cancer," 2020. Available at:

[17] H. Wang et al., "Comparison of machine learning methods for classifying mediastinal lymph node metastasis of non-small cell lung cancer from 18 F-FDG PET/CT images," EJNMMI research, vol. 7, no. 1, pp. 1-11, 2017. doi: 10.1186/s13550-017-0260-9

[18] K. Liu and G. Kang, "Multiview convolutional neural networks for lung nodule classification," International Journal of Imaging Systems and Technology, vol. 27, no. 1, pp. 12-22, 2017. doi: 10.1002/ima.22206

[19] G. A. P. Singh and P. Gupta, "Performance analysis of various machine learning-based approaches for detection and classification of lung cancer in humans," Neural Computing and Applications, vol. 31, no. 10, pp. 6863-6877, 2019. doi: 10.1007/s00521-018-3518-x

[20] F. Ali et al., "A smart healthcare monitoring system for heart disease prediction based on ensemble deep learning and feature fusion," Information Fusion, vol. 63, pp. 208-222, 2020. doi: 10.1016/j.inffus.2020.06.008

[21] C. Bhatt, I. Kumar, V. Vijayakumar, K. U. Singh, and A. Kumar, "The state of the art of deep learning models in medical science and their challenges," Multimedia Systems, pp. 1-15, 2020. Available at: Google Scholar.

[22] K. Muhammad, S. Khan, J. Del Ser, and V. H. C. de Albuquerque, "Deep learning for multigrade brain tumor classification in smart healthcare systems: A prospective survey," IEEE Transactions on Neural Networks and Learning Systems, 2020. doi: 10.1109/TNNLS.2020.2995800

[23] S. Mittal and Y. Hasija, "Applications of deep learning in healthcare and biomedicine," in Deep Learning Techniques for Biomedical and Health Informatics: Springer, 2020, pp. 57-77. doi: 10.1007/978-3-030-33966-1_4

[24] M. Masud, N. Sikder, A. A. Nahid, A. K. Bairagi, and M. A. AlZain, "A machine learning approach to diagnosing lung and colon cancer using a deep learning-based classification framework," Sensors, vol. 21, no. 3, p. 748, 2021. doi: 10.3390/s21030748

[25] D. Katz et al., "The association between the introduction of quantitative assessment of postpartum blood loss and institutional changes in clinical practice: an observational study," International journal of obstetric anesthesia, vol. 42, pp. 4-10, 2020. doi: 10.1016/j.ijoa.2019.05.006

[26] N. Bernal, J. Muniz Castro, K. Burton, and R. Thurer, "Accurate measurement of intraoperative blood loss during wound excision leads to more appropriate transfusion and reduced blood utilization," Journal of Anesthesia & Clinical Research, vol. 8, no. 11, pp. 1-6, 2017. doi: 10.4172/2155-6148.1000783

[27] T. Kadir and F. Gleeson, "Lung cancer prediction using machine learning and advanced imaging techniques," Translational lung cancer research, vol. 7, no. 3, p. 304, 2018. doi: 10.21037/tlcr.2018.05.15

[28] W. Sun, B. Zheng, and W. Qian, "Computer aided lung cancer diagnosis with deep learning algorithms," in Medical imaging 2016: computer-aided diagnosis, 2016, vol. 9785: International Society for Optics and Photonics, p. 97850Z. doi: 10.1117/12.2216307

[29] O. Echaniz and M. Graña, "Ongoing work on deep learning for lung cancer prediction," in International Work-Conference on the Interplay Between Natural and Artificial Computation, 2017: Springer, pp. 42-48. doi: 10.1007/978-3-319-59773-7_5

[30] X. Zhao, L. Liu, S. Qi, Y. Teng, J. Li, and W. Qian, "Agile convolutional neural network for pulmonary nodule classification using CT images," International journal of computer assisted radiology and surgery, vol. 13, no. 4, pp. 585-595, 2018. doi: 10.1007/s11548-017-1696-0

[31] S. J. Pawan, "Learning from small data," 9 March 2019. Available at:

[32] R. Keshari, M. Vatsa, R. Singh, and A. Noore, "Learning structure and strength of CNN filters for small sample size training," in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2018, pp. 9349-9358. doi: 10.1109/CVPR.2018.00974

[33] G. da Silva, A. Silva, A. de Paiva, and M. Gattass, "Classification of malignancy of lung nodules in CT images using convolutional neural network," in Anais do XVI Workshop de Informática Médica, 2016: SBC, pp. 21-29. Available at: Google Scholar.

[34] W. Alakwaa, M. Nassef, and A. Badr, "Lung cancer detection and classification with 3D convolutional neural network (3D-CNN)," Lung Cancer, vol. 8, no. 8, p. 409, 2017. doi: 10.14569/IJACSA.2017.080853.

[35] D. Riquelme and M. A. Akhloufi, "Deep learning for lung cancer nodules detection and classification in CT scans," AI, vol. 1, no. 1, pp. 28-67, 2020. doi: 10.3390/ai1010003

[36] A. Asuntha and A. Srinivasan, "Deep learning for lung Cancer detection and classification," Multimedia Tools and Applications, vol. 79, no. 11, pp. 7731-7762, 2020. doi: 10.1007/s11042-019-08394-3

[37] J. H. Lee et al., "Performance of a Deep Learning Algorithm Compared with Radiologic Interpretation for Lung Cancer Detection on Chest Radiographs in a Health Screening Population," Radiology, vol. 297, no. 3, pp. 687-696, 2020. doi: 10.1148/radiol.2020201240

[38] S. Takahashi et al., "Predicting Deep Learning Based Multi-Omics Parallel Integration Survival Subtypes in Lung Cancer Using Reverse Phase Protein Array Data," Biomolecules, vol. 10, no. 10, p. 1460, 2020. doi: 10.3390/biom10101460

[39] A. Bhandary et al., "Deep-learning framework to detect lung abnormality–A study with chest X-Ray and lung CT scan images," Pattern Recognition Letters, vol. 129, pp. 271-278, 2020. doi: 10.1016/j.patrec.2019.11.013

[40] L. Cong, W. Feng, Z. Yao, X. Zhou, and W. Xiao, "Deep Learning Model as a New Trend in Computer-aided Diagnosis of Tumor Pathology for Lung Cancer," Journal of Cancer, vol. 11, no. 12, p. 3615, 2020. doi: 10.7150/jca.43268

[41] B. Marr, "The top 10 artificial intelligence trends everyone should be watching in 2020.," 6 January 2020. Available at:

[42] M. Mahmud, M. S. Kaiser, T. M. McGinnity, and A. Hussain, "Deep learning in mining biological data," Cognitive Computation, vol. 13, no. 1, pp. 1-33, 2021. doi: 10.1007/s12559-020-09773-x

[43] F. Piccialli, V. Di Somma, F. Giampaolo, S. Cuomo, and G. Fortino, "A survey on deep learning in medicine: Why, how and when?," Information Fusion, vol. 66, pp. 111-137, 2021. doi: 10.1016/j.inffus.2020.09.006

[44] T. Nakaura, T. Higaki, K. Awai, O. Ikeda, and Y. Yamashita, "A primer for understanding radiology articles about machine learning and deep learning," Diagnostic and Interventional Imaging, 2020. doi: 10.1016/j.diii.2020.10.001

[45] S. Cui, H. H. Tseng, J. Pakela, R. K. Ten Haken, and I. El Naqa, "Introduction to machine and deep learning for medical physicists," Medical physics, vol. 47, no. 5, pp. e127-e147, 2020. doi: 10.1002/mp.14140

[46] S. Pouyanfar et al., "A survey on deep learning: Algorithms, techniques, and applications," ACM Computing Surveys (CSUR), vol. 51, no. 5, pp. 1-36, 2018. doi: 10.1145/3234150

[47] D. Yu et al., "Convolutional neural networks for predicting molecular profiles of non-small cell lung cancer," in 2017 IEEE 14th International Symposium on Biomedical Imaging (ISBI 2017), 2017: IEEE, pp. 569-572. doi: 10.1109/ISBI.2017.7950585

[48] S. M. Salaken, A. Khosravi, A. Khatami, S. Nahavandi, and M. A. Hosen, "Lung cancer classification using deep learned features on low population dataset," in 2017 IEEE 30th Canadian Conference on Electrical and Computer Engineering (CCECE), 2017: IEEE, pp. 1-5. doi: 10.1109/CCECE.2017.7946700

[49] I. Ali et al., "Lung nodule detection via deep reinforcement learning," Frontiers in oncology, vol. 8, p. 108, 2018. doi: 10.3389/fonc.2018.00108

[50] X. Liu, F. Hou, H. Qin, and A. Hao, "Multi-view multi-scale CNNs for lung nodule type classification from CT images," Pattern Recognition, vol. 77, pp. 262-275, 2018. doi: 10.1016/j.patcog.2017.12.022

[51] H. Cao, S. Pu, W. Tan, and J. Tong, "Breast mass detection in digital mammography based on anchor-free architecture," Computer Methods and Programs in Biomedicine, vol. 205, p. 106033, 2021. doi: 10.1016/j.cmpb.2021.106033

[52] S. Kaur, H. Aggarwal, and R. Rani, "Diagnosis of Parkinson's disease using deep CNN with transfer learning and data augmentation," Multimedia Tools and Applications, vol. 80, no. 7, pp. 10113-10139, 2021. doi: 10.1007/s11042-020-10114-1

[53] S. Dutta, P. Prakash, and C. G. Matthews, "Impact of data augmentation techniques on a deep learning based medical imaging task," in Medical Imaging 2020: Imaging Informatics for Healthcare, Research, and Applications, 2020, vol. 11318: International Society for Optics and Photonics, p. 113180M. doi: 10.1117/12.2549806

[54] A. Mikołajczyk and M. Grochowski, "Data augmentation for improving deep learning in image classification problem," in 2018 international interdisciplinary PhD workshop (IIPhDW), 2018: IEEE, pp. 117-122. doi: 10.1109/IIPHDW.2018.8388338

[55] J. Cho, K. Lee, E. Shin, G. Choy, and S. Do, "How much data is needed to train a medical image deep learning system to achieve necessary high accuracy?," arXiv preprint arXiv:1511.06348, 2015. Available at: Google Scholar.

[56] A. Sarkis, "How to create AI ready data for object detection," 2018. Available at:

[57] H.-y. Lee, "Deep learning tutorial," Open Course, Online Available, 2020. Available at: Google Scholar.

[58] E. MalekHosseini, M. Hajabdollahi, N. Karimi, S. Samavi, and S. Shirani, "Splitting Convolutional Neural Network Structures for Efficient Inference," arXiv preprint arXiv:2002.03302, 2020. Available at: Google Scholar.

[59] E. C. Putro, R. M. Awangga, and R. Andarsyah, Tutorial Object Detection People With Faster region-Based Convolutional Neural Network (Faster R-CNN). Kreatif, 2020. Available at: Google Books.

[60] H. Dao, "Image Classification Using Convolutional Neural Networks," 2020. Available at: Google Scholar.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

International Journal of Advances in Intelligent Informatics
ISSN 2442-6571  (print) | 2548-3161 (online)
Organized by UAD and ASCEE Computer Society
Published by Universitas Ahmad Dahlan
E: (paper handling issues) (publication issues)

View IJAIN Stats

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0