Train a deep learning model for ECG heartbeat classification using the AAMI 5-class standard and optimized 360Hz sampling.
• Sampling Rate: 360 Hz
• Beat Window: 135 samples (375ms)
• Input Shape: [135, 1] tensor for CNN
• Architecture: 4-layer 1D CNN, batch norm, dropout, global pooling, dense layers, softmax output
• Optimizer: Adam (lr=0.001)
• Training Data: 48 MIT-BIH records
• AAMI Classes: Normal, Supraventricular, Ventricular, Fusion, Other
• ~100,000+ labeled heartbeat examples
• Balanced dataset with equal AAMI class representation
• Z-score normalized 375ms beat windows
• 70/15/15% train/validation/test split
• Normal: N, L, R, e, j (sinus beats)
• Supraventricular: A, a, J, S (atrial)
• Ventricular: V, E, r (PVCs)
• Fusion: F (mixed beats)
• Other: Q, /, f, n (artifacts)
Note: This model uses 360Hz sampling and 135-sample windows, optimized for real-time ECG analysis and improved device generalization.