Question 4
Identify the true statement regarding different loss functions:
The objective of ranking loss is to predict relative distances between inputs.
The contrastive loss takes an anchor example and brings negative examples closer while pushing away positive examples.
The triplet loss always uses a non-negative margin to compare distances of sample representations.
The hinge loss only considers pairwise examples at a time.