Dataset Viewer
Auto-converted to Parquet
image
imagewidth (px)
600
600
image_id
stringlengths
12
12
lesion_id
stringlengths
11
11
diagnosis
stringclasses
7 values
diagnosis_type
stringclasses
4 values
age
float64
0
85
βŒ€
sex
stringclasses
3 values
localization
stringclasses
15 values
skin_tone
stringclasses
3 values
L_mean
float64
3.46
198
A_mean
float64
126
193
B_mean
float64
65.7
174
patient_id
stringlengths
10
10
country
stringclasses
8 values
region_type
stringclasses
2 values
occupation
stringclasses
9 values
sun_exposure
stringclasses
3 values
insurance_status
stringclasses
4 values
comorbidities
listlengths
0
3
medications
listlengths
0
5
ISIC_0027419
HAM_0000118
bkl
histo
80
male
scalp
Fitzpatrick I–II (light)
153.809991
152.307386
136.90806
PAT_000000
South Africa
rural
office_worker
moderate
none
[ "hypertension" ]
[ "amlodipine" ]
ISIC_0025030
HAM_0000118
bkl
histo
80
male
scalp
Fitzpatrick I–II (light)
69.748294
142.598939
120.928734
PAT_000000
South Africa
rural
office_worker
moderate
none
[ "hypertension" ]
[ "amlodipine" ]
ISIC_0026769
HAM_0002730
bkl
histo
80
male
scalp
Fitzpatrick I–II (light)
157.47105
154.753633
132.285582
PAT_000001
Nigeria
urban
student
moderate
public
[ "hypertension" ]
[ "enalapril" ]
ISIC_0025661
HAM_0002730
bkl
histo
80
male
scalp
Fitzpatrick I–II (light)
65.71914
142.333564
127.23301
PAT_000001
Nigeria
urban
student
moderate
public
[ "hypertension" ]
[ "enalapril" ]
ISIC_0031633
HAM_0001466
bkl
histo
75
male
ear
Fitzpatrick I–II (light)
133.178529
149.296681
132.057977
PAT_000002
Nigeria
rural
student
high
none
[]
[]
ISIC_0027850
HAM_0001466
bkl
histo
75
male
ear
Fitzpatrick V–VI (dark)
35.297991
140.11162
125.296974
PAT_000002
Nigeria
rural
student
high
none
[]
[]
ISIC_0029176
HAM_0002761
bkl
histo
60
male
face
Fitzpatrick I–II (light)
164.134772
151.419788
137.535423
PAT_000003
Nigeria
urban
healthcare_worker
high
none
[ "HIV" ]
[ "dolutegravir", "lamivudine", "efavirenz" ]
ISIC_0029068
HAM_0002761
bkl
histo
60
male
face
Fitzpatrick I–II (light)
96.504318
141.751295
139.084629
PAT_000003
Nigeria
urban
healthcare_worker
high
none
[ "HIV" ]
[ "dolutegravir", "lamivudine", "efavirenz" ]
ISIC_0025837
HAM_0005132
bkl
histo
70
female
back
Fitzpatrick I–II (light)
79.749596
143.003231
132.012924
PAT_000004
Ghana
urban
trader
high
none
[]
[]
ISIC_0025209
HAM_0005132
bkl
histo
70
female
back
Fitzpatrick I–II (light)
148.352574
159.127925
137.00468
PAT_000004
Ghana
urban
trader
high
none
[]
[]
ISIC_0025276
HAM_0001396
bkl
histo
55
female
trunk
Fitzpatrick III–IV (medium)
54.351036
135.204663
129.042746
PAT_000005
Ethiopia
urban
healthcare_worker
moderate
none
[]
[]
ISIC_0029396
HAM_0004234
bkl
histo
85
female
chest
Fitzpatrick I–II (light)
102.739819
145.28733
141.585973
PAT_000006
Ghana
urban
farmer
low
community
[]
[]
ISIC_0025984
HAM_0004234
bkl
histo
85
female
chest
Fitzpatrick III–IV (medium)
47.797113
137.275862
130.465918
PAT_000006
Ghana
urban
farmer
low
community
[]
[]
ISIC_0025767
HAM_0001949
bkl
histo
70
male
trunk
Fitzpatrick I–II (light)
138.332268
141.056709
132.053514
PAT_000007
Tanzania
urban
farmer
moderate
none
[]
[]
ISIC_0032417
HAM_0001949
bkl
histo
70
male
trunk
Fitzpatrick I–II (light)
120.633515
141.351499
140.985014
PAT_000007
Tanzania
urban
farmer
moderate
none
[]
[]
ISIC_0031326
HAM_0007207
bkl
histo
65
male
back
Fitzpatrick I–II (light)
163.133756
150.178452
125.723149
PAT_000008
Nigeria
rural
farmer
low
none
[]
[]
ISIC_0025915
HAM_0001601
bkl
histo
75
male
upper extremity
Fitzpatrick I–II (light)
124.766087
144.846407
132.659465
PAT_000009
Ghana
urban
healthcare_worker
moderate
none
[]
[]
ISIC_0031029
HAM_0001601
bkl
histo
75
male
upper extremity
Fitzpatrick I–II (light)
83.90779
163.214626
153.605723
PAT_000009
Ghana
urban
healthcare_worker
moderate
none
[]
[]
ISIC_0029836
HAM_0007571
bkl
histo
70
male
chest
Fitzpatrick I–II (light)
82.623806
147.397199
128.472947
PAT_000010
Other
rural
unemployed
low
none
[]
[]
ISIC_0032129
HAM_0007571
bkl
histo
70
male
chest
Fitzpatrick I–II (light)
79.233234
153.024349
129.105938
PAT_000010
Other
rural
unemployed
low
none
[]
[]
ISIC_0032343
HAM_0006071
bkl
histo
70
female
face
Fitzpatrick V–VI (dark)
23.825627
139.1669
119.540557
PAT_000011
Uganda
urban
farmer
high
none
[]
[]
ISIC_0025033
HAM_0003301
bkl
histo
60
male
back
Fitzpatrick V–VI (dark)
33.45082
134.980328
124.385246
PAT_000012
South Africa
urban
student
high
none
[]
[]
ISIC_0027310
HAM_0003301
bkl
histo
60
male
back
Fitzpatrick I–II (light)
104.946037
150.966189
137.257725
PAT_000012
South Africa
urban
student
high
none
[]
[]
ISIC_0032128
HAM_0004884
bkl
histo
75
male
upper extremity
Fitzpatrick I–II (light)
127.73183
142.728868
124.092504
PAT_000013
Kenya
urban
office_worker
high
community
[]
[]
ISIC_0025937
HAM_0004884
bkl
histo
75
male
upper extremity
Fitzpatrick I–II (light)
63.400246
135.810345
127.736453
PAT_000013
Kenya
urban
office_worker
high
community
[]
[]
ISIC_0027828
HAM_0002521
bkl
histo
40
male
upper extremity
Fitzpatrick I–II (light)
80.77506
143.30968
130.283155
PAT_000014
Ethiopia
urban
farmer
moderate
public
[]
[]
ISIC_0029291
HAM_0002521
bkl
histo
40
male
upper extremity
Fitzpatrick III–IV (medium)
54.494512
139.293902
124.789024
PAT_000014
Ethiopia
urban
farmer
moderate
public
[]
[]
ISIC_0030698
HAM_0006574
bkl
histo
40
male
back
Fitzpatrick I–II (light)
117.399449
138.169421
137.871901
PAT_000015
Ethiopia
rural
farmer
high
none
[]
[]
ISIC_0025567
HAM_0006574
bkl
histo
40
male
back
Fitzpatrick I–II (light)
118.0437
139.067253
139.892168
PAT_000015
Ethiopia
rural
farmer
high
none
[]
[]
ISIC_0031753
HAM_0001480
bkl
histo
70
male
abdomen
Fitzpatrick I–II (light)
120.544667
144.056518
148.984959
PAT_000016
Tanzania
rural
trader
high
none
[]
[]
ISIC_0026835
HAM_0001480
bkl
histo
70
male
abdomen
Fitzpatrick I–II (light)
66.430079
133.993843
129.358839
PAT_000016
Tanzania
rural
trader
high
none
[]
[]
ISIC_0031159
HAM_0005772
bkl
histo
60
female
face
Fitzpatrick I–II (light)
128.83058
150.115951
140.762391
PAT_000017
South Africa
rural
artisan
low
none
[]
[]
ISIC_0031017
HAM_0005772
bkl
histo
60
female
face
Fitzpatrick I–II (light)
132.621396
147.7313
137.279148
PAT_000017
South Africa
rural
artisan
low
none
[]
[]
ISIC_0024981
HAM_0005612
bkl
histo
80
male
scalp
Fitzpatrick I–II (light)
85.889341
144.330618
139.480652
PAT_000018
Nigeria
rural
office_worker
moderate
public
[]
[]
ISIC_0027815
HAM_0005388
bkl
histo
80
male
chest
Fitzpatrick III–IV (medium)
41.083713
136.758555
123.652519
PAT_000019
Kenya
rural
teacher
high
none
[]
[]
ISIC_0024324
HAM_0000351
bkl
histo
85
male
back
Fitzpatrick I–II (light)
116.367281
143.032503
145.011918
PAT_000020
Nigeria
rural
trader
moderate
private
[ "HIV" ]
[ "tenofovir", "efavirenz", "lamivudine" ]
ISIC_0029559
HAM_0000351
bkl
histo
85
male
back
Fitzpatrick I–II (light)
124.153249
139.540253
126.771995
PAT_000020
Nigeria
rural
trader
moderate
private
[ "HIV" ]
[ "tenofovir", "efavirenz", "lamivudine" ]
ISIC_0030661
HAM_0003847
bkl
histo
85
male
upper extremity
Fitzpatrick I–II (light)
98.652582
153.669014
127.338028
PAT_000021
Nigeria
urban
office_worker
high
none
[ "hypertension" ]
[ "hydrochlorothiazide" ]
ISIC_0027053
HAM_0003847
bkl
histo
85
male
upper extremity
Fitzpatrick I–II (light)
90.579659
152.353909
138.110523
PAT_000021
Nigeria
urban
office_worker
high
none
[ "hypertension" ]
[ "hydrochlorothiazide" ]
ISIC_0028560
HAM_0003847
bkl
histo
85
male
upper extremity
Fitzpatrick I–II (light)
68.40249
140.816044
128.665284
PAT_000021
Nigeria
urban
office_worker
high
none
[ "hypertension" ]
[ "hydrochlorothiazide" ]
ISIC_0031650
HAM_0003847
bkl
histo
85
male
upper extremity
Fitzpatrick I–II (light)
111.427035
145.036866
131.844854
PAT_000021
Nigeria
urban
office_worker
high
none
[ "hypertension" ]
[ "hydrochlorothiazide" ]
ISIC_0029161
HAM_0000164
bkl
histo
60
male
chest
Fitzpatrick I–II (light)
88.79002
157.717391
117.790349
PAT_000022
South Africa
urban
unemployed
moderate
public
[]
[]
ISIC_0026273
HAM_0000164
bkl
histo
60
male
chest
Fitzpatrick V–VI (dark)
30.193182
148.034091
114.375947
PAT_000022
South Africa
urban
unemployed
moderate
public
[]
[]
ISIC_0025076
HAM_0007409
bkl
histo
50
male
upper extremity
Fitzpatrick I–II (light)
111.968974
152.948687
136.918854
PAT_000023
Tanzania
rural
farmer
low
none
[ "hypertension" ]
[ "enalapril" ]
ISIC_0029687
HAM_0007409
bkl
histo
50
male
upper extremity
Fitzpatrick I–II (light)
117.256707
137.598844
140.654148
PAT_000023
Tanzania
rural
farmer
low
none
[ "hypertension" ]
[ "enalapril" ]
ISIC_0025642
HAM_0007409
bkl
histo
50
male
upper extremity
Fitzpatrick I–II (light)
111.255107
143.818137
150.167912
PAT_000023
Tanzania
rural
farmer
low
none
[ "hypertension" ]
[ "enalapril" ]
ISIC_0025819
HAM_0002299
bkl
histo
75
female
face
Fitzpatrick III–IV (medium)
46.883972
137.806293
122.069813
PAT_000024
Tanzania
rural
trader
high
none
[ "hypertension" ]
[ "hydrochlorothiazide" ]
ISIC_0032013
HAM_0002299
bkl
histo
75
female
face
Fitzpatrick I–II (light)
139.995355
150.717848
133.786064
PAT_000024
Tanzania
rural
trader
high
none
[ "hypertension" ]
[ "hydrochlorothiazide" ]
ISIC_0031691
HAM_0007010
bkl
histo
40
male
trunk
Fitzpatrick I–II (light)
83.143335
157.532728
135.006211
PAT_000025
South Africa
rural
student
high
none
[ "hypertension" ]
[ "enalapril" ]
ISIC_0025419
HAM_0007010
bkl
histo
40
male
trunk
Fitzpatrick I–II (light)
127.367182
148.114054
139.266372
PAT_000025
South Africa
rural
student
high
none
[ "hypertension" ]
[ "enalapril" ]
ISIC_0030105
HAM_0003670
bkl
histo
80
female
unknown
Fitzpatrick I–II (light)
101.006931
154.266541
127.336484
PAT_000026
South Africa
urban
farmer
high
private
[]
[]
ISIC_0025016
HAM_0007125
bkl
histo
75
male
back
Fitzpatrick I–II (light)
135.981
139.66546
123.773807
PAT_000027
South Africa
rural
artisan
high
community
[]
[]
ISIC_0029147
HAM_0007125
bkl
histo
75
male
back
Fitzpatrick I–II (light)
135.787733
144.008533
121.2
PAT_000027
South Africa
rural
artisan
high
community
[]
[]
ISIC_0029301
HAM_0001221
bkl
histo
45
male
upper extremity
Fitzpatrick I–II (light)
61.813115
142.219672
123.64153
PAT_000028
Other
urban
healthcare_worker
high
none
[]
[]
ISIC_0026637
HAM_0001221
bkl
histo
45
male
upper extremity
Fitzpatrick I–II (light)
61.880282
144.688129
121.55332
PAT_000028
Other
urban
healthcare_worker
high
none
[]
[]
ISIC_0030377
HAM_0001983
bkl
histo
70
male
back
Fitzpatrick I–II (light)
106.573154
157.075168
145.34094
PAT_000029
Nigeria
rural
healthcare_worker
high
none
[]
[]
ISIC_0027960
HAM_0003569
bkl
histo
75
male
unknown
Fitzpatrick I–II (light)
122.96478
150.630189
132.413522
PAT_000030
Uganda
urban
farmer
high
community
[]
[]
ISIC_0026955
HAM_0003569
bkl
histo
75
male
unknown
Fitzpatrick I–II (light)
70.861386
146.403465
124.081683
PAT_000030
Uganda
urban
farmer
high
community
[]
[]
ISIC_0028052
HAM_0000700
bkl
histo
60
male
face
Fitzpatrick III–IV (medium)
54.679396
142.599467
125.915631
PAT_000031
Nigeria
rural
office_worker
high
public
[]
[]
ISIC_0025286
HAM_0000728
bkl
histo
50
male
lower extremity
Fitzpatrick I–II (light)
99.125312
153.743385
134.681478
PAT_000032
South Africa
rural
artisan
moderate
none
[]
[]
ISIC_0031468
HAM_0003021
bkl
histo
75
female
face
Fitzpatrick V–VI (dark)
21.207671
135.505874
129.05114
PAT_000033
Tanzania
urban
farmer
high
none
[]
[]
ISIC_0030926
HAM_0003021
bkl
histo
75
female
face
Fitzpatrick I–II (light)
121.251613
152.621659
141.337788
PAT_000033
Tanzania
urban
farmer
high
none
[]
[]
ISIC_0029288
HAM_0000959
bkl
histo
75
female
face
Fitzpatrick V–VI (dark)
18.062305
132.652528
126.71076
PAT_000034
Ghana
urban
healthcare_worker
high
public
[ "diabetes_mellitus_type2", "hypertension" ]
[ "glibenclamide", "amlodipine" ]
ISIC_0031008
HAM_0000959
bkl
histo
75
female
face
Fitzpatrick I–II (light)
121.468875
142.218161
136.484866
PAT_000034
Ghana
urban
healthcare_worker
high
public
[ "diabetes_mellitus_type2", "hypertension" ]
[ "glibenclamide", "amlodipine" ]
ISIC_0024698
HAM_0001751
nv
consensus
70
male
face
Fitzpatrick I–II (light)
94.995025
155.177861
138.834577
PAT_000035
Nigeria
rural
trader
low
none
[ "hypertension" ]
[ "enalapril" ]
ISIC_0031495
HAM_0004569
bkl
histo
40
male
upper extremity
Fitzpatrick I–II (light)
112.3083
149.269269
143.926136
PAT_000036
South Africa
urban
unemployed
low
none
[]
[]
ISIC_0026104
HAM_0004569
bkl
histo
40
male
upper extremity
Fitzpatrick I–II (light)
124.300294
146.415113
137.236833
PAT_000036
South Africa
urban
unemployed
low
none
[]
[]
ISIC_0025099
HAM_0004641
bkl
histo
60
male
abdomen
Fitzpatrick I–II (light)
64.849219
146.250404
135.882606
PAT_000037
Ghana
rural
driver
moderate
none
[]
[]
ISIC_0031485
HAM_0004641
bkl
histo
60
male
abdomen
Fitzpatrick I–II (light)
73.077803
144.352403
137.691076
PAT_000037
Ghana
rural
driver
moderate
none
[]
[]
ISIC_0029413
HAM_0005801
bkl
histo
70
female
abdomen
Fitzpatrick I–II (light)
65.39087
150.345072
142.86971
PAT_000038
Nigeria
rural
unemployed
moderate
none
[]
[]
ISIC_0029576
HAM_0005801
bkl
histo
70
female
abdomen
Fitzpatrick I–II (light)
60.040532
144.136795
138.293224
PAT_000038
Nigeria
rural
unemployed
moderate
none
[]
[]
ISIC_0031967
HAM_0004341
bkl
histo
70
female
scalp
Fitzpatrick I–II (light)
87.677442
140.59715
133.213764
PAT_000039
South Africa
rural
student
low
public
[]
[]
ISIC_0031584
HAM_0004341
bkl
histo
70
female
scalp
Fitzpatrick I–II (light)
127.48
144.276197
127.767465
PAT_000039
South Africa
rural
student
low
public
[]
[]
ISIC_0025140
HAM_0000907
bkl
histo
75
male
ear
Fitzpatrick I–II (light)
91.885618
152.113029
142.007783
PAT_000040
Ghana
urban
farmer
low
public
[]
[]
ISIC_0025554
HAM_0000907
bkl
histo
75
male
ear
Fitzpatrick III–IV (medium)
54.850458
137.304849
127.971516
PAT_000040
Ghana
urban
farmer
low
public
[]
[]
ISIC_0029289
HAM_0001469
bkl
histo
60
female
trunk
Fitzpatrick III–IV (medium)
50.429467
139.213166
131.23511
PAT_000041
Nigeria
urban
artisan
high
none
[]
[]
ISIC_0029912
HAM_0001469
bkl
histo
60
female
trunk
Fitzpatrick III–IV (medium)
40.005132
135.686217
129.200147
PAT_000041
Nigeria
urban
artisan
high
none
[]
[]
ISIC_0033539
HAM_0001728
bkl
histo
60
male
back
Fitzpatrick I–II (light)
95.700551
146.633846
124.322651
PAT_000042
Kenya
rural
artisan
high
public
[]
[]
ISIC_0032283
HAM_0003021
bkl
histo
75
female
face
Fitzpatrick I–II (light)
74.313735
143.224096
121.670843
PAT_000033
Tanzania
urban
farmer
high
none
[]
[]
ISIC_0030005
HAM_0003021
bkl
histo
75
female
face
Fitzpatrick I–II (light)
116.256494
150.07013
137.105844
PAT_000033
Tanzania
urban
farmer
high
none
[]
[]
ISIC_0030189
HAM_0000959
bkl
histo
75
female
face
Fitzpatrick V–VI (dark)
20.556672
136.460357
123.305974
PAT_000034
Ghana
urban
healthcare_worker
high
public
[ "diabetes_mellitus_type2", "hypertension" ]
[ "glibenclamide", "amlodipine" ]
ISIC_0026532
HAM_0000959
bkl
histo
75
female
face
Fitzpatrick I–II (light)
121.609994
146.376537
127.601796
PAT_000034
Ghana
urban
healthcare_worker
high
public
[ "diabetes_mellitus_type2", "hypertension" ]
[ "glibenclamide", "amlodipine" ]
ISIC_0024832
HAM_0001773
bkl
histo
40
female
face
Fitzpatrick I–II (light)
65.055842
138.79076
133.633774
PAT_000043
Nigeria
urban
office_worker
moderate
public
[ "hypertension" ]
[ "enalapril" ]
ISIC_0026958
HAM_0001773
bkl
histo
40
female
face
Fitzpatrick I–II (light)
78.646534
148.856555
137.528483
PAT_000043
Nigeria
urban
office_worker
moderate
public
[ "hypertension" ]
[ "enalapril" ]
ISIC_0030768
HAM_0002127
bkl
histo
40
male
face
Fitzpatrick I–II (light)
104.425922
150.524994
134.313956
PAT_000044
Ghana
rural
farmer
high
none
[]
[]
ISIC_0029837
HAM_0002127
bkl
histo
40
male
face
Fitzpatrick I–II (light)
68.789841
137.062222
131.097143
PAT_000044
Ghana
rural
farmer
high
none
[]
[]
ISIC_0031624
HAM_0002092
bkl
histo
35
female
lower extremity
Fitzpatrick I–II (light)
93.699101
145.809301
146.439234
PAT_000045
Nigeria
rural
trader
low
public
[]
[]
ISIC_0025510
HAM_0002092
bkl
histo
35
female
lower extremity
Fitzpatrick I–II (light)
62.889756
130.505366
131.196098
PAT_000045
Nigeria
rural
trader
low
public
[]
[]
ISIC_0030607
HAM_0005075
bkl
histo
80
male
upper extremity
Fitzpatrick I–II (light)
129.099102
146.045835
121.632084
PAT_000046
Ethiopia
rural
driver
high
none
[]
[]
ISIC_0029060
HAM_0005075
bkl
histo
80
male
upper extremity
Fitzpatrick I–II (light)
129.43599
141.817633
143.505435
PAT_000046
Ethiopia
rural
driver
high
none
[]
[]
ISIC_0029308
HAM_0002921
bkl
histo
60
female
face
Fitzpatrick V–VI (dark)
33.727295
140.107729
122.028019
PAT_000047
Ethiopia
urban
farmer
moderate
none
[]
[]
ISIC_0024635
HAM_0003410
bkl
histo
60
female
face
Fitzpatrick V–VI (dark)
32.858296
137.715695
127.849327
PAT_000048
Uganda
rural
unemployed
high
none
[]
[]
ISIC_0029425
HAM_0003410
bkl
histo
60
female
face
Fitzpatrick I–II (light)
114.252915
149.806726
130.556502
PAT_000048
Uganda
rural
unemployed
high
none
[]
[]
ISIC_0028774
HAM_0004852
bkl
histo
65
male
face
Fitzpatrick I–II (light)
119.305586
145.416427
134.09936
PAT_000049
Uganda
urban
unemployed
low
private
[]
[]
ISIC_0030565
HAM_0004852
bkl
histo
65
male
face
Fitzpatrick I–II (light)
117.06639
152.029046
141.03965
PAT_000049
Uganda
urban
unemployed
low
private
[]
[]
ISIC_0027023
HAM_0000746
bkl
histo
60
male
face
Fitzpatrick I–II (light)
111.895641
148.822914
128.854296
PAT_000050
South Africa
urban
student
high
none
[ "HIV" ]
[ "dolutegravir", "efavirenz", "lamivudine" ]
ISIC_0029022
HAM_0001473
bkl
histo
70
male
face
Fitzpatrick I–II (light)
102.117817
149.332369
132.198016
PAT_000051
Kenya
rural
artisan
moderate
none
[]
[]
ISIC_0025388
HAM_0003007
bkl
histo
40
female
abdomen
Fitzpatrick I–II (light)
95.261275
143.397615
134.635044
PAT_000052
Ghana
rural
farmer
moderate
private
[ "hypertension" ]
[ "amlodipine" ]
ISIC_0028080
HAM_0003007
bkl
histo
40
female
abdomen
Fitzpatrick V–VI (dark)
38.753169
136.815063
128.375093
PAT_000052
Ghana
rural
farmer
moderate
private
[ "hypertension" ]
[ "amlodipine" ]
ISIC_0026153
HAM_0002957
bkl
histo
70
male
back
Fitzpatrick I–II (light)
92.331055
143.240496
137.476719
PAT_000053
Ethiopia
rural
artisan
high
none
[]
[]
End of preview. Expand in Data Studio

