Dataset Viewer
Auto-converted to Parquet Duplicate
image
imagewidth (px)
224
224
image_id
stringlengths
7
12
image_path
stringlengths
17
31
dr_grade
int64
0
4
dr_grade_name
stringclasses
5 values
age
float64
18
90
sex
stringclasses
2 values
duration_years
float64
0
45
synthetic
bool
1 class
image_population
stringclasses
1 value
ehr_params_version
stringclasses
1 value
split
stringclasses
1 value
002c21358ce6
No_DR/002c21358ce6.png
0
No_DR
53.7
M
0
true
APTOS-2019-India
1.0.0
train
00cc2b75cddd
No_DR/00cc2b75cddd.png
0
No_DR
37.5
F
6.7
true
APTOS-2019-India
1.0.0
train
00f6c1be5a33
No_DR/00f6c1be5a33.png
0
No_DR
59.7
M
12.9
true
APTOS-2019-India
1.0.0
train
0125fbd2e791
No_DR/0125fbd2e791.png
0
No_DR
59.4
F
8.4
true
APTOS-2019-India
1.0.0
train
0182152c50de
No_DR/0182152c50de.png
0
No_DR
40.1
F
9.2
true
APTOS-2019-India
1.0.0
train
0212dd31f623
No_DR/0212dd31f623.png
0
No_DR
48.4
F
3.6
true
APTOS-2019-India
1.0.0
train
0232dfea7547
No_DR/0232dfea7547.png
0
No_DR
41.3
F
5.1
true
APTOS-2019-India
1.0.0
train
02da652c74b8
No_DR/02da652c74b8.png
0
No_DR
71.9
M
16
true
APTOS-2019-India
1.0.0
train
0304bedad8fe
No_DR/0304bedad8fe.png
0
No_DR
46.8
M
3.6
true
APTOS-2019-India
1.0.0
train
03b373718013
No_DR/03b373718013.png
0
No_DR
54.8
M
6.3
true
APTOS-2019-India
1.0.0
train
0423237770a7
No_DR/0423237770a7.png
0
No_DR
63.4
M
5.1
true
APTOS-2019-India
1.0.0
train
04579e31e4be
No_DR/04579e31e4be.png
0
No_DR
65.2
F
2
true
APTOS-2019-India
1.0.0
train
04efb1a284cc
No_DR/04efb1a284cc.png
0
No_DR
64.8
M
12.2
true
APTOS-2019-India
1.0.0
train
05339950962e
No_DR/05339950962e.png
0
No_DR
69.9
M
5
true
APTOS-2019-India
1.0.0
train
054b1b305160
No_DR/054b1b305160.png
0
No_DR
45.1
M
9.6
true
APTOS-2019-India
1.0.0
train
05e9126dfa5c
No_DR/05e9126dfa5c.png
0
No_DR
42.6
F
10.4
true
APTOS-2019-India
1.0.0
train
07596907347b
No_DR/07596907347b.png
0
No_DR
80.2
F
2.9
true
APTOS-2019-India
1.0.0
train
07751b94a88a
No_DR/07751b94a88a.png
0
No_DR
64.8
F
1.7
true
APTOS-2019-India
1.0.0
train
07a2b8cabf6b
No_DR/07a2b8cabf6b.png
0
No_DR
73.8
M
1.6
true
APTOS-2019-India
1.0.0
train
0851d6a69589
No_DR/0851d6a69589.png
0
No_DR
59.6
M
7.2
true
APTOS-2019-India
1.0.0
train
08bef347f40d
No_DR/08bef347f40d.png
0
No_DR
64.3
M
11.2
true
APTOS-2019-India
1.0.0
train
08ee569d4721
No_DR/08ee569d4721.png
0
No_DR
90
M
5.8
true
APTOS-2019-India
1.0.0
train
08f8838d69bb
No_DR/08f8838d69bb.png
0
No_DR
57.5
M
0.6
true
APTOS-2019-India
1.0.0
train
09c8323c612e
No_DR/09c8323c612e.png
0
No_DR
67.6
F
2.2
true
APTOS-2019-India
1.0.0
train
0a4e1a29ffff
No_DR/0a4e1a29ffff.png
0
No_DR
83.1
M
0
true
APTOS-2019-India
1.0.0
train
0a902c80d5da
No_DR/0a902c80d5da.png
0
No_DR
67
M
4.7
true
APTOS-2019-India
1.0.0
train
0afbeeef0ff7
No_DR/0afbeeef0ff7.png
0
No_DR
48.5
M
7
true
APTOS-2019-India
1.0.0
train
0d744aed4d64
No_DR/0d744aed4d64.png
0
No_DR
48.5
F
11.1
true
APTOS-2019-India
1.0.0
train
0d9a9896f801
No_DR/0d9a9896f801.png
0
No_DR
65.5
M
2.3
true
APTOS-2019-India
1.0.0
train
0daddc45d832
No_DR/0daddc45d832.png
0
No_DR
77.6
M
10.6
true
APTOS-2019-India
1.0.0
train
0e0003ddd8df
No_DR/0e0003ddd8df.png
0
No_DR
45.5
F
8.8
true
APTOS-2019-India
1.0.0
train
0e3572b5884a
No_DR/0e3572b5884a.png
0
No_DR
48.4
M
8.3
true
APTOS-2019-India
1.0.0
train
0e94cd271c00
No_DR/0e94cd271c00.png
0
No_DR
61.1
F
12.4
true
APTOS-2019-India
1.0.0
train
0ef4c61dc056
No_DR/0ef4c61dc056.png
0
No_DR
55.1
M
0
true
APTOS-2019-India
1.0.0
train
0fe31196e0e8
No_DR/0fe31196e0e8.png
0
No_DR
34.5
F
4.2
true
APTOS-2019-India
1.0.0
train
10bf25731c08
No_DR/10bf25731c08.png
0
No_DR
81.9
M
7.9
true
APTOS-2019-India
1.0.0
train
10f10fd30718
No_DR/10f10fd30718.png
0
No_DR
47.6
M
9.7
true
APTOS-2019-India
1.0.0
train
12058bbb8299
No_DR/12058bbb8299.png
0
No_DR
51.2
F
6
true
APTOS-2019-India
1.0.0
train
12ae44be0d38
No_DR/12ae44be0d38.png
0
No_DR
50.1
M
10.3
true
APTOS-2019-India
1.0.0
train
12ef75375322
No_DR/12ef75375322.png
0
No_DR
64.1
F
0
true
APTOS-2019-India
1.0.0
train
13_right
No_DR/13_right.png
0
No_DR
53.5
M
8.7
true
APTOS-2019-India
1.0.0
train
13d014ccd136
No_DR/13d014ccd136.png
0
No_DR
73.1
M
9
true
APTOS-2019-India
1.0.0
train
13d411c85ffd
No_DR/13d411c85ffd.png
0
No_DR
58.1
F
0
true
APTOS-2019-India
1.0.0
train
1409ab48175a
No_DR/1409ab48175a.png
0
No_DR
61.5
M
12.6
true
APTOS-2019-India
1.0.0
train
143db89c11c8
No_DR/143db89c11c8.png
0
No_DR
68.4
M
3
true
APTOS-2019-India
1.0.0
train
1509d097b69a
No_DR/1509d097b69a.png
0
No_DR
47.5
M
13.3
true
APTOS-2019-India
1.0.0
train
150f92b45349
No_DR/150f92b45349.png
0
No_DR
58.6
M
11
true
APTOS-2019-India
1.0.0
train
155e2df6bfcf
No_DR/155e2df6bfcf.png
0
No_DR
56.3
M
16.3
true
APTOS-2019-India
1.0.0
train
15b21c80cc31
No_DR/15b21c80cc31.png
0
No_DR
47.3
F
4.9
true
APTOS-2019-India
1.0.0
train
15c24478ac72
No_DR/15c24478ac72.png
0
No_DR
78.9
M
4.2
true
APTOS-2019-India
1.0.0
train
15e24b73d4a7
No_DR/15e24b73d4a7.png
0
No_DR
70.2
M
19.2
true
APTOS-2019-India
1.0.0
train
16060f05d047
No_DR/16060f05d047.png
0
No_DR
46.3
M
9.2
true
APTOS-2019-India
1.0.0
train
165c548185f8
No_DR/165c548185f8.png
0
No_DR
61.7
M
3.9
true
APTOS-2019-India
1.0.0
train
174db0854291
No_DR/174db0854291.png
0
No_DR
71.7
M
0
true
APTOS-2019-India
1.0.0
train
17f6c7072f61
No_DR/17f6c7072f61.png
0
No_DR
64.2
M
3.3
true
APTOS-2019-India
1.0.0
train
186c1835eec5
No_DR/186c1835eec5.png
0
No_DR
53
F
7.3
true
APTOS-2019-India
1.0.0
train
18b7e34eab8f
No_DR/18b7e34eab8f.png
0
No_DR
65.6
F
6.6
true
APTOS-2019-India
1.0.0
train
19545647508e
No_DR/19545647508e.png
0
No_DR
67.9
F
8.5
true
APTOS-2019-India
1.0.0
train
197af0de76e2
No_DR/197af0de76e2.png
0
No_DR
47.5
M
1.7
true
APTOS-2019-India
1.0.0
train
19b0e3c734f5
No_DR/19b0e3c734f5.png
0
No_DR
46.9
F
5.2
true
APTOS-2019-India
1.0.0
train
1a0dbc6c0cda
No_DR/1a0dbc6c0cda.png
0
No_DR
55.9
F
0
true
APTOS-2019-India
1.0.0
train
1b862fb6f65d
No_DR/1b862fb6f65d.png
0
No_DR
51.7
F
0.3
true
APTOS-2019-India
1.0.0
train
1c13a1483f4a
No_DR/1c13a1483f4a.png
0
No_DR
66
F
3.9
true
APTOS-2019-India
1.0.0
train
1c7a013eeba7
No_DR/1c7a013eeba7.png
0
No_DR
48.3
M
0.9
true
APTOS-2019-India
1.0.0
train
1ca91751be4d
No_DR/1ca91751be4d.png
0
No_DR
59.2
M
0.8
true
APTOS-2019-India
1.0.0
train
1caba2fb38f6
No_DR/1caba2fb38f6.png
0
No_DR
46.6
F
11.2
true
APTOS-2019-India
1.0.0
train
1d2472849dce
No_DR/1d2472849dce.png
0
No_DR
55.8
M
14.6
true
APTOS-2019-India
1.0.0
train
1d37f1c8b6d8
No_DR/1d37f1c8b6d8.png
0
No_DR
57
F
0.3
true
APTOS-2019-India
1.0.0
train
1da4a17c18c9
No_DR/1da4a17c18c9.png
0
No_DR
50.7
F
0.9
true
APTOS-2019-India
1.0.0
train
1db6bb46c102
No_DR/1db6bb46c102.png
0
No_DR
40.3
F
0.4
true
APTOS-2019-India
1.0.0
train
1df1530b9b8d
No_DR/1df1530b9b8d.png
0
No_DR
48
F
3.2
true
APTOS-2019-India
1.0.0
train
1e8c31e29dd3
No_DR/1e8c31e29dd3.png
0
No_DR
66
M
8.8
true
APTOS-2019-India
1.0.0
train
1f31701dd61b
No_DR/1f31701dd61b.png
0
No_DR
62.5
M
0
true
APTOS-2019-India
1.0.0
train
1f3f32efaf20
No_DR/1f3f32efaf20.png
0
No_DR
37.2
F
7.8
true
APTOS-2019-India
1.0.0
train
1faf8664816c
No_DR/1faf8664816c.png
0
No_DR
52.1
F
10.9
true
APTOS-2019-India
1.0.0
train
201f6e10c108
No_DR/201f6e10c108.png
0
No_DR
36.9
F
14.6
true
APTOS-2019-India
1.0.0
train
207dd0487264
No_DR/207dd0487264.png
0
No_DR
47.6
F
4.6
true
APTOS-2019-India
1.0.0
train
21037f5c7790
No_DR/21037f5c7790.png
0
No_DR
76.1
F
22.3
true
APTOS-2019-India
1.0.0
train
22449af52060
No_DR/22449af52060.png
0
No_DR
69.2
F
2.6
true
APTOS-2019-India
1.0.0
train
224c14366e11
No_DR/224c14366e11.png
0
No_DR
43.6
F
4.1
true
APTOS-2019-India
1.0.0
train
22_left
No_DR/22_left.png
0
No_DR
89.1
M
16.8
true
APTOS-2019-India
1.0.0
train
22_right
No_DR/22_right.png
0
No_DR
59
F
4.1
true
APTOS-2019-India
1.0.0
train
242fc19be06f
No_DR/242fc19be06f.png
0
No_DR
50.7
F
0
true
APTOS-2019-India
1.0.0
train
24de56d433cd
No_DR/24de56d433cd.png
0
No_DR
61.5
F
7.7
true
APTOS-2019-India
1.0.0
train
252305189b3a
No_DR/252305189b3a.png
0
No_DR
53
M
2.2
true
APTOS-2019-India
1.0.0
train
259d30f693b6
No_DR/259d30f693b6.png
0
No_DR
57.3
F
10.5
true
APTOS-2019-India
1.0.0
train
25a0a1e41afd
No_DR/25a0a1e41afd.png
0
No_DR
52.9
F
0.9
true
APTOS-2019-India
1.0.0
train
266fbefa58fb
No_DR/266fbefa58fb.png
0
No_DR
59.3
F
6.2
true
APTOS-2019-India
1.0.0
train
274f4de2a59d
No_DR/274f4de2a59d.png
0
No_DR
60.5
F
11.5
true
APTOS-2019-India
1.0.0
train
2821998fc002
No_DR/2821998fc002.png
0
No_DR
37.5
M
0
true
APTOS-2019-India
1.0.0
train
28751f290ba3
No_DR/28751f290ba3.png
0
No_DR
90
F
5.2
true
APTOS-2019-India
1.0.0
train
28dc010a0780
No_DR/28dc010a0780.png
0
No_DR
49.5
M
8.3
true
APTOS-2019-India
1.0.0
train
29192375ab1b
No_DR/29192375ab1b.png
0
No_DR
32.4
M
9.2
true
APTOS-2019-India
1.0.0
train
2927665214e1
No_DR/2927665214e1.png
0
No_DR
47.4
F
1.6
true
APTOS-2019-India
1.0.0
train
2974c6ad1d58
No_DR/2974c6ad1d58.png
0
No_DR
62.2
M
6.5
true
APTOS-2019-India
1.0.0
train
29a13e666266
No_DR/29a13e666266.png
0
No_DR
77.7
F
6.5
true
APTOS-2019-India
1.0.0
train
2a2a6435f7f3
No_DR/2a2a6435f7f3.png
0
No_DR
56.9
F
0
true
APTOS-2019-India
1.0.0
train
2a93334f663a
No_DR/2a93334f663a.png
0
No_DR
46.2
F
8
true
APTOS-2019-India
1.0.0
train
2b3a4a81d748
No_DR/2b3a4a81d748.png
0
No_DR
58.4
M
3
true
APTOS-2019-India
1.0.0
train
2c9dfc270f1b
No_DR/2c9dfc270f1b.png
0
No_DR
62.2
F
12.3
true
APTOS-2019-India
1.0.0
train
End of preview. Expand in Data Studio

