kiril-buga commited on
Commit
2e053e2
·
verified ·
1 Parent(s): 154a481

Add model card

Browse files
Files changed (1) hide show
  1. README.md +80 -5
README.md CHANGED
@@ -1,8 +1,83 @@
1
  ---
2
- license: apache-2.0
3
- datasets:
4
- - Neural-Network-Project/ECG-database
5
- pipeline_tag: text-classification
6
  tags:
 
 
7
  - medical
8
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ language: en
 
 
 
3
  tags:
4
+ - ecg
5
+ - cardiology
6
  - medical
7
+ - pediatric
8
+ - time-series
9
+ - multi-label-classification
10
+ - tensorflow
11
+ - cnn
12
+ datasets:
13
+ - Neural-Network-Project/ECG-database
14
+ metrics:
15
+ - f1
16
+ - auc
17
+ - precision
18
+ - recall
19
+ library_name: tensorflow
20
+ ---
21
+
22
+ # ECG Disease Classifier - 19 Cardiac Conditions
23
+
24
+ Multi-label classification model for detecting 19 cardiac conditions from pediatric ECG signals.
25
+
26
+ ## Model Description
27
+
28
+ Enhanced 1D CNN with Squeeze-Excitation blocks and temporal attention for variable-length ECG classification.
29
+
30
+ **Architecture:** 64→128→256→512 filters with residual connections
31
+ **Training:** Focal loss for class imbalance
32
+ **Input:** Variable-length 12-lead ECG (5-120 seconds at 500 Hz)
33
+
34
+ ## Disease Classes
35
+
36
+ 1. Fulminant/Viral Myocarditis
37
+ 2. Acute Myocarditis
38
+ 3. Myocarditis Unspecified
39
+ 4. Dilated Cardiomyopathy
40
+ 5. Hypertrophic Cardiomyopathy
41
+ 6. Cardiomyopathy Unspecified
42
+ 7. Noncompaction Ventricular Myocardium
43
+ 8. Kawasaki Disease
44
+ 9. Ventricular Septal Defect
45
+ 10. Atrial Septal Defect
46
+ 11. Atrioventricular Septal Defect
47
+ 12. Tetralogy of Fallot
48
+ 13. Pulmonary Valve Stenosis
49
+ 14. Patent Ductus Arteriosus
50
+ 15. Pulmonary Artery Stenosis
51
+ 16. Pulmonary Valve Regurgitation
52
+ 17. Mitral Valve Insufficiency
53
+ 18. Congenital Heart Malformation
54
+ 19. Healthy
55
+
56
+ ## Performance
57
+
58
+ - F1-Score (Macro): 0.0127
59
+ - F1-Score (Micro): 0.0849
60
+ - Subset Accuracy: 0.0559
61
+
62
+ ## Intended Use
63
+
64
+ ⚠️ **Research and educational purposes only** - NOT for clinical diagnosis
65
+
66
+ ## Training Details
67
+
68
+ - Batch Size: 128
69
+ - Epochs: 17
70
+ - Loss: Focal Loss (α=0.25, γ=2.0)
71
+ - Optimizer: Adam (lr=0.0002)
72
+
73
+ ## Citation
74
+
75
+ ```bibtex
76
+ @misc{ecg-classifier-2025,
77
+ author = {Neural-Network-Project},
78
+ title = {ECG Disease Classifier},
79
+ year = {2025},
80
+ publisher = {Hugging Face},
81
+ url = {https://huggingface.co/Neural-Network-Project/ECG-Disease-Classifier}
82
+ }
83
+ ```