Maintenance Notice

Due to necessary scheduled maintenance, the JMIR Publications website will be unavailable from Wednesday, July 01, 2020 at 8:00 PM to 10:00 PM EST. We apologize in advance for any inconvenience this may cause you.

Who will be affected?

Accepted for/Published in: JMIR Dermatology

Date Submitted: Jun 8, 2026
Date Accepted: Sep 23, 2026

The final, peer-reviewed published version of this preprint can be found here:

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

Deep Learning–Based Classification of Melanoma Using Dermoscopic Images: Comparative Evaluation of Convolutional Neural Network and DenseNet Models

JMIR Dermatol 2026;9:e104086

DOI: 10.2196/104086

Deep Learning–Based Classification of Melanoma Using Dermoscopic Images: Comparative Evaluation of Convolutional Neural Network and DenseNet Models

  • Harshal Sanghvi; 
  • Argyrios Agritis; 
  • Isabella Alvarez; 
  • Mitsu Patel; 
  • Shuwen Wang; 
  • Riki Patel; 
  • Raphael Banoub; 
  • Timonthy Makkar

ABSTRACT

Melanoma is an aggressive form of skin cancer with rising incidence worldwide, making early detection critical for patient survival. This study proposes an automated deep learning framework for melanoma classification using a conventional Convolutional Neural Network (CNN) and two Dense Convolutional Network models DenseNet169 and DenseNet201. Publicly available dermoscopic images from Kaggle, representing multiple malignant and benign skin conditions, were preprocessed, resized to 250×250 pixels, and augmented to address class imbalance. Models were trained with Adam and RMSprop optimizers across 20, 60, and 100 epochs, and evaluated using accuracy, F1score, sensitivity, and specificity. Results show that DenseNet169 and DenseNet201 outperformed the baseline CNN, achieving up to 95% accuracy and higher F1scores after data augmentation, with reduced overfitting and improved generalization. These findings highlight the potential of DenseNet architecture, combined with targeted preprocessing and optimization strategies, to deliver accurate, efficient, and scalable melanoma detection systems. The proposed framework could be integrated into clinical workflows and teledermatology platforms, aiding physicians in rapid, reliable lesion assessment and supporting earlier intervention.


 Citation

Please cite as:

Sanghvi H, Agritis A, Alvarez I, Patel M, Wang S, Patel R, Banoub R, Makkar T

Deep Learning–Based Classification of Melanoma Using Dermoscopic Images: Comparative Evaluation of Convolutional Neural Network and DenseNet Models

JMIR Dermatol 2026;9:e104086

DOI: 10.2196/104086

Download PDF


Request queued. Please wait while the file is being generated. It may take some time.

© The authors. All rights reserved. This is a privileged document currently under peer-review/community review (or an accepted/rejected manuscript). Authors have provided JMIR Publications with an exclusive license to publish this preprint on it's website for review and ahead-of-print citation purposes only. While the final peer-reviewed paper may be licensed under a cc-by license on publication, at this stage authors and publisher expressively prohibit redistribution of this draft paper other than for review purposes.