PTB-XL Diagnostics Dataset
Overview
Section titled “Overview”This dataset consists of 21837 clinical 12-lead ECGs from 18885 patients. The ECGs were recorded at a sampling frequency of 500 Hz and a resolution of 16 bits per sample. The dataset includes 21837 ECGs, 21837 ECGs with diagnostic labels, and 21837 ECGs with rhythm labels. The diagnostic labels include 71 classes, and the rhythm labels include 9 classes.
Please visit Physionet for more details.
Python
from pathlib import Pathimport helia_edge as heliaimport heartkit as hk
ds = hk.DatasetFactory.get('ptbxl')( path=Path("./datasets/ptbxl"))
# Download datasetds.download(force=False)
# Create signal generatordata_gen = self.ds.signal_generator( patient_generator=helia.utils.uniform_id_generator(ds.patient_ids, repeat=True, shuffle=True), frame_size=256, samples_per_patient=5, target_rate=100,)
# Grab single ECG sampleecg = next(data_gen)Funding
Section titled “Funding”This work was supported by BMBF (01IS14013A), Berlin Big Data Center, Berlin Center for Machine Learning, and EMPIR project 18HLT07 MedalCare.
License
Section titled “License”This database is available under Creative Commons Attribution 4.0 International Public License