This project classifies various types of skin lesions using Convolutional Neural Networks (CNNs). It addresses challenges such as class imbalance and overfitting by employing data augmentation, dropout layers, and sample balancing techniques.
The dataset consists of images of skin lesions categorized into nine classes:
- Actinic Keratosis
- Basal Cell Carcinoma
- Dermatofibroma
- Melanoma
- Nevus
- Pigmented Benign Keratosis
- Seborrheic Keratosis
- Squamous Cell Carcinoma
- Vascular Lesion
The dataset is highly imbalanced, requiring special handling to ensure fair representation of all classes.
The class distribution in the training dataset is as follows:
- A simple CNN with basic convolutional and pooling layers.
- Suffered from overfitting and limited generalization.
- Introduced data augmentation to diversify the training data.
- Added dropout layers to mitigate overfitting.
- Balanced the dataset using additional augmented samples.
- Retained data augmentation and dropout layers from ModelB.
-
Data Augmentation:
- Applied transformations like flips, rotations, and brightness adjustments to increase data variability.
-
Class Balancing:
- Used additional augmented samples to balance underrepresented classes.
This project highlights the challenges of classifying imbalanced datasets and the importance of techniques like augmentation and dropout to improve model generalization. The final model demonstrates better handling of class imbalance but still faces challenges with underrepresented and visually similar classes.
Amit Mohite
This project is assignment of Master of Science in Artificial Intelligence and Machine Learning
from Liverpool John Moores University and International Institute of Information Technology, Bangalore.