Inductive transfer learning from regression to classification in ECG analysis