Africanized Skin Cancer Multimodal Dataset

Dataset Description

This dataset extends the HAM10000 dermatoscopic image collection with:

  1. Provisional skin-tone annotations (Fitzpatrick scale estimates)
  2. Synthetic African-focused Electronic Health Records (EHR)
  3. Multimodal patient demographics, comorbidities, medications, and lab values

Created by: kossiso Royce
Date: October 2025
Version: 1.0

Objective

Create a more representative dataset for training and evaluating skin cancer detection models in African populations, addressing the severe underrepresentation of darker skin tones in existing dermatology datasets.


Dataset Composition

Images & Metadata

  • Source: HAM10000 (10,015 dermatoscopic images)
  • Format: JPG, 600Γ—450 pixels
  • Diagnoses: 7 classes
    • nv (melanocytic nevi): 6,705 (66.9%)
    • mel (melanoma): 1,113 (11.1%)
    • bkl (benign keratosis): 1,099 (11.0%)
    • bcc (basal cell carcinoma): 514 (5.1%)
    • akiec (actinic keratoses): 327 (3.3%)
    • vasc (vascular lesions): 142 (1.4%)
    • df (dermatofibroma): 115 (1.1%)

Skin-Tone Annotations

  • Method: Automated estimation via KMeans clustering in LAB color space
  • Distribution:
    • Fitzpatrick I–II (light): 8,906 images (88.9%)
    • Fitzpatrick III–IV (medium): 675 images (6.7%)
    • Fitzpatrick V–VI (dark): 434 images (4.3%)
  • Status: Provisional; requires expert validation

