Thank you! so you idea is viewing the threshold of distance as hyperparamters and through plotting the ROC  curve to find a best threshold?  i read the original siamese paper , it doesn’t mention the method of getting label , so is it the most popular method in siamese network?