Downloads · 30 days
0
ahczhg/ecg-noise-handling-nonuniformmix-vs-contrastive
ecg-noise-handling-nonuniformmix-vs-contrastive is a machine learning model from ahczhg. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This repository contains an implementation and comparison of two Vision Mamba-based architectures for cardiac abnormality classification from 12-lead ECG signals, with a focus on Noise Handling Comparison.
Downloads · 30 days
0
Access
Public
Updated Nov 25, 2025
Repo size
—
Likes
1
Public
Click a slice to open those files.
.ipynb3.2 MB · 100%
From the Hugging Face model README
This repository contains an implementation and comparison of two Vision Mamba-based architectures for cardiac abnormality classification from 12-lead ECG signals, with a focus on Noise Handling Comparison.
This project compares two approaches with emphasis on noise handling techniques:
A key contribution of this work is the comparison of different noise handling and data augmentation strategies:
The notebook provides detailed analysis and comparative results demonstrating the effectiveness of each approach under various noise conditions.
This implementation is based on:
ECG-Mamba: Cardiac Abnormality Classification With Non-Uniform-Mix Augmentation on 12-Lead ECGs IEEE Journal of Translational Engineering in Health and Medicine (IEEE JTEHM), 2025
The models are trained and evaluated on the PTB-XL dataset from PhysioNet:
Goldberger, A., Amaral, L., Glass, L., Hausdorff, J., Ivanov, P. C., Mark, R., ... & Stanley, H. E. (2000).
PhysioBank, PhysioToolkit, and PhysioNet: Components of a new research resource for complex physiologic signals.
Circulation [Online]. 101 (23), pp. e215–e220.
torch
numpy
pandas
wfdb
mamba-ssm
scikit-learn
matplotlib
seaborn
tqdm
pip install torch numpy pandas wfdb mamba-ssm scikit-learn matplotlib seaborn tqdm
The main notebook ECG_Mamba_Improved_Comparison.ipynb contains:
ECG_Mamba_Improved_Comparison.ipynbThe notebook includes comprehensive comparisons including:
.
├── ECG_Mamba_Improved_Comparison.ipynb # Main implementation notebook
├── README.md # This file
└── LICENSE # License information
This is a research project. For questions or collaborations, please open an issue.
See LICENSE file for details.
If you use this code in your research, please cite:
@article{ecg-mamba-2025,
title={ECG-Mamba: Cardiac Abnormality Classification With Non-Uniform-Mix Augmentation on 12-Lead ECGs},
journal={IEEE Journal of Translational Engineering in Health and Medicine},
year={2025},
volume={TBD},
pages={TBD}
}