How does Borderline-SMOTE determine which minority samples to generate synthetic examples from?

Last updated 15 November 2026

  • For each minority sample, count how many of its m nearest neighbors (from both classes) are majority.

  • All-majority neighbors means noise (skipped). Fewer than half majority means safe (skipped). Half or more but not all means danger (used as a seed).

  • Synthetic points are interpolated only from danger points toward minority neighbors (Borderline-1), or also toward majority neighbors with a gap in [0, 0.5] (Borderline-2).

  • https://www.geeksforgeeks.org/machine-learning/smote-for-imbalanced-classification-with-python/
  • https://www.youtube.com/watch?v=vQDy6EnhyL8
  • https://imbalanced-learn.org/stable/references/generated/imblearn.over_sampling.BorderlineSMOTE.html
All Imbalanced Datasets interview questions