Deep Learning Skin Cancer Detection: A Robust Explanation and Approach
Loading...
Date
Authors
Journal Title
Journal ISSN
Volume Title
Publisher
University of M'Sila
Abstract
Skin cancer is one of the most common and dangerous diseases worldwide, and early diagnosis
is essential for effective treatment. However, skin lesion classification remains difficult because
benign and malignant lesions can have very similar visual appearances.
This study proposes a deep learning-based system for automatic skin lesion classification using
dermoscopic images from the HAM10000 dataset, which contains 10,015 images from seven
diagnostic classes. Several preprocessing techniques were applied, including hair removal,
CLAHE contrast enhancement, bilateral filtering, resizing, data augmentation, and moderate
oversampling to improve image quality and handle class imbalance.
Five models were trained and evaluated: ConvNeXt-Tiny, Swin-Tiny, ConvNeXt-Small,
EfficientNetV2-S, and EfficientNet-B3. Their predicted probabilities were combined using sim
ple average probability fusion. The final ensemble achieved an accuracy of 92.36%, a Macro
F1-score of 0.8888, and a Weighted F1-score of 0.9224.
The system was further evaluated using confusion matrices, ROC curves, AUC, calibration
curves, PCA, t-SNE, and Grad-CAM.Theproposedmethodisnot intended to replace dermatol
ogists, but it can support medical decision-making by providing reliable and interpretable skin
lesion classification