Focal Loss
class liqfit.losses.FocalLoss
Parameters:
ignore_index (int): Index that will be ignored while calculating the loss.
alpha (float, optional): Weighting factor between 0 and 1. (Defaults to 0.5).
gamma (float, optional): Focusing parameter gamma >= 0. (Defaults to 2.0).
reduction (str): Reduction method.
Using Focal Loss
Last updated