If you like what you see here, please post this website on other sites. Message me directly on Twitter with any comments.
Approaches to Class Imbalance
In situations where there is class imbalance, it is helpful to look not only at accuracy, but to look at
- F1 scores
Deep learning approches to get better balancing include:
- Assigning weights when doing the fit
- Using focal_loss for the loss method