Synthetic EHR Data

Patients (7,470 records)

  • Demographics: country, region (urban/rural), occupation, sun exposure, insurance status
  • Countries: Nigeria (25%), South Africa (21%), Kenya (15%), Ghana (10%), Ethiopia (10%), Tanzania (8%), Uganda (7%), Other (5%)
  • Insurance: 60% uninsured, 25% public, 10% private, 5% community

Comorbidities (2,145 records)

  • Hypertension: 1,052 cases (14.1% prevalence)
  • HIV: 617 cases (8.3% prevalence)
  • Diabetes mellitus type 2: 462 cases (6.2% prevalence)
  • Albinism: 14 cases (0.2% prevalence)

Medications (3,365 records)

  • Antiretrovirals (1,851), antihypertensives (1,052), antidiabetics (462)
  • Linked to patient comorbidities

Lab Values (8,549 records)

  • Hemoglobin (all patients), CD4 count (HIV+), fasting glucose (diabetics)

Data Files

data/
β”œβ”€β”€ metadata.csv                    # Image metadata + skin-tone annotations
β”œβ”€β”€ patients_synthetic.csv          # Patient demographics
β”œβ”€β”€ comorbidities_synthetic.csv     # Comorbidity records
β”œβ”€β”€ medications_synthetic.csv       # Medication prescriptions
β”œβ”€β”€ labs_synthetic.csv              # Laboratory test results
└── dataset_stats.json              # Summary statistics

