Beyond Cross-Entropy: Mastering Focal Loss for Extreme Class Imbalance

If you are training a neural network for classification, chances are you are using Cross-Entropy Loss (CEL). It is the undisputed gold…