DR-Grading — Fundus Diabetic-Retinopathy Grading with Africa-Grounded Synthetic Clinical Context

A dataset for cross-sectional 5-class diabetic-retinopathy grading, pairing resized colour fundus photographs with minimal, epidemiology-grounded synthetic point-of-care context (age, sex, diabetes duration).

Version 1.0.0 · core dr_synth 1.0.0 · part of the DR-Africa dataset family (see also dr-progression and dr-africa-benchmark).


Abstract

Diabetic retinopathy (DR) is a leading cause of preventable blindness, and its burden is rising fastest in low- and middle-income settings, including much of Sub-Saharan Africa (SSA), where an estimated 35% of people living with diabetes have some DR and ~10% have vision-threatening disease [1]. Most publicly available DR-grading datasets, however, are collected in South Asian, North American, or European populations and provide images only — with no clinical context to support the multimodal models that modern screening increasingly relies on. DR-Grading is a methods-development dataset that pairs 3,554 colour fundus photographs, each labelled with the five-stage international DR scale, with a minimal synthetic clinical context (age, sex, diabetes duration) whose statistical structure is grounded in published SSA diabetes epidemiology. The dataset is designed for cross-sectional grading: predicting DR stage from a fundus image, optionally conditioned on the limited information available at the point of grading. We document the construction, the grounding literature, and a reproducible distribution audit that validates the synthetic context against its source effect sizes. Two boundaries should be clear: the images are not African, and the clinical context is synthetic and not patient-linked. The dataset is meant for building and testing grading pipelines and for teaching, not as a source of clinical or epidemiological findings.


