Title: Logistic discriminant analysis with applications in electrocardiography