- In general, there are two strategies: re-sampling and cost-sensitive re-weighting
- In re-sampling, the number of examples is directly adjusted by over-sampling
- In cost-sensitive re-weighting, we influence the loss function by assigning relatively higher costs to examples from minor classes softmax cross-entropy, sigmoid cross-entropy and focal loss.
Code - Link
Keep Exploring!!!
No comments:
Post a Comment