What should and should not be done when facing an imbalanced classes problem?

An example of imbalanced data set

If you have been working on classification problems for some time, there is a very high chance that you already encountered data with imbalanced classes.

The name speaks for itself, imbalanced data set occurs when there is an unequal representation of classes


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. …

Shivam Chhetry

Writing about Data Science, AI, ML, DL, Python, SQL, Stats, Math | https://www.linkedin.com/in/shivamkc01/ | https://github.com/shivamkc01 | +919382129193

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store