Learning ECG signal features without backpropagation