ECG Latent Feature Extraction with Autoencoders for Downstream Prediction Tasks