CoolFace
Datasetpublic

Emulated-Inc/ecg-age

ecg-age Twelve lead resting electrocardiograms with the age of the person they were recorded from, drawn from PTB-XL and repackaged one record per file. Every record is ten seconds at 500 Hz. Each .npz holds exactly three arrays and nothing else: signal, float32 of shape (12, 5000), the lead voltages in millivolts fs, int64, the sampling rate, always 500 lead_names, the twelve leads in order: I, II, III, aVR, aVL, aVF, V1, V2, V3, V4, V5, V6 No other field of the source… See the full description on the dataset page: https://huggingface.co/datasets/Emulated-Inc/ecg-age.

sourceHugging Facecc-by-4.0updated 13d agoView on Hugging Face
0likes97downloads
Dataset Card

ecg-age

Twelve lead resting electrocardiograms with the age of the person they were recorded from, drawn from PTB-XL and repackaged one record per file.

Every record is ten seconds at 500 Hz. Each .npz holds exactly three arrays and nothing else:

  • signal, float32 of shape (12, 5000), the lead voltages in millivolts
  • fs, int64, the sampling rate, always 500
  • lead_names, the twelve leads in order: I, II, III, aVR, aVL, aVF, V1, V2, V3, V4, V5, V6

No other field of the source database travels with the signals. There is no sex, no diagnostic statement, no device, no recording date and no PTB-XL identifier in any file.

Layout

data/heldout/rec-0000.npz .. rec-2009.npz   2010 records, ages withheld
data/train/train-0000.npz .. train-5999.npz 6000 records
data/train/ages.csv                         id,age in whole years for data/train only

Ages are withheld for `data/heldout`. No age file is published for that folder, here or anywhere else. The 2010 held out records are drawn with a flat age distribution, 134 records in each five year band from 18 to 89, so the young are as numerous as the old. The 6000 training records keep the natural age distribution of the source database. One record per person throughout, and no person appears in both folders.

Source and licence

Derived from PTB-XL version 1.0.3, a clinical twelve lead ECG database of 21799 records from 18869 patients, released on PhysioNet under Creative Commons Attribution 4.0. This repackaging is released under the same licence. Records were taken from the 500 Hz records500 signals, one record per patient, restricted to ages 18 to 89.

Please cite all three of the following, as PTB-XL asks.

Wagner P, Strodthoff N, Bousseljot RD, Kreiseler D, Lunze FI, Samek W, Schaeffter T. PTB-XL, a large publicly available electrocardiography dataset. Scientific Data 7:154 (2020). https://doi.org/10.1038/s41597-020-0495-6

Goldberger AL, Amaral LAN, Glass L, Hausdorff JM, Ivanov PC, Mark RG, Mietus JE, Moody GB, Peng CK, Stanley HE. PhysioBank, PhysioToolkit, and PhysioNet: Components of a New Research Resource for Complex Physiologic Signals. Circulation 101(23):e215-e220 (2000).

Wagner P, Strodthoff N, Bousseljot RD, Samek W, Schaeffter T. PTB-XL, a large publicly available electrocardiography dataset (version 1.0.3). PhysioNet (2022). https://doi.org/10.13026/kfzx-aw45