Olaroti commited on
Commit
dc2ba53
·
verified ·
1 Parent(s): 0189f65

Standardize Electric Sheep Africa dataset card

Browse files
Files changed (1) hide show
  1. README.md +108 -105
README.md CHANGED
@@ -1,143 +1,146 @@
1
  ---
2
  license: cc-by-4.0
3
- task_categories:
4
- - tabular-classification
5
  language:
6
- - en
7
- tags:
8
- - healthcare
9
- - preterm-birth
10
- - kangaroo-mother-care
11
- - neonatal
12
- - low-birth-weight
13
- - kmc
14
- - sub-saharan-africa
15
- - lmic
16
- pretty_name: "Preterm Birth & Kangaroo Mother Care (GA, BW, KMC, Respiratory Support, Outcomes)"
17
  size_categories:
18
- - 10K<n<100K
19
- configs:
20
- - config_name: nicu
21
- data_files: data/preterm_nicu.csv
22
- - config_name: special_care_nursery
23
- data_files: data/preterm_special_care_nursery.csv
24
- default: true
25
- - config_name: postnatal_ward
26
- data_files: data/preterm_postnatal_ward.csv
 
 
 
 
 
 
 
 
 
 
 
 
27
  ---
28
 
29
- # Preterm Birth & Kangaroo Mother Care Dataset
30
-
31
- ## Abstract
32
 
33
- This dataset provides **30,000 simulated preterm neonate records** (10,000 per scenario) from sub-Saharan Africa. Each record contains 50+ variables including maternal factors, gestational age, birth weight, KMC practice, respiratory support (CPAP, surfactant), complications (RDS, sepsis, NEC), and neonatal outcomes. Three settings: NICU (8% mortality), special care nursery (14%), and postnatal ward (33%).
34
 
35
- ## 1. Introduction
 
 
 
36
 
37
- Preterm birth is the leading cause of death in children under 5 worldwide. In SSA, neonatal mortality remains high with limited access to NICU care. KMC — skin-to-skin contact — reduces mortality by 25-40% (NEJM 2021). WHO recommends immediate KMC for LBW infants, starting within 24 hours and provided 8+ hours daily. CPAP and surfactant are scarce outside tertiary centres. Antenatal steroids reduce RDS but coverage remains low.
38
 
39
- **This dataset is entirely simulated. It must not be used for clinical decision-making.**
40
 
41
- ## 2. Methodology
42
 
43
- ### 2.1 Parameterization
44
 
45
- | Parameter | Value | Source |
46
- | --- | --- | --- |
47
- | KMC mortality reduction | 25-40% | NEJM 2021 |
48
- | KMC timing | Within 24h, 8+ hrs/day | WHO 2024 |
49
- | CPAP failure (<1200g) | ~40% | PubMed 2023 |
50
- | RDS (GA <32) | ~40% | Arch PH 2024 |
51
- | Antenatal steroids effect | 30-40% RDS reduction | WHO 2024 |
52
- | Neonatal sepsis | ~15% | PubMed 2024 |
53
 
54
- ### 2.2 Scenario Design
55
 
56
- | Scenario | CPAP | Surfactant | KMC Unit | Mortality |
57
- | --- | --- | --- | --- | --- |
58
- | NICU | Yes | Yes | Yes | 8% |
59
- | Special care nursery | No | No | Yes | 14% |
60
- | Postnatal ward | No | No | No | 33% |
 
 
 
 
 
 
 
61
 
62
- ## 3. Schema
63
 
64
- | Column | Type | Description |
65
- | --- | --- | --- |
66
- | id | int | Unique identifier |
67
- | maternal_age | int | Maternal age |
68
- | gestational_age_weeks | int | GA (24-36 weeks) |
69
- | birth_weight_g | int | Birth weight |
70
- | very_low_birth_weight | binary | <1500g |
71
- | extremely_low_birth_weight | binary | <1000g |
72
- | apgar_1min / apgar_5min | int | Apgar scores |
73
- | hypothermia | binary | Temp <36.5C |
74
- | rds | binary | Respiratory distress syndrome |
75
- | neonatal_sepsis | binary | Neonatal sepsis |
76
- | nec | binary | Necrotising enterocolitis |
77
- | ivh | binary | Intraventricular haemorrhage |
78
- | kmc_initiated | binary | KMC started |
79
- | kmc_within_24h | binary | KMC within 24 hours |
80
- | kmc_hours_per_day | int | Daily KMC hours |
81
- | exclusive_breastfeeding | binary | Exclusive breastfeeding |
82
- | cpap_given | binary | CPAP |
83
- | surfactant_given | binary | Surfactant |
84
- | antenatal_steroids | binary | Antenatal steroids |
85
- | neonatal_death | binary | Neonatal death |
86
- | hospital_days | int | Hospital stay |
87
 
88
- ## 4. Validation
89
 
