Ransaka Ravihara
  • Writing
  • Projects
  • GitHub
  • LinkedIn
  • Contact
Powered by

Tag: smote

See all tags.

Writing • Data Science & ML
Use SMOTE with Caution

If you are a machine learning practitioner, you may face class imbalance problems more often. Class imbalance happens when there is a different class distribution in the dataset. Let's take an example. Assume we are working on a churn problem. In this specific scenario, our minor and majority classes are customer churn, and the customer stays with the current service provider. But if you explore this problem more, you will notice fewer customers for the churn category because customer churn is an infrequent event that is good for business but not for the model. As a result, if we feed this dataset into the model, it will learn the majority pattern (non-churn scenario) more accurately than the minor scenario. This is where our problem begins.

© Copyright 2026 Ransaka Ravihara. All rights reserved.