Skip to content
heartKIT
User guide
HELIA

Large Scale Arrhythmia Database (LSAD)

The large scale arrhythmia database (LSAD) is a large-scale, multi-center, multi-lead, and multi-class ECG dataset for arrhythmia detection. The dataset contains ECG recordings from 45,152 patients. The dataset is collected from 3 different centers: Shaoxing People’s Hospital, the Second Affiliated Hospital of Zhejiang University, and the First Affiliated Hospital of Zhejiang University. The dataset contains 11 different arrhythmia classes and 1 normal class. The dataset is collected from 12-lead ECGs and is annotated by a team of expert cardiologists. The dataset includes over 100 scp codes.

Please visit Physionet for more details.

Python

Python example
from pathlib import Path
import helia_edge as helia
import heartkit as hk
ds = hk.DatasetFactory.get('lsad')(
path=Path("./datasets/lsad")
)
# Download dataset
ds.download(force=False)
# Create signal generator
data_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 sample
ecg = next(data_gen)
Acronym NameFull NameFrequency, n(%)Age, Mean ± SDMale,n(%)
SBSinus Bradycardia15,528 (38.6)58.4 ± 14.029844 (63.4%)
SRSinus Rhythm7,291 (18.1)54.38 ± 16.174107 (56.33%)
AFIBAtrial Fibrillation7,028 (17.5)73.07 ± 11.274051 (57.64%)
STSinus Tachycardia6,208 (15.4)54.24 ± 21.413208 (51.68%)
AFLAtrial Flutter1,725 (4.3)71.57 ± 13.231001 (58.03%)
SISinus Irregularity1,773 (4.4)37.3 ± 22.98979 (55.22%)
SVTSupraventricular Tachycardia542 (1.3)55.44 ± 18.41289 (53.32%)
ATAtrial Tachycardia133 (0.3)65.92 ± 18.769 (51.88%)
AVNRTAtrioventricular Node Reentrant Tachycardia16 (0.03)57.88 ± 17.3412 (75%)
AVRTAtrioventricular Reentrant Tachycardia7 (0.01)56.43 ± 17.895 (71.43%)
WAPWandering Atrial Pacemaker7 (0.01)51.14 ± 31.836 (85.71%)

This dataset received funding from the Kay Family Foundation Data Analytic Grant. This dataset received funding from 2018 Shaoxing Medical and Hygiene Research Grant, ID 2018C30070.

The dataset is available under Creative Commons Attribution 4.0 International Public License