Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2023 Dec 30;14(1):89.
doi: 10.3390/diagnostics14010089.

Combining State-of-the-Art Pre-Trained Deep Learning Models: A Noble Approach for Skin Cancer Detection Using Max Voting Ensemble

Affiliations

Combining State-of-the-Art Pre-Trained Deep Learning Models: A Noble Approach for Skin Cancer Detection Using Max Voting Ensemble

Md Mamun Hossain et al. Diagnostics (Basel). .

Abstract

Skin cancer poses a significant healthcare challenge, requiring precise and prompt diagnosis for effective treatment. While recent advances in deep learning have dramatically improved medical image analysis, including skin cancer classification, ensemble methods offer a pathway for further enhancing diagnostic accuracy. This study introduces a cutting-edge approach employing the Max Voting Ensemble Technique for robust skin cancer classification on ISIC 2018: Task 1-2 dataset. We incorporate a range of cutting-edge, pre-trained deep neural networks, including MobileNetV2, AlexNet, VGG16, ResNet50, DenseNet201, DenseNet121, InceptionV3, ResNet50V2, InceptionResNetV2, and Xception. These models have been extensively trained on skin cancer datasets, achieving individual accuracies ranging from 77.20% to 91.90%. Our method leverages the synergistic capabilities of these models by combining their complementary features to elevate classification performance further. In our approach, input images undergo preprocessing for model compatibility. The ensemble integrates the pre-trained models with their architectures and weights preserved. For each skin lesion image under examination, every model produces a prediction. These are subsequently aggregated using the max voting ensemble technique to yield the final classification, with the majority-voted class serving as the conclusive prediction. Through comprehensive testing on a diverse dataset, our ensemble outperformed individual models, attaining an accuracy of 93.18% and an AUC score of 0.9320, thus demonstrating superior diagnostic reliability and accuracy. We evaluated the effectiveness of our proposed method on the HAM10000 dataset to ensure its generalizability. Our ensemble method delivers a robust, reliable, and effective tool for the classification of skin cancer. By utilizing the power of advanced deep neural networks, we aim to assist healthcare professionals in achieving timely and accurate diagnoses, ultimately reducing mortality rates and enhancing patient outcomes.

Keywords: classification; deep learning; max voting; medical imaging; skin cancer; transfer learning.

PubMed Disclaimer

Conflict of interest statement

The authors declare no conflict of interest.

Figures

Figure 1
Figure 1
Skin Cancer—Malignant and benign sample images [3].
Figure 2
Figure 2
Abstract view of proposed Max Voting-based skin cancer classification.
Figure 3
Figure 3
Overall workflow architecture of the proposed max voting-based ensemble technique.
Figure 4
Figure 4
Skin Cancer—Malignant and benign sample images.
Figure 5
Figure 5
Flowchart depicting the steps involved in individual training and testing the models (Models: MobileNetV2, AlexNet, VGG16, ResNet50, DenseNet201, DenseNet121, InceptionV3, ResNet50V2, InceptionResNetV2, and Xception).
Figure 6
Figure 6
Training Batch size and Learning Rate versus Accuracy.
Figure 7
Figure 7
Image size vs. accuracy and preprocessing batch size vs. accuracy.
Figure 8
Figure 8
Dropout vs. accuracy and layers vs. accuracy.
Figure 9
Figure 9
Accuracy and Loss Curve of Xception Model for 30 Epochs.
Figure 10
Figure 10
Accuracy and Loss Curve of Xception Model for 200 Epochs.
Figure 11
Figure 11
ROC Curve and AUC Scores for the MobileNetV2, Xception, and Max Voting.
Figure 12
Figure 12
Confusion Matrix: Individual Models (MobileNetV2, Xception) Versus Proposed (Max Voting-based Ensemble) Model.
Figure 13
Figure 13
ROC Curve and AUC Scores for the models (Models: MobileNetV2, AlexNet, VGG16, ResNet50, DenseNet201, DenseNet201, InceptionV3, ResNet50V2, InceptionResNetV2, Xception and Max Voting).
Figure 14
Figure 14
ROC Curve and AUC Scores for HAM10000 Dataset using proposed Max Voting Ensemble Technique.
Figure 15
Figure 15
ROC Curve and Confusion Matrix using Max Voting Technique for HAM10000 Dataset.

References

    1. Zelin E., Zalaudek I., Agozzino M., Dianzani C., Dri A., Di Meo N., Giuffrida R., Marangi G.F., Neagu N., Persichetti P., et al. Neoadjuvant therapy for non-melanoma skin cancer: Updated therapeutic approaches for basal, squamous, and merkel cell carcinoma. Curr. Treat. Options Oncol. 2021;22:1–24. doi: 10.1007/s11864-021-00826-3. - DOI - PMC - PubMed
    1. Ichihashi M., Ueda M., Budiyanto A., Bito T., Oka M., Fukunaga M., Tsuru K., Horikawa T. UV-induced skin damage. Toxicology. 2003;189:21–39. doi: 10.1016/S0300-483X(03)00150-1. - DOI - PubMed
    1. Kim I., He Y.Y. Ultraviolet radiation-induced non-melanoma skin cancer: Regulation of DNA damage repair and inflammation. Genes Dis. 2014;1:188–198. doi: 10.1016/j.gendis.2014.08.005. - DOI - PMC - PubMed
    1. US Department of Health and Human Services . The Surgeon General’s Call to Action to Prevent Skin Cancer. Office of the Surgeon General (US); Washington, DC, USA: 2014. [(accessed on 22 August 2023)]. Skin Cancer as a Major Public Health Problem. Available online: https://www.ncbi.nlm.nih.gov/books/NBK247164/
    1. Zhang B., Zhou X., Luo Y., Zhang H., Yang H., Ma J., Ma L. Opportunities and challenges: Classification of skin disease based on deep learning. Chin. J. Mech. Eng. 2021;34:112. doi: 10.1186/s10033-021-00629-5. - DOI

LinkOut - more resources