1. Introduction

Automated DR grading from colour fundus photography is among the most mature applications of medical computer vision, with regulator-cleared systems already deployed for screening. Yet the datasets that underpin this progress are geographically narrow. The two largest open corpora — EyePACS (United States) and APTOS 2019 (India) — together dominate the literature, and downstream models inherit their populations' fundus pigmentation, comorbidity patterns, camera hardware, and care-seeking behaviour. When such models are evaluated on African populations they frequently degrade, a manifestation of dataset shift that is both a scientific and an equity problem.

The DR-Africa family addresses this gap. Its first objective is a multimodal resource: DR research is moving beyond the image alone toward models that combine retinal imaging with systemic clinical variables (glycaemic control, diabetes duration, blood pressure, renal function), which are the main drivers of incidence and progression. Real linked image–EHR cohorts from Africa are scarce, so we start with epidemiology-grounded synthetic clinical data: synthetic records whose marginal distributions and conditional structure are taken from published SSA cohort studies and meta-analyses.

This repository, DR-Grading, is the entry point of the family and the narrowest in scope (separation of concerns). It exposes only the inputs realistically available at the moment of grading — the image plus three context fields — and the grade label. The richer systemic record lives in dr-progression; screening-prevalence evaluation lives in dr-africa-benchmark.

