Class Imbalance in Machine Learning Problems: A Practical Guide

Five lessons from the trenches of applied data science

Samuel Flender
Towards Data Science
8 min readOct 3, 2022

--

Photo by Piret Ilver on Unsplash

Class imbalance, where one class is much more abundant than the other, is one of the most ubiquitous topics in data science literature. Searching for ‘class imbalance’ on Medium alone reveals numerous articles with titles such as:

--

--