Usage

Loading the Dataset

from datasets import load_dataset

# Load metadata with skin-tone annotations
dataset = load_dataset("kossiso-royce/africanized-skin-cancer", data_files="data/metadata.csv")

# Load synthetic EHR components
patients = load_dataset("kossiso-royce/africanized-skin-cancer", data_files="data/patients_synthetic.csv")
comorbidities = load_dataset("kossiso-royce/africanized-skin-cancer", data_files="data/comorbidities_synthetic.csv")
medications = load_dataset("kossiso-royce/africanized-skin-cancer", data_files="data/medications_synthetic.csv")
labs = load_dataset("kossiso-royce/africanized-skin-cancer", data_files="data/labs_synthetic.csv")

Example: Merge Patient Data with Metadata

import pandas as pd

metadata = pd.read_csv("data/metadata.csv")
patients = pd.read_csv("data/patients_synthetic.csv")

# Merge on lesion_id
full_data = metadata.merge(patients, on="lesion_id", how="left")

# Filter for dark skin patients with HIV
dark_skin_hiv = full_data[
    (full_data['phototype_bucket'] == 'Fitzpatrick V–VI (dark)')
].merge(
    pd.read_csv("data/comorbidities_synthetic.csv"),
    on="patient_id"
).query("condition == 'HIV'")

