0Pricing
Data Science Academy · Lesson

Resampling: SMOTE and Undersampling

Rebalancing the training set.

Rebalance the Training Set

One way to help a model see the rare class is to resample: change how many examples of each class it trains on.

Two Directions to Balance

You can add more of the minority (oversample) or trim the majority (undersample). Both aim to even out the class counts.

All lessons in this course

  1. Why Accuracy Lies on Imbalance
  2. Resampling: SMOTE and Undersampling
  3. Class Weights and Thresholds
  4. Pick Metrics for Rare Events
← Back to Data Science Academy