Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
base_model:
|
| 5 |
+
- Ultralytics/YOLOv5
|
| 6 |
+
- Ultralytics/YOLOv8
|
| 7 |
+
- Ultralytics/YOLO11
|
| 8 |
+
- microsoft/resnet-18
|
| 9 |
+
- google/vit-base-patch16-224
|
| 10 |
+
- microsoft/swin-tiny-patch4-window7-224
|
| 11 |
+
- facebook/convnext-tiny-224
|
| 12 |
+
pipeline_tag: image-classification
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# HAM10000 Skin Lesion Classification
|
| 16 |
+
|
| 17 |
+
<p align="center">
|
| 18 |
+
<a href="https://wandb.ai/nbamine-fsdm/ham10000-benchmarks">
|
| 19 |
+
<img src="https://img.shields.io/badge/Weights_&_Biases-FFBE00?style=for-the-badge&logo=WeightsAndBiases&logoColor=white" />
|
| 20 |
+
</a>
|
| 21 |
+
<a href="https://github.com/NBAmine/Vision-models-comparaison">
|
| 22 |
+
<img src="https://img.shields.io/badge/GitHub-181717?style=for-the-badge&logo=github&logoColor=white" />
|
| 23 |
+
</a>
|
| 24 |
+
</p>
|
| 25 |
+
|
| 26 |
+
## Model Description
|
| 27 |
+
This model is a fine-tuned version of a computer vision architecture (YOLO, Transformer, or CNN) trained on the **HAM10000** dataset. The primary objective is the **binary classification** of skin lesions into two categories: **Benign** and **Malignant**. This work is part of a benchmark study evaluating modern architectures for dermatological triage.
|
| 28 |
+
|
| 29 |
+
- **Task:** Binary Image Classification
|
| 30 |
+
- **Dataset:** HAM10000 (Human Against Machine)
|
| 31 |
+
- **Classes:** Benign, Malignant
|
| 32 |
+
- **Developer:** NBAmine
|
| 33 |
+
|
| 34 |
+
## Objective & Methodology
|
| 35 |
+
The goal of this project is to identify the most effective architecture for early skin cancer detection. We evaluate several models including:
|
| 36 |
+
- **YOLO Series:** v5n, v8n, 11n (Classification)
|
| 37 |
+
- **Transformers:** ViT-B/16, Swin Tiny
|
| 38 |
+
- **CNNs:** ResNet18, ConvNeXt Tiny
|
| 39 |
+
|
| 40 |
+
### Training Highlights
|
| 41 |
+
- **Input Resolution:** 224x224 pixels.
|
| 42 |
+
- **Augmentation:** 180° rotations and flips to ensure rotation invariance.
|
| 43 |
+
- **Class Balancing:** Strategic oversampling of the Malignant class to mitigate dataset imbalance and improve clinical reliability.
|
| 44 |
+
|
| 45 |
+
## Evaluation Metrics
|
| 46 |
+
The models are evaluated with a focus on sensitivity to ensure high detection rates for malignant cases:
|
| 47 |
+
- **Primary Metrics:** Recall (Malignant class), Macro F1-Score.
|
| 48 |
+
- **Secondary Metrics:** Accuracy, Precision, Validation Loss.
|
| 49 |
+
|
| 50 |
+
## Intended Use
|
| 51 |
+
This model is intended for **research and educational purposes only**. It is designed as a decision-support tool for medical imaging analysis and is **not** a replacement for professional clinical diagnosis by a dermatologist.
|