How does focal loss modify standard cross-entropy to handle extreme class imbalance?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: medium
Interview Round: Other
Overview: Asks how focal loss changes cross-entropy so a model can learn from rare positives buried among many easy negatives. Tests your grasp of the loss formula, the focusing and class-weight parameters, and the practical side effects of training with it.