Cross-Dataset Generalization of Deep Learning Models for Melanoma Prediction: A Comparative Study of AlexNet, GoogLeNet, DenseNet, ResNet and Ensemble Approaches Beyond HAM10000
2024 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE credits
Student thesis
Abstract [en]
Background:
Melanoma is a severe form of skin cancer that requires early diagnosis for effective treatment. Deep learning models, especially Convolutional Neural Networks (CNNs), have shown promise in medical image classification. This study aims to evaluate the generalization capabilities of individual deep learning models and an ensemble approach for melanoma prediction, trained on the HAM10000 dataset and validated onother test datasets, such as PH2 and DermNet.
Objectives:
The primary objective of this thesis is to evaluate the performance of AlexNet, DenseNet, ResNet, GoogLeNet, and ensemble model for classifying melanoma images by training the models on HAM10000 dataset and testing on PH2 and DermNet datasets. The secondary objective is to analyse the generalization ability of HAM10000 dataset to produce effective models.
Methods:
The datasets for the study are collected from Kaggle and official databases and are preprocessed using techniques like normalization and LabelEncoder. The models are compiled after applying data augmentation and reinforcement. Next, the models are trained with different train_test_split configurations (80%, 90% and 100%) of HAM10000 dataset and evaluated all the models (12 individual models, 4 per training group and 3 ensemble models, 1 per training group) on a custom dataset (merged PH2 and DermNet datasets).
Results:
The ensemble model (en_V100) achieved the best overall performance, with the highest accuracy of 83.56%, precision of 0.947, recall of 0.943, F1-score of 0.945, and the lowest Hamming Loss of 0.164. Amongst the individual models, ResNet demonstrated best performance due to its architecture with residual connections. The AlexNet models performed poorly in every training group due to its simple architecture failing to capture the complex patterns in the data. Additionally, HAM10000 dataset is proved to be effective as all the models performed with generalizable results.
Conclusions:
The ensemble approach outperformed the individual models in every training group, suggesting combining multiple architectures will results in an overall reliable model for melanoma prediction. The models trained on the HAM10000 dataset showed good generalization when evaluated on other diverse datasets (PH2 and DermNet), indicating the effectiveness of the dataset.
Place, publisher, year, edition, pages
2024. , p. 50
Keywords [en]
Melanoma Prediction, Deep Learning, Medical Image Analysis, Convolutional Neural Networks, Ensemble Models
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:bth-26660OAI: oai:DiVA.org:bth-26660DiVA, id: diva2:1881739
Subject / course
DV1478 Bachelor Thesis in Computer Science
Educational program
DVGDT Bachelor Qualification Plan in Computer Science 60.0 hp
Presentation
2024-05-20, J1620, Blekinge Institute of Technology, 371 79 Karlskrona, Karlskrona, 09:30 (English)
Supervisors
Examiners
2024-08-272024-07-032025-09-30Bibliographically approved