Creative Commons source reading · Data quality and algorithm evaluation
Deep Learning–Based Classification of Melanoma Using Dermoscopic Images: Comparative Evaluation of Convolutional Neural Network and DenseNet Models
Sanghvi H; Agritis A; Alvarez I; Patel M; Wang S; Patel R; Banoub R; Makkar T
Originally published in JMIR Dermatol · 2026-10-27
From the article
Selected source text. JournalOS removes markup and shortens excerpts where indicated. The full article provides the complete context.
Abstract
AbstractBackgroundFor melanoma, an aggressive form of skin cancer, early and accurate detection is critical to improving clinical outcomes. Deep learning–based image analysis has emerged as a promising approach for computer-assisted evaluation of dermoscopic lesions. However, model performance is often affected by limited dataset size, class imbalance, overfitting, and differences in network architecture and optimization strategies.ObjectivesThis study was aimed at developing and comparatively evaluating convolutional neural network (CNN) and DenseNet-based deep learning models for automated classification of dermoscopic skin lesion images. The effects of data augmentation, network architecture, optimizer selection, and training duration on classification performance were examined.MethodsPublicly available dermoscopic skin lesion…
Comparison of Results Using RMSprop and Adam
Figure 6 shows the training and validation loss and accuracy of the model at 20, 60, and 100 epochs using the Adam optimizer. At 20 and 60 epochs, training and validation loss gradually decreased, with minimal difference between them. These results indicate that the model did not exhibit overfitting or underfitting. However, at 100 epochs, the validation loss initially decreased but began to increase at approximately 40 epochs. In contrast, training loss continued to decrease after 40 epochs. A similar trend was observed in training and validation accuracy. Training accuracy continuously increased with increasing epoch count, but validation accuracy remained approximately 50%. This deviation indicates overfitting. Figure S1 in Multimedia Appendix 1 shows the confusion matrix for the Adam optimizer. The RMSprop optimizer can be…
Implications
AI is increasingly transforming medicine by enhancing diagnostic accuracy, enabling personalized treatment strategies, and improving overall patient outcomes. Its ability to rapidly process large datasets, identify complex patterns, and support clinical decision-making is reshaping health care delivery. Notably, AI systems can improve diagnostic reliability, reduce human error, and streamline clinical workflows across medical specialties. In dermatology, AI has garnered considerable attention for its potential to improve the early detection of skin cancer, particularly melanoma. Advanced deep learning models, including CNNs and DenseNet architectures, have demonstrated performance comparable to, and in some cases, exceeding that of dermatologists in the analysis of dermoscopic and clinical images. These approaches can help address…
Editorial reading guide
- What data created and tested the model, and was evaluation independent?
- What is the cost of a false positive, false negative or out-of-distribution decision?
