12 Lead ECG diagnosis project. (I am stuck and I do not know how to finish it)
The code: https://paste.pythondiscord.com/2VYQ
This is my university project. The objective is to use this dataset and build a model that can predict heart diseases.
Dataset: A large dataset of ECG recordings in .mat files.
Preprocessing: I have done some preprocessing. Baseline correction, artifact removal, High-pass filtering, Low-pass filtering, Bandpass filtering.
I've implemented a peak detection algorithm based on the Pan-Tompkins method to detect R peaks in the ECG signal. The peak detection algorithm involves bandpass filtering, derivative calculation, squaring, moving-window integration, and peak detection based on fiducial marks.
I do not know what to do next. It is just my bachelor's degree and I am no expert. The signal processing is hard and the code is hard. I feel very frustrated because I am doing it on my own and I only have 8 days left until the presentation.
If anyone has any experience in such projects, please give me some guidance. Thank you!