IntroductionMost real-world classification problems display some level of class imbalance, which is when each class does not make up an equal portion of your data-set. It is important to properly adjust your metrics and methods to adjust for your goals. If this is not done, you may end up optimizing for a meaningless metric in the context of your use case.
![Dealing with Imbalanced Classes in Machine Learning](https://cdn-ak-scissors.b.st-hatena.com/image/square/8abf38726a2046d5f1ac0cb4904afc92508c216e/height=288;version=1;width=512/https%3A%2F%2Fmiro.medium.com%2Fv2%2Fresize%3Afit%3A1200%2F1%2AH01epkhNcsWjxDtyXZuq6g.jpeg)