Machine Learning — Medium
Key points
- Class weighting adjusts loss contribution based on class frequency
- Helps the model focus on minority class examples
- Prevents bias towards majority class
- Does not involve duplicating minority class examples in the batch
Ready to go further?
Related questions
