O'Reilly logo

Effective Amazon Machine Learning by Alexis Perrier

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Imbalanced datasets

Dealing with imbalanced datasets is a very common classification problem.

Consider a Binary classification problem. Your goal is to predict a positive versus a negative class. The ratio between the two classes is highly skewed in favor of the positive class. This situation is frequently encountered in the following instance:

  • In a medical context where the positive class corresponds to the presence of cancerous cells in people out of a large random population
  • In a marketing context where the positive class corresponds to prospects buying an insurance while the majority of people are not buying it

In both these cases, we want to detect the samples in the minority class, but they are overwhelmingly outnumbered by the samples ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required