license:cc-by-4.0 region:us
---
license: cc-by-4.0
---

# ECG Dataset

This repository contains an small version of the ECG dataset: https://huggingface.co/datasets/deepsynthbody/deepfake_ecg, split into training, validation, and test sets. The dataset is provided as CSV files and corresponding ECG data files in .asc format. The ECG data files are organized into separate folders for the train, validation, and test sets.

## Folder Structure

```python
.
├── train.csv
├── validate.csv
├── test.csv
├── train
│ ├── file_1.asc
│ ├── file_2.asc
│ └── ...
├── validation
│ ├── file_1.asc
│ ├── file_2.asc
│ └── ...
└── test
├── file_1.asc
├── file_2.asc
└── ...
```


- `train.csv`: Contains 10,000 records with metadata and the corresponding ECG file names for the training set.
- `validate.csv`: Contains 2,500 records with metadata and the corresponding ECG file names for the validation set.
- `test.csv`: Contains 2,500 records with metadata and the corresponding ECG file names for the test set.
- `train`, `validation`, `test` folders: Contain the corresponding ECG data files (.asc) for the records in the train.csv, validate.csv, and test.csv files, respectively.





