Skin cancer is one of the most common types of cancer worldwide, making early detection a crucial factor in improving patient recovery rates. This study compares three classification methods for pigmented skin cancer images using a combination of VGG16 with CBAM, MobileNetV2 with CBAM, and a hybrid VGG16-MobileNetV2 approach with transfer learning. The dataset used in this study is the Skin Cancer ISIC - The International Skin Imaging Collaboration (HAM10000) from Kaggle, which consists of 10,015 images covering seven types of skin cancer. After balancing, the dataset was reduced to 2,400 images with three main classes: Actinic Keratosis (AKIEC), Basal Cell Carcinoma (BCC), and melanoma (MEL), each containing 800 images. This study involves data preprocessing stages such as augmentation, normalization, and image resizing to ensure optimal data quality. The model training process was conducted using the Adam optimizer, a batch size of 16, and an Early Stopping mechanism to prevent overfitting. Evaluation results indicate that the MobileNetV2 with CBAM model achieved the best performance with a validation accuracy of 86%, followed by the VGG16-MobileNetV2 combination at 77%, while VGG16 with CBAM experienced overfitting with an accuracy of 54%. Additionally, the best-performing model demonstrated a precision of 86.53% and a recall of 86.46%, highlighting its superior stability in detecting skin cancer compared to previous single-model approaches. With these results, the developed system can serve as an effective tool for medical professionals in performing early and more accurate skin cancer diagnoses
Copyrights © 2025