Datasets:
File size: 7,282 Bytes
7a37175 5ab8f51 7a37175 5ab8f51 7a37175 5ab8f51 7a37175 5ab8f51 7a37175 5ab8f51 7a37175 5ab8f51 7a37175 5ab8f51 7a37175 5ab8f51 7a37175 5ab8f51 7a37175 5ab8f51 7a37175 5ab8f51 7a37175 5ab8f51 7a37175 5ab8f51 7a37175 5ab8f51 7a37175 5ab8f51 7a37175 5ab8f51 7a37175 5ab8f51 7a37175 5ab8f51 7a37175 5ab8f51 7a37175 | 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 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 | # Scent of Health (S-O-H) Dataset
## Overview
The **Scent of Health (S-O-H)** dataset is the largest public clinical electronic nose (eNose) collection for non-invasive disease screening via exhaled breath analysis. It comprises **1,234 patients** across **eight diagnostic groups** (healthy controls and seven diseases), each providing a **17-channel multivariate time series** of breath measurements.
| Property | Value |
|----------|-------|
| **Patients** | 1,234 |
| **Diagnostic groups** | 9 (healthy + 8 diseases) |
| **Time series channels** | 17 (eNose sensors) + auxiliary sensors |
| **Sampling rate** | 0.4 Hz |
| **Duration per sample** | 895 seconds (~15 minutes) |
| **Collection period** | 13 consecutive weeks |
| **Clinical sites** | 2 |
## Repository Structure
```
S-OH/
├── README.md # This file
├── LICENSE.txt # MIT License
├── metadata.csv # Patient metadata (demographics, diagnosis, site, week)
├── data/
│ ├── manifest.json # Index of all patient files
│ ├── Z00/ # Healthy controls
│ │ ├── patient_1.json
│ │ ├── patient_2.json
│ │ └── ...
│ ├── B18/ # Hepatitis B/C
│ │ ├── patient_10.json
│ │ └── ...
│ ├── K29/ # Gastritis and duodenitis
│ ├── K76/ # Non-alcoholic fatty liver disease
│ ├── E11/ # Diabetes mellitus type II
│ ├── N18/ # Chronic renal failure
│ ├── J44/ # COPD
│ ├── C34/ # Lung cancer
│ └── A15/ # Respiratory tuberculosis
└── scripts/
├── quick_start.py # Load metadata and patient JSONs
├── validate_metadata.py # Metadata check
├── validate_temporal_splits.py # Temporal splits check
├── baseline_lstm_lung_cancer.py # Example: ML/AI Use Case (LSTM baseline for C34)
├── baseline_cnn_z00.py # Temporal splits check
└── baseline_resnet18_z00.py # Example: ML/AI Use Case (LSTM baseline for C34)
```
## Dataset Structure
### `metadata.csv`
CSV file containing patient metadata with the following columns:
| Column | Description |
|--------|-------------|
| `Patient_id` | Unique patient identifier |
| `Patient_age` | Age in years |
| `Patient_gender` | Gender (0 = female, 1 = male) |
| `Diagnosis` | ICD-10 diagnosis code |
| `D_class` | Disease class (0–7) |
| `D_bin_class` | Binary class for one-vs-rest classification |
| `Datetime` | Collection timestamp |
| `Week` | Collection week (1–13) |
| `Site` | Clinical site (SiteA or CiteB) |
### `data/` - Per-Patient JSON Files
Each patient is stored as a separate JSON file in a subdirectory named after their ICD-10 diagnosis code. The file name format is `patient_{Patient_id}.json`. Example path: `data/Z00/patient_1.json`.
Each patient JSON file has the following structure:
```json
{
"patient_id": 1,
"patient_diag_class": 0,
"startDateTime": "2025-09-01T08:05:47.676148Z",
"startTimeGases": 20,
"endTimeGases": 450,
"durationSec": 895,
"sensors": [
{
"id": "enose",
"sampleRate": 0.4,
"channels": [
{"id": "R1", "samples": [float, ...]},
{"id": "R2", "samples": [float, ...]},
...
{"id": "R17", "samples": [float, ...]},
{"id": "humidity", "samples": [float, ...]},
{"id": "temperature", "samples": [float, ...]}
]
},
{
"id": "ze03",
"sampleRate": 0.4,
"channels": [{"id": "0", "samples": [float, ...]}]
},
{
"id": "mhz14",
"sampleRate": 0.4,
"channels": [{"id": "0", "samples": [float, ...]}]
},
{
"id": "ze08",
"sampleRate": 0.4,
"channels": [{"id": "0", "samples": [float, ...]}]
},
{
"id": "bme280",
"sampleRate": 0.4,
"channels": [
{"id": "pressure", "samples": [float, ...]},
{"id": "temperature", "samples": [float, ...]},
{"id": "humidity", "samples": [float, ...]}
]
}
]
}
```
### `data/manifest.json`
Index file mapping patient IDs to their JSON file paths:
```json
{
"total_patients": 1234,
"files": [
{"patient_id": 1, "diagnosis": "Z00", "file": "Z00/patient_1.json"},
{"patient_id": 2, "diagnosis": "Z00", "file": "Z00/patient_2.json"},
...
]
}
```
### `scripts/`
Utility scripts for loading and processing the dataset.
## eNose Channels (17 channels)
The eNose sensor array consists of 17 channels printed on a single chip:
| Channel ID | Material |
|-------------|-----------|
| R1–R17 | ZnO and metal-doped ZnO (In-ZnO, Ag-ZnO, Ce-ZnO, Ni-ZnO) |
## Auxiliary Sensors
| Sensor ID | Measurements |
|-------------|-----------|
| ze03 | Ozone (O₃) |
| mhz14 | Carbon dioxide (CO₂) |
| ze08 | Carbon monoxide (CO) |
| bme280 | Pressure, temperature, humidity |
## Quick Start
``` python
import json
import pandas as pd
# 1. Load metadata
metadata = pd.read_csv('../metadata.csv')
# 2. Load patient data via manifest
with open('../data/manifest.json', 'r') as f:
manifest = json.load(f)
# 3. Load a specific patient
patient_id, icd = '1', 'Z00'
entry = next(e for e in manifest['files'] if e['patient_id'] == patient_id)
with open(f"../data/{icd}/{entry['file']}", 'r') as f:
patient_data = json.load(f)
# 4. Extract eNose signals
for sensor in patient_data['sensors']:
if sensor['id'] == 'enose':
for channel in sensor['channels']:
print(f"{channel['id']}: {len(channel['samples'])} samples")
```
## Temporal Train/Test Splits
The dataset includes explicit temporal splits to enable drift-aware evaluation. For each disease, test weeks were selected to be temporally separated from training weeks, simulating real-world deployment conditions.
## Ethics
- The study protocol was approved by the Local Ethics Committee at Anonymized Clinical Institute (SiteA) and Anonymized Research Institute (SiteB).
- All participants provided written informed consent.
## Citation
If you use this dataset in your research, please cite:
``` bibtex
@article{soh2026,
title = {Scent of Health (S-OH): Olfactory Multivariate Time Series Dataset for Non-Invasive Disease Screening},
author = {Anonymized and ...},
journal = {MICCAI Open Data},
year = {2026}
}
```
## License
This dataset is released under the **MIT License**. See `LICENSE.txt` for full terms. You are free to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the dataset, subject to the condition that the copyright notice and permission notice are included in all copies or substantial portions.
## Contact
For questions or issues, please open an issue on this repository or contact the corresponding author (see paper for details). |