The choice of loss function defines what your model optimizes. MSE, cross-entropy, hinge loss, and contrastive losses each encode different assumptions.
Categorical Cross-Entropy
~15 min· Medium
Huber Loss
Binary Cross-Entropy Loss
~12 min· Easy
KL Divergence
Softmax Cross-Entropy from Logits
~18 min· Medium
Sign in for the concept check
Optional multiple-choice questions on the ideas behind this section. Most useful after you have tried the coding problems above.