Deep Learning for Skin Cancer Classification: A Study of Model Accuracy, Generalization, and Ensemble Learning
PDF
PDF

How to Cite

Kratika, Nandini Tyagi, Riya Sharma, and Monika Sharma. 2025. “Deep Learning for Skin Cancer Classification: A Study of Model Accuracy, Generalization, and Ensemble Learning”. Journal of Soft Computing Paradigm 7 (2): 124-43. https://doi.org/10.36548/jscp.2025.2.005.

Keywords

— Skin Cancer
— Machine Learning
— Ensemble Learning
— VGG19
— DENSENET121
— Inception-RESNET-V2
— RESNET50
— Xception Model
Published: 06-06-2025

Abstract

Skin cancer is one of the most common types of cancer, primarily caused by unmutated DNA changes influenced by both environmental and genetic factors. Early and accurate identification is crucial for reducing mortality and improving treatment outcomes. This study utilizes the HAM10000: MNIST dataset, which consists of 10,015 high-resolution dermoscopic images, to evaluate various CNN models. The images were preprocessed and standardized to a consistent resolution to ensure uniformity. Among the models tested, Inception-ResNet-V2 exhibited the lowest accuracy at 51.22%, while VGG19 achieved the highest accuracy at 94.26%. This was followed by DenseNet121 at 93%, Xception at 93%, and ResNet50 at 92%. To further enhance predictive performance, an ensemble learning technique was employed, combining VGG19, DenseNet121, Inception-ResNet-V2, ResNet50, and Xception, resulting in an impressive accuracy rate of 98%. These findings highlight the potential of deep learning and ensemble methods to significantly improve early skin cancer detection, paving the way for more reliable and effective clinical decision-making.

