All tagged loss functions

What does Focal Loss Mean for Training Neural Networks

If you’re training a model on image data (or any data) with highly imbalanced classes, this could be a credit card fraud, online conversion rates, or factory production defects, you can use focal loss with your cross entropy loss to train your model to the hard negative examples instead of overlooking that class and getting an arbitrarily high accuracy.