print(f"Dark skin patients with HIV: {len(dark_skin_hiv)}")

Known Limitations

  1. Severe skin-tone bias: 88.9% light skin (Fitzpatrick I–II); only 4.3% dark skin
  2. Provisional annotations: Automated skin-tone estimates require dermatologist validation
  3. Synthetic EHR: Generated data, not real patient records; may not capture all clinical nuances
  4. Geographic aggregation: African priors are averaged; regional variation not fully modeled
  5. European diagnosis distribution: Reflects HAM10000's cohort; African melanoma patterns differ

Intended Use

βœ… Appropriate Use

  • Training/evaluating skin cancer detection models with fairness awareness
  • Bias audits and representation gap analysis
  • Multimodal learning research (image + EHR)
  • Educational purposes and algorithm development

❌ Out-of-Scope

  • Clinical deployment without validation on real African patient data
  • Replacing real-world data collection efforts
  • Fine-grained geographic/ethnic subgroup analysis

Ethical Considerations

  • Transparency: All EHR fields flagged as source='synthetic'
  • Bias documentation: Skin-tone imbalance explicitly reported
  • Privacy: Original HAM10000 images de-identified; synthetic records contain no real PHI
  • Fairness: Dataset highlights representation gaps; does not claim solved fairness

Citation

If you use this dataset, please cite:

@dataset{africanized_ham10000_2025,
  author = {Royce, Kossiso},
  title = {Africanized Skin Cancer Multimodal Dataset},
  year = {2025},
  publisher = {Hugging Face},
  howpublished = {\url{https://huggingface.co/datasets/kossiso-royce/africanized-skin-cancer}}
}

Original HAM10000:

@article{tschandl2018ham10000,
  title={The HAM10000 dataset, a large collection of multi-source dermatoscopic images of common pigmented skin lesions},
  author={Tschandl, Philipp and Rosendahl, Cliff and Kittler, Harald},
  journal={Scientific data},
  volume={5},
  number={1},
  pages={1--9},
  year={2018},
  publisher={Nature Publishing Group}
}

License

  • Images: HAM10000 license (CC-BY-NC 4.0)
  • Synthetic EHR: CC-BY 4.0 (attribution required)
  • Metadata/Annotations: CC-BY 4.0

Contact

Maintainer: kossiso Royce
Issues: Please open an issue on the Hugging Face dataset page


Acknowledgments

  • HAM10000 authors (Tschandl et al.) for the original dataset
  • African dermatology literature for epidemiology priors
  • Open-source tools: pandas, scikit-learn, OpenCV
Downloads last month
55