Classification of Monkeypox based on Skin Images Using Deep Neural Network and XGBoost with Explainable Artificial Intelligence Method

Document Type : Computer Article

Authors

1 Electrical and Computer Engineering Department, Semnan University, Semnan, Iran

2 Electrical and Computer Engineering Department, Semnan University, Semnan, Iran.

3 Room 317, Floor 3, Electrical and Computer Engineering Dept., Semnan University, Semnan, Iran.

4 School of Computing and Communications, Lancaster University, Lancaster, UK

Abstract

Monkeypox has recently emerged as a significant public health challenge, necessitating efficient diagnostic methods for timely detection. This study addresses the critical need for rapid and accurate diagnosis of monkeypox by leveraging artificial intelligence and transfer learning techniques, aiming to overcome limitations in current diagnostic methods. A publicly available dataset from Kaggle, comprising 228 original images labeled as monkeypox and other skin conditions, was augmented to 3192 images to address data scarcity and enhance model robustness. Pre-trained deep learning models, VGG19 and EfficientNetB4, were employed to extract image features, which were then classified using the XGBoost algorithm, known for its effectiveness in structured data classification. The proposed approach achieved high accuracy rates of 100% and 97.02% for the original and augmented datasets, respectively. Additionally, 5-fold cross-validation results demonstrated accuracies of 85.98% for the original dataset and 93.42% for the augmented set, highlighting the model's strong generalization capabilities. The proposed approach combines transfer learning with ensemble classification, providing a scalable solution that shows improved performance over several existing diagnostic methods in terms of accuracy and computational efficiency. The findings underscore the transformative potential of AI-driven diagnostic tools in public health, paving the way for more rapid, accessible, and accurate detection strategies for monkeypox and other emerging infectious diseases.

Keywords

Main Subjects



Articles in Press, Accepted Manuscript
Available Online from 06 January 2026
  • Receive Date: 14 September 2025
  • Revise Date: 17 December 2025
  • Accept Date: 06 January 2026