Upload README.md with huggingface_hub
Browse files123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657---tags:- ecg- multi-label-classification- medical- cardiologylibrary_name: tensorflow---
# ECG Multi-Label Classification Model
This model performs multi-label classification on ECG signals to detect:- Myocarditis- Cardiomyopathy- Kawasaki Disease- Congenital Heart Disease (CHD)- Healthy
## Model Architecture- 1D CNN with 4 convolutional blocks- Input: 12-lead ECG (5000 samples × 12 leads)- Output: 5 sigmoid outputs (multi-label)
## Training- Framework: TensorFlow/Keras- Optimizer: Adam- Loss: Binary Crossentropy- Dataset: Pediatric ECG database
## Usage
```pythonimport tensorflow as tffrom huggingface_hub import hf_hub_download
# Download modelmodel_path = hf_hub_download( repo_id="Neural-Network-Project/ECG-models", filename="checkpoint_final.keras")
# Load modelmodel = tf.keras.models.load_model(model_path)
# Predict (input shape: [batch_size, 5000, 12])predictions = model.predict(ecg_data)```
## Classes0. Myocarditis1. Cardiomyopathy2. Kawasaki Disease3. CHD4. Healthy
## CitationPlease cite this model if you use it in your research.README.mdAdded+57