Overview
- Get familiar with class imbalance
- Understand various techniques to treat imbalanced classes such as-
- Random under-sampling
- Random over-sampling
- NearMiss
Introduction
When observation in one class is higher than the observation in other classes then there exists a class imbalance. Example: To detect fraudulent credit card transactions. As you can see in the below graph fraudulent transaction is around 400 when compared with non-fraudulent transaction around 90000.