hard20 pts · first answer countsdeep-learningloss-functionsembeddings
Triplet loss for one example
Triplet loss is max(0, d(a, p) − d(a, n) + margin). With d(a, p) = 0.3, d(a, n) = 0.5 and margin = 0.4, what is the loss?
Discussion 0
Join free to post in the discussion.
Related questions
- Cosine similarity by handMachine Learning Engineer
- What text embeddings captureMachine Learning Engineer
- Expected starting loss, 10 classesMachine Learning Engineer
- Parameters in nn.Linear(10, 5)Machine Learning Engineer
- Why sigmoid slows deep trainingMachine Learning Engineer
- Range of tanhMachine Learning Engineer
- Cross-entropy loss by handMachine Learning Engineer
- Telling autograd to track a tensorMachine Learning Engineer