Contributions.

  1. A clean, split, audited 5-class DR-grading dataset with a minimal synthetic clinical context grounded in SSA epidemiology.
  2. A transparent, reproducible generation procedure (seeded; all parameters cited).
  3. A built-in distribution audit that gates every release on explicit checks.

2. Background and Related Datasets

DR grading scale. The international clinical DR severity scale defines five stages: no DR, mild non-proliferative DR (NPDR), moderate NPDR, severe NPDR, and proliferative DR (PDR). These map to the five source folders used here (No_DR, Mild, Moderate, Severe, Proliferate_DR).

Existing DR image datasets. EyePACS, APTOS 2019, Messidor / Messidor-2, IDRiD, DDR, and DeepDRiD are the most widely used. They differ in grading protocol, image quality, and population. None ships paired structured clinical data, and none is African in origin.

Epidemiology of DR in Africa. Pooled SSA estimates place any-DR prevalence around 30–35% of people with diabetes and PDR at ~1% in population-based studies [1, 10]. Strong, consistent risk factors include diabetes duration, poor glycaemic control, and hypertension [2]. Late presentation is a defining feature of African DR services and correlates with severity at first contact [10]. These findings are the empirical backbone of the synthetic context here and in the sibling datasets.


3. Dataset Construction

3.1 Image source

