Update README.md
Browse files
README.md
CHANGED
|
@@ -4,7 +4,29 @@ tags:
|
|
| 4 |
- pytorch_model_hub_mixin
|
| 5 |
---
|
| 6 |
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
- pytorch_model_hub_mixin
|
| 5 |
---
|
| 6 |
|
| 7 |
+
### Model Overview
|
| 8 |
+
This model is designed for **Atrial Fibrillation (AFib) detection** and **signal quality assessment** from Photoplethysmography (PPG) waveforms.
|
| 9 |
+
|
| 10 |
+
### Input Specifications
|
| 11 |
+
* **Signal Type:** PPG
|
| 12 |
+
* **Sampling Rate:** 32 Hz
|
| 13 |
+
* **Input Shape:** `(batch_size, 1, 800)`
|
| 14 |
+
|
| 15 |
+
### Required Preprocessing
|
| 16 |
+
To ensure optimal performance, input signals must be preprocessed using the following pipeline:
|
| 17 |
+
1. **Bandpass Filter:** 0.3–7 Hz (2nd-order Butterworth, zero-phase).
|
| 18 |
+
2. **Normalization:** Min-max normalization to scale the signal between [0, 1].
|
| 19 |
+
|
| 20 |
+
### Model Outputs
|
| 21 |
+
The model provides three primary outputs:
|
| 22 |
+
|
| 23 |
+
| Output | Description |
|
| 24 |
+
| :--- | :--- |
|
| 25 |
+
| `afib_prob` | **Raw Probabilities:** |
|
| 26 |
+
| `afib_pred` | **Classification:** Binary prediction (1: Atrial Fibrillation, 0: Normal Sinus Rhythm). **Thresholds have been calibrated based on quality assessment to optimize detection sensitivity and specificity.** |
|
| 27 |
+
| `qa_pred` | **Quality Assessment:** Signal reliability score (2: Good, 1: Acceptable, 0: Poor). |
|
| 28 |
+
|
| 29 |
+
---
|
| 30 |
+
This model has been pushed to the Hub using the [PytorchModelHubMixin](https://huggingface.co/docs/huggingface_hub/package_reference/mixins#huggingface_hub.PyTorchModelHubMixin) integration
|
| 31 |
+
|
| 32 |
+
---
|