Skip to content
heartKIT
Tasks
HELIA

Beat Classification Task

In beat classification, we classify individual beats as either normal or abnormal. Abnormal beats can be further classified as being either premature or escape beats as well as originating from the atria, junction, or ventricles. The objective of beat classification is to detect and classify these abnormal heart beats directly from ECG signals.


AtrialJunctionalVentricular
PrematurePAC
P-wave: Different
QRS: Narrow (normal)
Aberrated: LBBB or RBBB
PJC
P-wave: None / retrograde
QRS: Narrow (normal)
Compensatory SA Pause
PVC
P-wave: None
QRS: Wide (> 120 ms)
Compensatory SA Pause
EscapeAtrial EscapeP-wave: Abnormal
QRS: Narrow (normal)
Ventricular rate: < 60 bpm
Junctional Escape
P-wave: None
QRS: Narrow (normal)
Bradycardia (40-60 bpm)
Ventricular Escape

Dataloaders are available for the following datasets:


The following table provides the latest performance and accuracy results for pre-trained beat models. Additional result details can be found in Model Zoo → Beat.

NAMEDATASETFSDURATION# CLASSESMODELPARAMSFLOPSMETRIC
BC-2-EFF-SMIcentia11k100Hz5s2EfficientNetV228K1.8M97.7% F1
BC-3-EFF-SMIcentia11k100Hz5s3EfficientNetV241K2.1M92.0% F1

Below outlines the classes available for beat classification. When training a model, the number of classes, mapping, and names must be provided.

CLASSLABELS
0Normal
1PAC
2PVC
3Noise

Class Mapping

Below is an example of a class mapping for a 3-class beat model. The class map keys are the original class labels and the values are the new class labels. Any class not included will be skipped.

JSONC example
{
"num_classes": 3,
"class_names": ["QRS", "PAC", "PVC"],
"class_map": {
"0": 0, // Map Normal to QRS
"1": 1, // Map PAC to PAC
"2": 2, // Map PVC to PVC
}
}