The fundus images are the resized colour photographs from the APTOS 2019 Blindness Detection corpus (Aravind Eye Hospital, India) [11], reorganised into five class folders. All images are 224×224 RGB PNGs. The class counts are deliberately referral/clinic-skewed (see §4) rather than screening-distributed.

The images are not African. They function as a transfer-learning source. Models trained here will face domain shift on African fundi, which are more pigmented (darker background, altered contrast) and are increasingly captured on smartphone-based fundus cameras. See §8 and §9.

3.2 Synthetic clinical context

For each image we generate three context fields — age, sex, and duration_years (diabetes duration) — using a seeded generator (dr_synth.generate). These are the fields plausibly available to a grader and were chosen to keep the grading task realistic without leaking the label.

Each record is produced from a per-image deterministic seed (a hash of the image id and the global seed), so a given image always yields the same context regardless of iteration order, machine, or how many records precede it. The global generation seed is 42.

3.3 Grounding and conditioning

Demographics are drawn grade-independently (age and sex are not significant DR predictors in the SSA meta-analysis [2]). Diabetes duration is conditioned on DR grade, because duration is the single strongest and most consistent predictor of DR severity in African cohorts. We use the per-stage duration gradient reported in the Dakar study [7] — mean duration rising from ~5.3 years at no-DR to ~16.8 years at proliferative DR — with wide standard deviations that preserve realistic overlap between adjacent grades. All parameters and their citations live in dr_synth/params.yaml.

