Solution: Undersampling

Learn how to solve the exercise posed in the previous lesson.

We'll cover the following...

Let’s get more familiar with the NearMiss undersampling strategy by practice.

Task

Here, we deal with severely imbalanced training data for a binary classification problem. By default, NearMiss will balance out the training data so that we have (roughly) a 1:1 ratio of classes. We want you to apply a slightly different ...