Losses and objectives · MLD-1271
Triplet loss
A loss encouraging an anchor to be closer to a positive example than to a negative one.
Original reference page · detailed expansion pending. Original definitions, examples, notes and citations are preserved below. New examples are illustrative, not benchmark results.
Original example
Learn identity or retrieval embeddings.
Original caveat
Poor triplet selection can make learning ineffective.
Context and aliases
Level: Intermediate. Stages: Theory · Training · Evaluation.
Tags: ML · DL · SLM · LLM.
Aliases: None recorded.
Related concepts
Concepts linking here
Original references
- Deep Learning: online textbook ↗ · Consulted
- scikit-learn: evaluation metrics ↗ · Reference link
- PyTorch neural-network layers ↗ · Reference link
- Original reference URL ↗