3.4 Splits

A stratified 70/15/15 train/validation/test split is provided in the split column and as separate parquet files (data/train.parquet, data/validation.parquet, data/test.parquet). Stratification is on dr_grade; the split seed is 7. Splits are assigned at the image level, and the audit verifies that no image id appears in more than one split.


4. Dataset Statistics

Field Type Description
image_id string APTOS image identifier (filename stem)
image_path string path relative to images_root (e.g. No_DR/xxxx.png)
dr_grade int (0–4) label: 0 No_DR · 1 Mild · 2 Moderate · 3 Severe · 4 PDR
dr_grade_name string human-readable grade
age float years (synthetic)
sex string F/M (synthetic)
duration_years float diabetes duration, years (synthetic, grade-conditioned)
split string train/val/test
synthetic, image_population, ehr_params_version provenance

Label distribution (n = 3,554).

Grade Count Proportion
No_DR 968 27.2%
Mild 527 14.8%
Moderate 395 11.1%
Severe 575 16.2%
Proliferate_DR 1,089 30.6%

Splits. train 2,487 (70.0%) · validation 532 (15.0%) · test 535 (15.1%).

Context summary. age mean 55.8 (SD 12.0, range 18–90); duration mean 10.9 y (SD 7.4); sex ~52% female. Mean duration by grade rises monotonically: 5.9 → 7.4 → 8.6 → 12.7 → 16.9 years (Spearman ρ = 0.60 with grade, p < 10⁻³⁰⁰).


5. Distribution Audit (Validation)

Every build regenerates audit/AUDIT.md (plus CSV tables and PNG figures) by running dr_synth.audit. Each check reports PASS / WARN / FAIL against an explicit threshold, so the audit can gate a release. The current verdict is PASS. Checks for this dataset:

  • Label distribution documented against the SSA screening-prevalence target (the curated set is intentionally not screening-distributed; see dr-africa-benchmark for prevalence-corrected evaluation).
  • Split integrity — no cross-split image-id leakage; unique row ids; stratification drift between per-split and overall label proportions < 0.03.
  • Numeric validation — zero out-of-range values for age and duration_years; zero unexpected missing values.
  • Grade conditioning — Spearman monotonic-trend test confirms duration_years increases with grade (ρ = 0.60, p ≈ 0).

Figures: audit/figures/label_distribution.png, audit/figures/conditioning_duration_years.png.


6. Loading and Usage

Hugging Face datasets

from datasets import load_dataset
ds = load_dataset("macular/diabetic-retinopathy-grading-africa")   # 3 splits
print(ds["train"][0])
# {'image_id': ..., 'image_path': 'No_DR/xxxx.png', 'dr_grade': 0, ...}

The fundus images are bundled as a datasets.Image feature, so each example includes the decoded image alongside its label and context — the dataset is self-contained and renders in the Hub viewer.

Local / PyTorch

pip install -r requirements.txt
python build.py                       # regenerate data/ + audit/
python loader.py --split train --limit 3

loader.py provides a torch.utils.data.Dataset returning (image_tensor, context_tensor, grade).


7. Intended Uses and Benchmarks

Intended. Cross-sectional DR-grading models (image-only or image+context); data augmentation studies; transfer-learning and domain-adaptation baselines toward African deployment; teaching.