90
- <p align="center">
91
- <img src="validation_report.png" alt="Validation Report" width="100%">
92
- </p>
93
 
94
- Key validation checks:
 
95
 
96
- - **Mortality gradient**: 8% → 14% → 33% ✓
97
- - **KMC reduces mortality**: ~35% reduction ✓
98
- - **GA-mortality relationship**: <28wk highest ✓
99
- - **KMC coverage**: 70% (NICU/SCN) → 15% (postnatal) ✓
100
- - **Antenatal steroids reduce RDS** ✓
101
- - **VLBW**: ~40% of preterm cohort ✓
102
 
103
- ## 5. Usage
104
 
105
  ```python
106
- from datasets import load_dataset
107
- dataset = load_dataset("electricsheepafrica/preterm-birth-kmc", "special_care_nursery")
108
- df = dataset["train"].to_pandas()
 
 
 
109
  ```
110
 
111
- ## 6. Limitations
 
 
 
 
 
 
 
112
 
113
- - **Simulated**: Not from real neonatal registries.
114
- - **No follow-up**: No neurodevelopmental outcomes.
115
- - **No continuous monitoring**: No SpO2 or HR traces.
116
- - **Simplified**: No detailed ventilation parameters.
117
- - **No twin-specific**: Multiple pregnancy simplified.
118
 
119
- ## 7. References
120
 
121
- 1. NEJM (2021). Immediate KMC and survival of LBW infants.
122
- 2. PMC (2024). KMC effectiveness in SSA.
123
- 3. PubMed (2023). KMC systematic review.
124
- 4. PubMed (2023). CPAP failure in resource-limited settings.
125
- 5. Arch Public Health (2024). Preterm neonatal mortality Ethiopia.
126
- 6. WHO Africa (2024). Maternal and newborn mortality.
127
- 7. WHO (2024). KMC guidelines.
128
 
129
  ## Citation
130
 
131
  ```bibtex
132
- @dataset{esa_preterm_kmc_2025,
133
- title={Preterm Birth and Kangaroo Mother Care Dataset},
134
- author={Electric Sheep Africa},
135
- year={2025},
136
- publisher={Hugging Face},
137
- url={https://huggingface.co/datasets/electricsheepafrica/preterm-birth-kmc}
 
138
  }
139
  ```
140
 
141
  ## License
142
 
143
- [CC-BY-4.0](https://creativecommons.org/licenses/by/4.0/)
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: cc-by-4.0
 
 
3
  language:
4
+ - en
5
+ task_categories:
6
+ - tabular-classification
7
+ - tabular-regression
8
+ multilinguality: monolingual
 
 
 
 
 
 
9
  size_categories:
10
+ - 10K<n<100K
11
+ tags:
12
+ - "africa"
13
+ - "electric-sheep-africa"
14
+ - "open-data"
15
+ - "metadata-backed"
16
+ - "health"
17
+ - "csv"
18
+ - "tabular"
19
+ - "text"
20
+ - "healthcare"
21
+ - "preterm-birth"
22
+ - "kangaroo-mother-care"
23
+ - "neonatal"
24
+ - "low-birth-weight"
25
+ - "kmc"
26
+ - "sub-saharan-africa"
27
+ - "lmic"
28
+ - "mortality"
29
+ - "maternal"
30
+ pretty_name: "Preterm Birth & Kangaroo Mother Care (GA, BW, KMC, Respiratory Support, Outcomes) | Africa (Electric Sheep Africa metadata inventory)"
31
  ---
32
 
33
+ # Preterm Birth & Kangaroo Mother Care (GA, BW, KMC, Respiratory Support, Outcomes) | Africa (Electric Sheep Africa metadata inventory)
 
 
34
 
35
+ **Size category:** `10K<n<100K` - **Formats:** `csv` - **Sector:** health - *Engineered by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica)*
36
 
