Using neural networks on ECG data to see if it is a valid candidate for biometric authentication.
Make sure you have the following items installed:
- python2.7
- wfdb package using
pip install wfdb
- keras
- pandas
- numpy
-
python data_processing.py
: Converts all .dat files indata/
to .csv. Extract labels and features from individual .csv files. Outputs the following files in theprocessed_data/
folder:labels.csv
: labels [person_id, recording_label, signal_id, age, gender, date record was collected]rec_##.csv
: filtered ecg signals & unfiltered ecg signals [noisy]
-
python model_personid.py
: Train and evaluate model for person identification. See line 370 indata_processing.py
on specific instructions for data setup.
This project uses the ECG-ID Database from
Physionet. It can be found
in the data/
folder. [Note: the original database does not include .csv files.
See class Generate_csv
in data_processing.py
to learn more about how the .dat files were converted to
csv using rdsamp]