File size: 3,805 Bytes
2c5ede2
13a00ab
 
 
 
 
 
 
 
 
fe93b7b
f701814
 
 
 
 
 
 
 
 
13a00ab
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2c5ede2
13a00ab
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
---
dataset_info:
  features:
  - name: image
    dtype: image
  - name: image_id
    dtype: string
  - name: lesion_id
    dtype: string
  - name: dx
    dtype:
      class_label:
          names:
            '0': actinic_keratoses
            '1': melanoma
            '2': melanocytic_nevi
            '3': dermatofibroma
            '4': basal_cell_carcinoma
            '5': benign_keratosis-like_lesions
            '6': vascular_lesions
  - name: dx_type
    dtype: string
  - name: age
    dtype: float64
  - name: sex
    dtype: string
  - name: localization
    dtype: string
  - name: labels
    dtype:
      class_label:
        names:
          '0': actinic_keratoses
          '1': melanoma
          '2': melanocytic_nevi
          '3': dermatofibroma
          '4': basal_cell_carcinoma
          '5': benign_keratosis-like_lesions
          '6': vascular_lesions
  splits:
  - name: train
    num_bytes: 2490501038.358
    num_examples: 9577
  - name: test
    num_bytes: 351507473.24
    num_examples: 1285
  - name: validation
    num_bytes: 681758880.144
    num_examples: 2492
  download_size: 3693626934
  dataset_size: 3523767391.7419996
task_categories:
- image-classification
- image-segmentation
language:
- en
tags:
- skin_cancer
- HAM10000
pretty_name: HAM10000
size_categories:
- 1K<n<10K
---
# The HAM10000 dataset, a large collection of multi-source dermatoscopic images of common pigmented skin lesions

- Original Paper and Dataset [here](https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/DBW86T)
- Kaggle dataset [here](https://www.kaggle.com/datasets/kmader/skin-cancer-mnist-ham10000?resource=download)

# Introduction to datasets
Training of neural networks for automated diagnosis of pigmented skin lesions is hampered by the small size and lack of diversity of available dataset of dermatoscopic images. We tackle this problem by releasing the HAM10000 ("Human Against Machine with 10000 training images") dataset. We collected dermatoscopic images from different populations, acquired and stored by different modalities. The final dataset consists of 10015 dermatoscopic images which can serve as a training set for academic machine learning purposes. Cases include a representative collection of all important diagnostic categories in the realm of pigmented lesions: Actinic keratoses and intraepithelial carcinoma / Bowen's disease (akiec), basal cell carcinoma (bcc), benign keratosis-like lesions (solar lentigines / seborrheic keratoses and lichen-planus like keratoses, bkl), dermatofibroma (df), melanoma (mel), melanocytic nevi (nv) and vascular lesions (angiomas, angiokeratomas, pyogenic granulomas and hemorrhage, vasc).

More than 50% of lesions are confirmed through histopathology (histo), the ground truth for the rest of the cases is either follow-up examination (follow_up), expert consensus (consensus), or confirmation by in-vivo confocal microscopy (confocal). 

The test set is not public, but the evaluation server remains running (see the challenge website). Any publications written using the HAM10000 data should be evaluated on the official test set hosted there, so that methods can be fairly compared.

- Test site can be accessed [here](https://challenge.isic-archive.com/landing/2018/)

# Disclaimer and additional information
This is a contribution to open sourced data in hugging face for image data. Images can be obtained from above links. 

Train test split was done using a stratified splitting by cancer/diagnosis type. The code to stratify the dataset can be obtained on my github [here](https://github.com/marmal88/skin_cancer).

I do not own any rights to above images.

[More Information needed](https://github.com/huggingface/datasets/blob/main/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)