37
+ ![size](https://img.shields.io/badge/size-10K%3Cn%3C100K-blue)
38
+ ![sector](https://img.shields.io/badge/sector-health-green)
39
+ ![downloads](https://img.shields.io/badge/HF_downloads-31-orange)
40
+ ![license](https://img.shields.io/badge/license-cc--by--4.0-lightgrey)
41
 
42
+ ## TL;DR
43
 
44
+ This dataset is part of the Electric Sheep Africa catalog on Hugging Face. It is indexed for African data discovery with standardized metadata, loading guidance, provenance notes, and analyst-oriented context.
45
 
46
+ ## What This Dataset Covers
47
 
48
+ Health datasets help researchers examine disease burden, service delivery, risk factors, outcomes, and public-health program performance.
49
 
50
+ Dataset context from the existing Hugging Face card: Preterm Birth & Kangaroo Mother Care Dataset Abstract This dataset provides 30,000 simulated preterm neonate records (10,000 per scenario) from sub-Saharan Africa. Each record contains 50+ variables including maternal factors, gestational age, birth weight, KMC practice, respiratory support (CPAP, surfactant), complications (RDS, sepsis, NEC), and neonatal outcomes. Three settings: NICU (8% mortality), special care nursery (14%), and postnatal ward (33%). 1.… See the full description on the dataset page: https://huggingface.co/datasets/electricsheepafrica/preterm-birth-kmc.
 
 
 
 
 
 
 
51
 
52
+ ## Dataset Profile
53
 
54
+ | Field | Value |
55
+ |---|---|
56
+ | Hugging Face repo | [`electricsheepafrica/preterm-birth-kmc`](https://huggingface.co/datasets/electricsheepafrica/preterm-birth-kmc) |
57
+ | Sector | health |
58
+ | Topic tags | healthcare, preterm-birth, kangaroo-mother-care, neonatal, low-birth-weight, kmc, sub-saharan-africa, lmic |
59
+ | Modalities | `tabular`, `text` |
60
+ | Formats | `csv` |
61
+ | Size category | `10K<n<100K` |
62
+ | Countries | Africa-wide or source-defined African coverage |
63
+ | ISO3 coverage | `not declared` |
64
+ | Last modified on HF | `2026-02-10 21:41:47+00:00` |
65
+ | Inventory snapshot | `2026-07-16T16:00:34Z` |
66
 
67
+ ## How To Read This Dataset
68
 
69
+ - Start from the repository files and the dataset viewer when available.
70
+ - Treat the README context as a fast orientation layer; confirm variable definitions and units in the data files before modeling.
71
+ - Use explicit country columns when present. When geography is only implied by the title or source metadata, document that assumption in downstream analysis.
72
+ - Preserve missing values until you have a defensible imputation rule.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
73
 
74
+ ## Usage
75
 
76
+ ```python
77
+ from datasets import load_dataset
 
78
 
79
+ ds = load_dataset("electricsheepafrica/preterm-birth-kmc")
80
+ print(ds)
81
 
82
+ split_name = next(iter(ds))
83
+ table = ds[split_name]
84
+ print(table.features)
85
+ print(table[:3])
86
+ ```
 
87
 
88
+ ### Convert To Pandas When Tabular
89
 
90
  ```python
91
+ from datasets import Dataset
92
+
93
+ first_split = ds[next(iter(ds))]
94
+ if isinstance(first_split, Dataset):
95
+ df = first_split.to_pandas()
96
+ print(df.head())
97
  ```
98
 
99
+ ## Data Quality Notes
100
+
101
+ - This card was standardized from the Electric Sheep Africa Hugging Face metadata inventory.
102
+ - Exact schema, row counts, and source files should be inspected in the repository data files.
103
+ - Metadata gaps from the inventory: country, upstream_publisher.
104
+ - Do not infer policy meaning from labels alone; confirm definitions, units, and methods in the source material.
105
+
106
+ ## Source And Provenance
107
 
108
+ - **Source context:** Electric Sheep Africa metadata inventory
109
+ - **Publisher/source attribution:** Public dataset metadata
110
+ - **License:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
111
+ - **Hugging Face URL:** [https://huggingface.co/datasets/electricsheepafrica/preterm-birth-kmc](https://huggingface.co/datasets/electricsheepafrica/preterm-birth-kmc)
112
+ - **Inventory retrieved at:** `2026-07-16T16:00:34Z`
113
 
114
+ ## Suggested Analyses
115
 
116
+ - Inspect schema and missingness before modeling.
117
+ - Profile variables by geography, time, and subgroup columns where present.
118
+ - Join with other Electric Sheep Africa datasets using explicit country, year, and indicator fields when available.
119
+ - Build reproducible notebooks that cite both the original source context and the Electric Sheep Africa Hugging Face repo.
 
 
 
120
 
121
  ## Citation
122
 
123
  ```bibtex
124
+ @misc{electric_sheep_africa_preterm_birth_kmc_2026,
125
+ title = {Preterm Birth & Kangaroo Mother Care (GA, BW, KMC, Respiratory Support, Outcomes) | Africa (Electric Sheep Africa metadata inventory)},
126
+ author = {Public dataset metadata},
127
+ year = {2026},
128
+ url = {https://huggingface.co/datasets/electricsheepafrica/preterm-birth-kmc},
129
+ publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa},
130
+ howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/preterm-birth-kmc}}
131
  }
132
  ```
133
 
134
  ## License
135
 
136
+ Released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
137
+
138
+ Original source rights remain with the original publisher or data provider. Electric Sheep Africa engineering standardizes discovery metadata, documentation, and usage guidance for analysis on Hugging Face.
139
+
140
+ ## About Electric Sheep Africa
141
+
142
+ Electric Sheep Africa publishes ML-ready African public datasets on Hugging Face.
143
+
144
+ ---
145
+
146
+ Provenance: metadata-backed README standardized 2026-08-12 by the Electric Sheep Africa README system. Inventory source: `catalog/esa_metadata_inventory/master_metadata.jsonl`.