References

  1. Islam, Md Khairul, Md Shahin Ali, Md Mosahak Ali, Mst Farija Haque, Abhilash Arjan Das, Md Maruf Hossain, D. S. Duranta, and Md Afifur Rahman. "Melanoma skin lesions classification using deep convolutional neural network with transfer learning." In 2021 1st International Conference on Artificial Intelligence and Data Analytics (CAIDA), IEEE, (2021): 48-53.
  2. Gouda, Niharika, and J. Amudha. "Skin cancer classification using ResNet." In 2020 IEEE 5th International conference on computing communication and automation (ICCCA), IEEE, (2020): 536-541.
  3. Salian, Abhishek C., Shalaka Vaze, Pragya Singh, Gulam Nasir Shaikh, Santosh Chapaneri, and Deepak Jayaswal. "Skin lesion classification using deep learning architectures." In 2020 3rd International conference on communication system, computing and IT applications (CSCITA), IEEE, (2020) 168-173.
  4. Milton, Md Ashraful Alam. "Automated skin lesion classification using ensemble of deep neural networks in isic 2018: Skin lesion analysis towards melanoma detection challenge." arXiv preprint arXiv:1901.10802 (2019).
  5. Abuared, Nour, Alavikunhu Panthakkan, Mina Al-Saad, Saad Ali Amin, and Wathiq Mansoor. "Skin cancer classification model based on VGG 19 and transfer learning." In 2020 3rd International conference on signal processing and information security (ICSPIS), IEEE, (2020): 1-4.
  6. Sreedhar, B., Manjunath Swamy BE, and M. Sunil Kumar. "A comparative study of melanoma skin cancer detection in traditional and current image processing techniques." In 2020 Fourth International Conference on I-SMAC (IoT in Social, Mobile, Analytics and Cloud)(I-SMAC), IEEE, (2020): 654-658.
  7. Demir, Ahmet, Feyza Yilmaz, and Onur Kose. "Early detection of skin cancer using deep learning architectures: resnet-101 and inception-v3." In 2019 medical technologies congress (TIPTEKNO), IEEE, (2019): 1-4. Pham, Tri Cong, Giang Son Tran, Thi Phuong Nghiem, Antoine Doucet, Chi Mai Luong, and Van-Dung Hoang. "A comparative study for classification of skin cancer." In 2019 International Conference on System Science and Engineering (ICSSE), IEEE, (2019): 267-272.
  8. Hasan, M. R., Fatemi, M. I., Monirujjaman Khan, M., Zaguia, A., Kaur, M. (2021). Comparative analysis of skin cancer (benign vs. malignant) detection using convolutional neural networks. Journal of Healthcare Engineering, 2021(1), 5895156.
  9. Ghosh, Hritwik, Irfan Sadiq Rahat, Sachi Nandan Mohanty, J. V. R. Ravindra, and Abdus Sobur. "A study on the application of machine learning and deep learning techniques for Skin Cancer Detection." International Journal of Computer and Systems Engineering 18, no. 1 (2024): 51-59.
  10. Siddique, Ansar, Kamran Shaukat, and Tony Jan. "An intelligent mechanism to detect multi-factor skin cancer." Diagnostics 14, no. 13 (2024): 1359.
  11. Kaya, Volkan, and İsmail Akgül. "Classification of skin cancer using VGGNet model structures." Gümüşhane Üniversitesi Fen Bilimleri Dergisi 13, no. 1 (2022): 190-198.
  12. Diab, Amal G., Nehal Fayez, and Mervat Mohamed El-Seddek. "Accurate skin cancer diagnosis based on convolutional neural networks." Indonesian Journal of Electrical Engineering and Computer Science 25, no. 3 (2022): 1429-1441.
  13. Jain, Satin, Udit Singhania, Balakrushna Tripathy, Emad Abouel Nasr, Mohamed K. Aboudaif, and Ali K. Kamrani. "Deep learning-based transfer learning for classification of skin cancer." Sensors 21, no. 23 (2021): 8142.
  14. Alshehri, Abdullah. "Skin-NeT: Skin Cancer Diagnosis Using VGG and ResNet-Based Ensemble Learning Approaches." Traitement du Signal 41, no. 4 (2024).
  15. Mehra, Anubhav, Akash Bhati, Amit Kumar, and Ruchika Malhotra. "Skin cancer classification through transfer learning using ResNet-50." In Emerging Technologies in Data Mining and Information Security: Proceedings of IEMIS 2020, Volume 2, Singapore: Springer Nature Singapore, (2021): 55-62.
  16. Panthakkan, Alavikunhu, S. M. Anzar, Sangeetha Jamal, and Wathiq Mansoor. "Concatenated Xception-ResNet50—A novel hybrid approach for accurate skin cancer prediction." Computers in Biology and Medicine 150 (2022): 106170.
  17. Gururaj, Harinahalli Lokesh, N. Manju, A. Nagarjun, VN Manjunath Aradhya, and Francesco Flammini. "DeepSkin: a deep learning approach for skin cancer classification." IEEE access 11 (2023): 50205-50214.
  18. Budhiman, Arief, Suyanto Suyanto, and Anditya Arifianto. "Melanoma cancer classification using resnet with data augmentation." In 2019 international seminar on research of information technology and intelligent systems (ISRITI), IEEE, (2019): 17-20.
  19. Pradhan, Adarsh, Subhojit Saha, Abhinay Das, and Santanu Barman. "Classification of Skin Lesion Using Image Processing and ResNet50." In International Conference on Big Data, Machine Learning, and Applications, Singapore: Springer Nature Singapore, (2021): 341-353.
  20. Ogundokun, Roseline Oluwaseun, Aiman Li, Ronke Seyi Babatunde, Chinecherem Umezuruike, Peter O. Sadiku, AbdulRahman Tosho Abdulahi, and Akinbowale Nathaniel Babatunde. "Enhancing skin cancer detection and classification in dermoscopic images through concatenated MobileNetV2 and xception models." Bioengineering 10, no. 8 (2023): 979.
  21. Mehmood, Abid, Yonis Gulzar, Qazi Mudassar Ilyas, Abdoh Jabbari, Muneer Ahmad, and Sajid Iqbal. "SBXception: a shallower and broader xception architecture for efficient classification of skin lesions." Cancers 15, no. 14 (2023): 3604.
  22. Chaturvedi, Saket S., Jitendra V. Tembhurne, and Tausif Diwan. "A multi-class skin Cancer classification using deep convolutional neural networks." Multimedia Tools and Applications 79, no. 39 (2020): 28477-28498.
  23. Moataz, Laila, Gouda I. Salama, and Mohamed H. Abd Elazeem. "Skin cancer diseases classification using deep convolutional neural network with transfer learning model." In Journal of physics: conference series, vol. 2128, no. 1, p. 012013. IOP Publishing, 2021.
  24. Singh, Priya, Mayand Kumar, and Aman Bhatia. "A comparative analysis of deep learning algorithms for skin cancer detection." In 2022 6th international conference on intelligent computing and control systems (iciccs), IEEE, (2022): 1160-1166.
  25. Lu, X., Firoozeh Abolhasani Zadeh, Y. A. (2022). Deep Learning-Based Classification for Melanoma Detection Using XceptionNet. Journal of Healthcare Engineering, 2022(1), 2196096.
  26. Bello, A., Ng, S. C., Leung, M. F. (2024). Skin Cancer Classification Using Fine-Tuned Transfer Learning of DENSENET-121. Applied Sci ences, 14(17), 7707.
  27. Jain, S., Agrawal, K. (2023, November). An Efficient Diagnosis of Melanoma Skin Disease Using DenseNet-121. In 2023 3rd Interna tional Conference on Technological Advancements in Computational Sciences (ICTACS). IEEE - 908-912.
  28. Niranjana, R., Hemadarshana, T., Ilakkya, S., Krishnan, R. S., Epziba, J. J., Preetha, T. (2024, June). Enhanced Skin Diseases Prediction using DenseNet-121: Leveraging Dataset Diversity for High Accuracy Clas sification. In 2024 3rd International Conference on Applied Artificial Intelligence and Computing (ICAAIC). IEEE - 1270-1278.
  29. Kujani, T., Kumar, V. D., Kavitha, A., Sathya, T. (2024, August). Dermoscopic Skin Lesion Classification using Color Features Based on Fine-Tuning of Resnet50 and Densenet121 Transfer Learning Models. In 2024 International Conference on Intelligent Algorithms for Computational Intelligence Systems (IACIS) (pp. 1-7). IEEE.