Automated multilabel diagnosis on electrocardiographic images and signals