mandrakedrink / ECG-Synthesis-and-Classification

1D GAN for ECG Synthesis and 3 models: CNN, LSTM, and Attention mechanism for ECG Classification.
106 stars 15 forks source link

ECG real and synthetic #3

Open jacquelineali opened 2 years ago

jacquelineali commented 2 years ago

Hi. I'd like to ask how did you present each of the class real signal and its counterpart synthetic signal? Can I ask for a code? Thank you.

mandrakedrink commented 2 years ago

Hello. Here is the code for generating synthetic data, but this is a fairly simple fully connected NNetwork, you can experiment by adding convolutional layers to the NNetwork architecture, or lstm layers or both of them.