We can't find the internet
Attempting to reconnect
Something went wrong!
Attempting to reconnect
← All tracks
0 / 4
Loss Functions
PyTorchThe training objectives that shape every model — regression, classification, distribution-matching, and contrastive.
0
/ 8 solved
- 1. Not solved yet. Implement Mean Squared Error
- 2. Not solved yet. Implement Binary Cross-Entropy Loss
- 3. Not solved yet. Implement Cross-Entropy Loss
- 4. Not solved yet. Implement KL Divergence
- 5. Not solved yet. Label Smoothing
- 6. Not solved yet. Focal Loss
- 7. Not solved yet. Triplet Loss
- 8. Not solved yet. Contrastive Loss (InfoNCE)
Check yourself
4 questions · one attempt eachThese do not count toward finishing the track. They are here to catch the things that are easy to read past.
Focal loss multiplies cross-entropy by (1 - p_t) ** gamma. What does that achieve?
loss = -(1 - p_t) ** gamma * log(p_t)
Question 1 of 4