Suggested protocol. Train on train, tune on validation, report on test using quadratic-weighted kappa (the APTOS metric) and per-class recall. For a screening-realistic estimate, additionally evaluate with the prevalence weights from dr-africa-benchmark.

Out of scope. Clinical decision support; epidemiological inference; any claim about real African patients.


8. Limitations

  1. Non-African images. The fundus photographs originate from an Indian population; performance here does not transfer directly to African fundi.
  2. Synthetic, non-linked context. The context fields are generated, not measured, and are not tied to the real patient behind each image. A model can exploit the encoded association between duration and grade, but this is a property of the generator, not evidence about patients.
  3. Referral-skewed labels. The class balance reflects a clinic/referral population, not screening; uncorrected accuracy overstates screening utility.
  4. Minimal context. Labs and comorbidities are not included here (they belong to dr-progression).

9. Ethical Considerations and Data Governance

  • Synthetic data are flagged. Every record carries synthetic = True. No attempt should be made to interpret a synthetic record as a real individual.
  • Representation. Calling a dataset "Africa-grounded" while the imagery is non-African could mislead, so we state the provenance plainly and treat the images only as a transfer-learning source.
  • Data sovereignty. The move toward real African imaging and linked records must follow local consent, ethics approval, and data-sovereignty principles. This synthetic dataset is a placeholder, not a substitute.
  • Purpose. The dataset exists to support DR research relevant to Africa by making multimodal work easier to start, not to replace real-world data collection.

10. Licensing, Access, and Provenance

  • Images: derived from APTOS 2019 (Aravind Eye Hospital, India), which is released under the Apache License 2.0 — redistribution is permitted with attribution. The bundled images are provided under Apache-2.0; see LICENSE and ATTRIBUTION.md. Users should verify the source license on the APTOS distribution they rely on [11].
  • Synthetic context, code, and audit: generated locally and fully reproducible from dr_synth/params.yaml with the fixed seeds above; released under Apache-2.0.
  • Provenance fields: image_population = "APTOS-2019-India", ehr_params_version, and the generation seed are recorded on every row.

11. Maintenance and Versioning

The dataset is fully regenerable: python build.py. The grounding parameters and the shared generator/audit core (dr_synth) are version-stamped; any change bumps dr_synth.__version__ and params.yaml meta.version, which propagate to the ehr_params_version recorded in the data. Issues and corrections to the grounding literature are welcome.


12. References

  1. Diabetic retinopathy in Sub-Saharan Africa: prevalence and regional variations — a systematic review and meta-analysis. BMC Ophthalmology, 2025. https://link.springer.com/article/10.1186/s12886-025-04589-5
  2. Prevalence of diabetic retinopathy and its associated risk factors among adults in Ethiopia — a systematic review and meta-analysis. Scientific Reports, 2024. https://pmc.ncbi.nlm.nih.gov/articles/PMC11569147/
  3. Diabetic retinopathy in Dakar and review of African literature: epidemiologic elements. 2000. https://pubmed.ncbi.nlm.nih.gov/11011227/
  4. Epidemiology of diabetic retinopathy and maculopathy in Africa: a systematic review. 2015. https://pmc.ncbi.nlm.nih.gov/articles/PMC4463765/
  5. APTOS 2019 Blindness Detection. Kaggle. https://www.kaggle.com/competitions/aptos2019-blindness-detection
  6. Gebru et al. Datasheets for Datasets. Communications of the ACM, 2021.

(Reference numbers are shared across the DR-Africa family for cross-consistency.)


Citation

@misc{drafrica_grading_2026,
  title        = {DR-Grading: Fundus Diabetic-Retinopathy Grading with
                  Africa-Grounded Synthetic Clinical Context},
  author       = {DR-Africa dataset family},
  year         = {2026},
  note         = {Version 1.0.0. Images derived from APTOS 2019 (India);
                  clinical context is epidemiology-grounded synthetic data.},
  howpublished = {Hugging Face Datasets}
}
Downloads last month
38

Collection including macular/diabetic-retinopathy-grading-africa