Learning similarities between biomedical signals with Deep Siamese Network