Approaches to Class Imbalance

In situations where there is class imbalance, it is helpful to look not only at accuracy, but to look at

  • Precision
  • Recall
  • F1 scores

Deep learning approches to get better balancing include:

  • Assigning weights when doing the fit
  • Using focal_loss for the loss method